-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config-api): data conversion, audit log and swagger enhancement (#…
…3588) * feat(config-api): interceptor code * feat(config-api): interceptor for request * feat(config-api): interceptor code wip * feat(config-api): interceptor code wip * feat(config-api): syns with main * feat(config-api): client creation claim enhancement * feat(config-api): client creation claim enhancement * fix: jans-linux-setup opPolicyUri and opTosUri (#3411) * feat(config-api): autit log enhancement * feat(config-api): interceptor code * feat(config-api): datatype conversion wip * feat(config-api): data conversion wip * feat(config-api): datatype conversion * feat(config-api): datatype conversion * feat(config-api): data conversion code * feat(config-api): data conversion code * feat(config-api): date conversion code * feat(config-api): date conversion code * feat(config-api): audit log enhancement * feat(config-api): request interceptor * feat(config-api): date data conversion * feat(config-api): swagger spec * feat(config-api): swagger update for param desc * feat(config-api): data conversion * feat(config-api): data conversion, audit log and swagger enhancement Co-authored-by: Devrim <devrimyatar@gluu.org>
- Loading branch information
1 parent
f3f9937
commit a87b75b
Showing
31 changed files
with
703 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...-api/common/src/main/java/io/jans/configapi/model/configuration/ConversionAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package io.jans.configapi.model.configuration; | ||
|
||
import java.util.Collection; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class ConversionAttributes { | ||
|
||
/** | ||
* Date attributes for conversion | ||
*/ | ||
private Collection<String> dateAttributes; | ||
|
||
/** | ||
* boolean attributes for conversion | ||
*/ | ||
private Collection<String> booleanAttributes; | ||
|
||
public Collection<String> getDateAttributes() { | ||
return dateAttributes; | ||
} | ||
|
||
public void setDateAttributes(Collection<String> dateAttributes) { | ||
this.dateAttributes = dateAttributes; | ||
} | ||
|
||
public Collection<String> getBooleanAttributes() { | ||
return booleanAttributes; | ||
} | ||
|
||
public void setBooleanAttributes(Collection<String> booleanAttributes) { | ||
this.booleanAttributes = booleanAttributes; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "ConversionAttributes [dateAttributes=" + dateAttributes + ", booleanAttributes=" + booleanAttributes | ||
+ "]"; | ||
} | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
.../common/src/main/java/io/jans/configapi/model/configuration/DataFormatConversionConf.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package io.jans.configapi.model.configuration; | ||
|
||
import java.util.Collection; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class DataFormatConversionConf { | ||
|
||
/** | ||
* Flag to enable and disable data conversion | ||
*/ | ||
private boolean enabled; | ||
|
||
/** | ||
* HTTP methods for which data conversion is to be disabled | ||
*/ | ||
private Collection<String> ignoreHttpMethod; | ||
|
||
public boolean isEnabled() { | ||
return enabled; | ||
} | ||
|
||
public void setEnabled(boolean enabled) { | ||
this.enabled = enabled; | ||
} | ||
|
||
public Collection<String> getIgnoreHttpMethod() { | ||
return ignoreHttpMethod; | ||
} | ||
|
||
public void setIgnoreHttpMethod(Collection<String> ignoreHttpMethod) { | ||
this.ignoreHttpMethod = ignoreHttpMethod; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "DataFormatConversionConf [enabled=" + enabled + ", ignoreHttpMethod=" + ignoreHttpMethod + "]"; | ||
} | ||
|
||
} |
Oops, something went wrong.