Skip to content

Commit

Permalink
feat(jans-config-api): added new attributes (#1940)
Browse files Browse the repository at this point in the history
* bug(jans-config-api): fixed swagger format issue

* fix(jans-config-api): fixed due to couchbase clustter change

* feat(jans-config-api): new endpoint to get UmaResource based on associatedClient

* fix(jans-config-api): swagger spec fix for client attributes

* fix(jans-config-api): reverted the local test properties

* test(jans-config-api): commented test case

* feat(jans-config-api): scim config endpoint enhancment

* feat(jans-config-api): swagger and DTO change for new fields for scim config endpoint

* feat(jans-config-api): swagger and DTO change for new fields for scim config endpoint
  • Loading branch information
pujavs authored Jul 29, 2022
1 parent 0e73306 commit 757b22f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
7 changes: 7 additions & 0 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7001,6 +7001,13 @@ components:
useLocalCache:
type: boolean
description: Boolean value specifying whether to enable local in-memory cache.
bulkMaxOperations:
type: integer
description: Specifies maximum bulk operations.
bulkMaxPayloadSize:
type: integer
format: int64
description: Specifies maximum payload size of bulk operations.

Organization:
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ public class ScimAppConfiguration implements Configuration, Serializable {
private Boolean disableJdkLogger = true;
private Boolean useLocalCache = false;

@JsonProperty("bulkMaxOperations")
@AttributeName(name = "bulkMaxOperations")
private int bulkMaxOperations;

@JsonProperty("bulkMaxPayloadSize")
@AttributeName(name = "bulkMaxPayloadSize")
private long bulkMaxPayloadSize;

public String getBaseDn() {
return baseDn;
}
Expand Down Expand Up @@ -195,6 +203,22 @@ public Boolean getUseLocalCache() {
public void setUseLocalCache(Boolean useLocalCache) {
this.useLocalCache = useLocalCache;
}

public int getBulkMaxOperations() {
return bulkMaxOperations;
}

public void setBulkMaxOperations(int bulkMaxOperations) {
this.bulkMaxOperations = bulkMaxOperations;
}

public long getBulkMaxPayloadSize() {
return bulkMaxPayloadSize;
}

public void setBulkMaxPayloadSize(long bulkMaxPayloadSize) {
this.bulkMaxPayloadSize = bulkMaxPayloadSize;
}

@Override
public String toString() {
Expand All @@ -205,7 +229,7 @@ public String toString() {
+ externalLoggerConfig + ", metricReportInterval=" + metricReportInterval
+ ", metricReportKeepDataDays=" + metricReportKeepDataDays + ", metricReportEnabled="
+ metricReportEnabled + ", disableJdkLogger=" + disableJdkLogger + ", useLocalCache=" + useLocalCache
+ "]";
+ ", bulkMaxOperations=" + bulkMaxOperations + ", bulkMaxPayloadSize=" + bulkMaxPayloadSize + "]";
}

}

0 comments on commit 757b22f

Please sign in to comment.