diff --git a/open-banking-accelerator/components/account-metadata/com.wso2.openbanking.accelerator.account.metadata.service/pom.xml b/open-banking-accelerator/components/account-metadata/com.wso2.openbanking.accelerator.account.metadata.service/pom.xml
index 03bceb87..2e74f29c 100644
--- a/open-banking-accelerator/components/account-metadata/com.wso2.openbanking.accelerator.account.metadata.service/pom.xml
+++ b/open-banking-accelerator/components/account-metadata/com.wso2.openbanking.accelerator.account.metadata.service/pom.xml
@@ -19,7 +19,7 @@
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../../pom.xml
4.0.0
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/pom.xml
index ae4ed2c1..eb689092 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/pom.xml
@@ -17,15 +17,13 @@
~ under the License.
-->
-
+
4.0.0
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/caching/OpenBankingBaseCache.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/caching/OpenBankingBaseCache.java
index 37c485a2..1c41b245 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/caching/OpenBankingBaseCache.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/caching/OpenBankingBaseCache.java
@@ -33,8 +33,8 @@
/**
* Abstract cache manager for Open Banking.
*
- * @param
- * @param
+ * @param Extended Cache Key
+ * @param Cache Value
*/
public abstract class OpenBankingBaseCache {
@@ -54,7 +54,7 @@ public interface OnDemandRetriever {
/**
* Initialize With unique cache name.
*
- * @param cacheName
+ * @param cacheName unique cache name.
*/
public OpenBankingBaseCache(String cacheName) {
@@ -68,10 +68,10 @@ public OpenBankingBaseCache(String cacheName) {
/**
* Get from cache or invoke ondemand retriever and store.
*
- * @param key
- * @param onDemandRetriever
- * @return
- * @throws OpenBankingException
+ * @param key cache key.
+ * @param onDemandRetriever on demand retriever.
+ * @return cached object.
+ * @throws OpenBankingException if an error occurs while retrieving the object
*/
public V getFromCacheOrRetrieve(K key, OnDemandRetriever onDemandRetriever) throws OpenBankingException {
@@ -132,8 +132,8 @@ public V getFromCache(K key) {
/**
* Add Object to cache.
*
- * @param key
- * @param value
+ * @param key cache key.
+ * @param value cache value.
*/
public void addToCache(K key, V value) {
@@ -149,7 +149,7 @@ public void addToCache(K key, V value) {
/**
* Remove Object from Cache.
*
- * @param key
+ * @param key cache key.
*/
public void removeFromCache(K key) {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/config/OpenBankingConfigParser.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/config/OpenBankingConfigParser.java
index c3df4d3b..d9c77296 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/config/OpenBankingConfigParser.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/config/OpenBankingConfigParser.java
@@ -112,7 +112,7 @@ public static OpenBankingConfigParser getInstance() {
*
* @param filePath Custom file path
* @return OpenBankingConfigParser object
- * @Deprecated use OpenBankingConfigParser.getInstance()
+ * @Deprecated use OpenBankingConfigParser.getInstance()
*/
@Deprecated
public static OpenBankingConfigParser getInstance(String filePath) {
@@ -785,7 +785,7 @@ public int getConnectionVerificationTimeout() {
/**
* Returns the retention datasource name configured in open-banking.xml.
- * @return
+ * @return retention datasource name or empty string if nothing is configured
*/
public String getRetentionDataSourceName() {
@@ -1142,7 +1142,7 @@ public String getOBIdnRetrieverSandboxCertificateKid() {
/**
* JWKS Retriever Size Limit for JWS Signature Handling.
*
- * @return
+ * @return JWKS Retriever Size Limit
*/
public String getJwksRetrieverSizeLimit() {
@@ -1153,7 +1153,7 @@ public String getJwksRetrieverSizeLimit() {
/**
* JWKS Retriever Connection Timeout for JWS Signature Handling.
*
- * @return
+ * @return JWKS Retriever Connection Timeout
*/
public String getJwksRetrieverConnectionTimeout() {
@@ -1164,7 +1164,7 @@ public String getJwksRetrieverConnectionTimeout() {
/**
* JWKS Retriever Read Timeout for JWS Signature Handling.
*
- * @return
+ * @return JWKS Retriever Read Timeout
*/
public String getJwksRetrieverReadTimeout() {
@@ -1199,7 +1199,7 @@ public boolean isJwsResponseSigningEnabled() {
/**
* Jws Request Signing allowed algorithms.
*
- * @return
+ * @return Jws Request Signing allowed algorithms
*/
public List getJwsRequestSigningAlgorithms() {
@@ -1218,7 +1218,7 @@ public List getJwsRequestSigningAlgorithms() {
/**
* Jws Response Signing allowed algorithm.
*
- * @return
+ * @return Jws Response Signing allowed algorithm
*/
public String getJwsResponseSigningAlgorithm() {
@@ -1457,4 +1457,23 @@ public String getFederatedIDPName() {
((String) getConfigElementFromKey(OpenBankingConstants.PSU_FEDERATED_IDP_NAME)).trim();
}
+ /**
+ * Method to get the value Idempotency enable configuration.
+ * @return Whether Idempotency is enabled or not
+ */
+ public boolean isIdempotencyValidationEnabled() {
+ return getConfigElementFromKey(OpenBankingConstants.IDEMPOTENCY_IS_ENABLED) != null &&
+ Boolean.parseBoolean(((String)
+ getConfigElementFromKey(OpenBankingConstants.IDEMPOTENCY_IS_ENABLED)).trim());
+ }
+
+ /**
+ * Method to get the value Idempotency allowed time configuration.
+ * @return Idempotency allowed time
+ */
+ public String getIdempotencyAllowedTime() {
+ return getConfigElementFromKey(OpenBankingConstants.IDEMPOTENCY_ALLOWED_TIME) == null ? "1440" :
+ (String) getConfigElementFromKey(OpenBankingConstants.IDEMPOTENCY_ALLOWED_TIME);
+ }
+
}
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/constant/OpenBankingConstants.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/constant/OpenBankingConstants.java
index 6831a70c..6f4a6e3f 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/constant/OpenBankingConstants.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/constant/OpenBankingConstants.java
@@ -255,4 +255,6 @@ public class OpenBankingConstants {
public static final String QUERY = "query";
public static final String IS_PSU_FEDERATED = "PSUFederatedAuthentication.Enabled";
public static final String PSU_FEDERATED_IDP_NAME = "PSUFederatedAuthentication.IDPName";
+ public static final String IDEMPOTENCY_IS_ENABLED = "Consent.Idempotency.Enabled";
+ public static final String IDEMPOTENCY_ALLOWED_TIME = "Consent.Idempotency.AllowedTimeDuration";
}
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/ApplicationIdentityService.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/ApplicationIdentityService.java
index a416c685..8dd7171a 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/ApplicationIdentityService.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/ApplicationIdentityService.java
@@ -36,10 +36,11 @@ public class ApplicationIdentityService {
* Get JWKSet for application.
* First checks to get from cache, else retrieve the JWKSet from the URL by calling
* a method in JWKRetriever
- * @param applicationName
- * @param jwksUrl
- * @param useCache
+ * @param applicationName Application Name
+ * @param jwksUrl URL of the JWKSet
+ * @param useCache Use cache or not
* @return JWKSet
+ * @throws OpenBankingException if an error occurs while retrieving the JWKSet
*/
public JWKSet getPublicJWKSet(String applicationName, URL jwksUrl,
boolean useCache) throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/cache/base/OpenBankingIdentityBaseCache.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/cache/base/OpenBankingIdentityBaseCache.java
index b434eb95..2f8776da 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/cache/base/OpenBankingIdentityBaseCache.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/cache/base/OpenBankingIdentityBaseCache.java
@@ -25,8 +25,8 @@
/**
* Cache definition to store objects in open banking iam component implementations.
- * @param
- * @param
+ * @param Extended Cache key
+ * @param Cache value
*/
public class OpenBankingIdentityBaseCache extends OpenBankingBaseCache {
@@ -37,6 +37,7 @@ public class OpenBankingIdentityBaseCache
/**
* Initialize with unique cache name.
+ * @param cacheName Unique cache name
*/
public OpenBankingIdentityBaseCache(String cacheName) {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/JWKRetriever.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/JWKRetriever.java
index dba4f6a4..f0eff1db 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/JWKRetriever.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/JWKRetriever.java
@@ -77,9 +77,9 @@ public JWKRetriever getInstance() {
/**
* Get JWK Set from remote resource retriever.
*
- * @param jwksURL
- * @return
- * @throws IOException
+ * @param jwksURL jwksURL in URL format
+ * @return JWKSet
+ * @throws OpenBankingException if an error occurs while retrieving resource
*/
public JWKSet updateJWKSetFromURL(URL jwksURL) throws OpenBankingException {
@@ -105,7 +105,7 @@ public JWKSet updateJWKSetFromURL(URL jwksURL) throws OpenBankingException {
* @param jwksURL jwksURL in URL format
* @param applicationName application name as a string
* @return jwkSet
- * @throws OpenBankingException
+ * @throws OpenBankingException if an error occurs while getting JWK set
*/
public JWKSet getJWKSet(URL jwksURL , String applicationName) throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/ServerIdentityRetriever.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/ServerIdentityRetriever.java
index e33c89a0..59d3f3b6 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/ServerIdentityRetriever.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/ServerIdentityRetriever.java
@@ -118,7 +118,7 @@ public static Certificate getCertificate(String alias) throws KeyStoreException
* Returns Signing certificate alias at Production environment.
* @param certificateType Signing
* @return String Certificate alias
- * @throws OpenBankingException
+ * @throws OpenBankingException when there is an exception while retrieving the alias
*/
public static Optional getCertAlias(IdentityConstants.CertificateType certificateType)
throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/sp/CommonServiceProviderRetriever.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/sp/CommonServiceProviderRetriever.java
index 1eda4423..0281130d 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/sp/CommonServiceProviderRetriever.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/identity/retriever/sp/CommonServiceProviderRetriever.java
@@ -47,7 +47,7 @@ public class CommonServiceProviderRetriever {
* @param clientId ClientId of the application
* @param property Property of the application
* @return the property value from SP metadata
- * @throws OpenBankingException
+ * @throws OpenBankingException if an error occurs while retrieving the property
*/
@Generated(message = "Excluding from code coverage since it requires a service call")
public String getAppPropertyFromSPMetaData(String clientId, String property) throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/AnalyticsLogsUtils.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/AnalyticsLogsUtils.java
index 72c9fc03..8a8c64de 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/AnalyticsLogsUtils.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/AnalyticsLogsUtils.java
@@ -42,6 +42,7 @@ public class AnalyticsLogsUtils {
* @param dataStream Name of the data stream to which the data belongs
* @param dataVersion Version of the data stream to which the data belongs
* @param analyticsData Data which belongs to the given data stream that needs to be logged via the given logger
+ * @throws OpenBankingException if an error occurs while processing the analytics data
*/
public static void addAnalyticsLogs(String logFile, String dataStream, String dataVersion, Map analyticsData) throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/CertificateUtils.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/CertificateUtils.java
index ca883b2f..65906695 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/CertificateUtils.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/CertificateUtils.java
@@ -43,8 +43,9 @@ public class CertificateUtils {
/**
* Parse the certificate content.
*
- * @param content the content to be pased
- * @throws OpenBankingException
+ * @param content the content to be passed
+ * @return the parsed certificate
+ * @throws OpenBankingException if an error occurs while parsing the certificate
*/
public static X509Certificate parseCertificate(String content) throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/JWTUtils.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/JWTUtils.java
index 1489f035..a2aeca5c 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/JWTUtils.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/JWTUtils.java
@@ -53,6 +53,7 @@ public class JWTUtils {
* @param jwtToken jwt sent by the tpp
* @param jwtPart expected jwt part (header, body)
* @return json object containing requested jwt part
+ * @throws ParseException if an error occurs while parsing the jwt
*/
public static JSONObject decodeRequestJWT(String jwtToken, String jwtPart) throws ParseException {
@@ -77,6 +78,10 @@ public static JSONObject decodeRequestJWT(String jwtToken, String jwtPart) throw
* @param jwksUri endpoint displaying the key set for the signing certificates
* @param algorithm the signing algorithm for jwt
* @return true if signature is valid
+ * @throws ParseException if an error occurs while parsing the jwt
+ * @throws BadJOSEException if the jwt is invalid
+ * @throws JOSEException if an error occurs while processing the jwt
+ * @throws MalformedURLException if an error occurs while creating the URL object
*/
@Generated(message = "Excluding from code coverage since can not call this method due to external https call")
public static boolean validateJWTSignature(String jwtString, String jwksUri, String algorithm)
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/OpenBankingUtils.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/OpenBankingUtils.java
index 3c57ce21..94504bec 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/OpenBankingUtils.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/OpenBankingUtils.java
@@ -61,7 +61,7 @@ public static Object getClassInstanceFromFQN(String classpath) {
*
* @param softwareStatement software statement (jwt) extracted from request payload
* @return software_environment
- * @throws ParseException
+ * @throws ParseException if an error occurs while parsing the software statement
*/
public static String getSoftwareEnvironmentFromSSA(String softwareStatement) throws ParseException {
@@ -105,8 +105,9 @@ public static boolean isPublishableDisputeData(int statusCode) {
/**
* Method to reduce string length.
*
- * @param input and maxLength for dispute data
- * @return String
+ * @param input Input for dispute data
+ * @param maxLength Max length for dispute data
+ * @return String with reduced length
*/
public static String reduceStringLength(String input, int maxLength) {
if (StringUtils.isEmpty(input) || input.length() <= maxLength) {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/SPQueryExecutorUtil.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/SPQueryExecutorUtil.java
index ca479c46..72c83d1c 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/SPQueryExecutorUtil.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/SPQueryExecutorUtil.java
@@ -48,11 +48,15 @@ public class SPQueryExecutorUtil {
/**
* Executes the given query in SP.
*
- * @param appName Name of the siddhi app.
- * @param query Name of the query
+ * @param appName Name of the siddhi app.
+ * @param query Name of the query
+ * @param spUserName Username for SP
+ * @param spPassword Password for SP
+ * @param spApiHost Hostname of the SP
* @return JSON object with result
- * @throws IOException IO Exception.
- * @throws ParseException Parse Exception.
+ * @throws IOException IO Exception.
+ * @throws ParseException Parse Exception.
+ * @throws OpenBankingException OpenBanking Exception.
*/
public static JSONObject executeQueryOnStreamProcessor(String appName, String query, String spUserName,
String spPassword, String spApiHost)
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/ServiceProviderUtils.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/ServiceProviderUtils.java
index 4a94f93f..fae34feb 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/ServiceProviderUtils.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/util/ServiceProviderUtils.java
@@ -32,7 +32,7 @@ public class ServiceProviderUtils {
* Get Tenant Domain String for the client id.
* @param clientId the client id of the application
* @return tenant domain of the client
- * @throws OpenBankingException
+ * @throws OpenBankingException if an error occurs while retrieving the tenant domain
*/
@Generated(message = "Ignoring because OAuth2Util cannot be mocked with no constructors")
public static String getSpTenantDomain(String clientId) throws OpenBankingException {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/validator/OpenBankingValidator.java b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/validator/OpenBankingValidator.java
index fc38a601..44c60e32 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/validator/OpenBankingValidator.java
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.common/src/main/java/com/wso2/openbanking/accelerator/common/validator/OpenBankingValidator.java
@@ -57,6 +57,9 @@ public static OpenBankingValidator getInstance() {
/**
* Check for violations on request object. Stop at the first violation and return error.
* Validations are executed based on annotation in model of the class.
+ *
+ * @param object Object to be validated
+ * @return Error message if there is a violation, null otherwise
*/
public String getFirstViolation(Object object) {
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.authentication.data.publisher/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.authentication.data.publisher/pom.xml
index 12c8b6c0..c28c4655 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.authentication.data.publisher/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.authentication.data.publisher/pom.xml
@@ -17,15 +17,13 @@
~ under the License.
-->
-
+
4.0.0
com.wso2.openbanking.accelerator.data.publisher
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../pom.xml
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.data.publisher.common/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.data.publisher.common/pom.xml
index 6bd7bc80..c5e53ad3 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.data.publisher.common/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/com.wso2.openbanking.accelerator.data.publisher.common/pom.xml
@@ -16,13 +16,11 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../../pom.xml
4.0.0
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/pom.xml
index d367f077..9fdb5738 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.data.publisher/pom.xml
@@ -16,13 +16,11 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.gateway/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.gateway/pom.xml
index b4eaa95b..5d0fe88e 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.gateway/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.gateway/pom.xml
@@ -17,15 +17,13 @@
~ under the License.
-->
-
+
4.0.0
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.identity/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.identity/pom.xml
index 0b2e3e5d..a5ac6829 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.identity/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.identity/pom.xml
@@ -16,13 +16,11 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.keymanager/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.keymanager/pom.xml
index 5bc44c69..b924760f 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.keymanager/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.keymanager/pom.xml
@@ -14,13 +14,11 @@
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
- -->
+ -->
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/com.wso2.openbanking.accelerator.runtime.identity.authn.filter/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/com.wso2.openbanking.accelerator.runtime.identity.authn.filter/pom.xml
index 36f4b193..99262a60 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/com.wso2.openbanking.accelerator.runtime.identity.authn.filter/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/com.wso2.openbanking.accelerator.runtime.identity.authn.filter/pom.xml
@@ -16,13 +16,11 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
com.wso2.openbanking.accelerator.runtime
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../pom.xml
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/pom.xml
index 75be5543..8c779fb7 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.runtime/pom.xml
@@ -16,13 +16,11 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
diff --git a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.service.activator/pom.xml b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.service.activator/pom.xml
index c7e11427..53c76ed7 100644
--- a/open-banking-accelerator/components/com.wso2.openbanking.accelerator.service.activator/pom.xml
+++ b/open-banking-accelerator/components/com.wso2.openbanking.accelerator.service.activator/pom.xml
@@ -16,14 +16,13 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
4.0.0
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../pom.xml
diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/pom.xml b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/pom.xml
index ddb2df0b..45b4514b 100644
--- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/pom.xml
+++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/pom.xml
@@ -16,15 +16,13 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
4.0.0
open-banking-accelerator
com.wso2.openbanking.accelerator
- 3.2.0-SNAPSHOT
+ 3.2.4-SNAPSHOT
../../../pom.xml
diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/admin/model/ConsentAdminHandler.java b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/admin/model/ConsentAdminHandler.java
index e1c6cb9d..65f514bf 100644
--- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/admin/model/ConsentAdminHandler.java
+++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/admin/model/ConsentAdminHandler.java
@@ -42,21 +42,21 @@ public interface ConsentAdminHandler {
/**
* Method to handle the temporary retention data syncing with the retention database.
* @param consentAdminData consentAdminData
- * @throws ConsentException
+ * @throws ConsentException if any error occurs while syncing the retention database
*/
public void handleTemporaryRetentionDataSyncing(ConsentAdminData consentAdminData) throws ConsentException;
/**
* Method to handle the consent status audit search.
* @param consentAdminData consentAdminData
- * @throws ConsentException
+ * @throws ConsentException if any error occurs while searching the consent status audit
*/
public void handleConsentStatusAuditSearch(ConsentAdminData consentAdminData) throws ConsentException;
/**
* Method to handle the consent file search.
* @param consentAdminData consentAdminData
- * @throws ConsentException
+ * @throws ConsentException if any error occurs while searching the consent file
*/
public void handleConsentFileSearch(ConsentAdminData consentAdminData) throws ConsentException;
diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/DefaultConsentRetrievalStep.java b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/DefaultConsentRetrievalStep.java
index 496db846..0deca7b5 100644
--- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/DefaultConsentRetrievalStep.java
+++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/DefaultConsentRetrievalStep.java
@@ -111,9 +111,8 @@ public void execute(ConsentData consentData, JSONObject jsonObject) throws Conse
/**
* Method to retrieve consent related data from the initiation payload.
- * @param consentResource
+ * @param consentResource Consent Resource
* @return consent
- * @throws ConsentException
*/
public JSONArray getConsentDataSet(ConsentResource consentResource) {
diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/utils/ConsentRetrievalUtil.java b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/utils/ConsentRetrievalUtil.java
index 0d5af23b..f0cc17b4 100644
--- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/utils/ConsentRetrievalUtil.java
+++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/utils/ConsentRetrievalUtil.java
@@ -47,8 +47,8 @@ public class ConsentRetrievalUtil {
/**
* Method to extract request object from query params.
*
- * @param spQueryParams
- * @return
+ * @param spQueryParams Query params
+ * @return requestObject
*/
public static String extractRequestObject(String spQueryParams) {
@@ -71,8 +71,8 @@ public static String extractRequestObject(String spQueryParams) {
/**
* Method to validate the request object and extract consent ID.
*
- * @param requestObject
- * @return
+ * @param requestObject Request object
+ * @return consentId
*/
public static String extractConsentId(String requestObject) {
@@ -193,8 +193,8 @@ public static void populateDebtorAccount(JSONObject initiation, JSONArray consen
/**
* Method to add debtor account details to consent data to send it to the consent page.
*
- * @param initiation
- * @param consentDataJSON
+ * @param initiation Initiation object from the request
+ * @param consentDataJSON Consent information object
*/
public static void populateCreditorAccount(JSONObject initiation, JSONArray consentDataJSON) {
if (initiation.get(ConsentExtensionConstants.CREDITOR_ACC) != null) {
diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authservlet/impl/util/Utils.java b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authservlet/impl/util/Utils.java
index d1d66edd..73c6a91b 100644
--- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authservlet/impl/util/Utils.java
+++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authservlet/impl/util/Utils.java
@@ -47,9 +47,9 @@ public class Utils {
* To get the property value for the given key from the ResourceBundle.
* Retrieve the value of property entry for key, return key if a value is not found for key
*
- * @param resourceBundle
- * @param key
- * @return
+ * @param resourceBundle ResourceBundle
+ * @param key Key
+ * @return Value of the property entry for key
*/
public static String i18n(ResourceBundle resourceBundle, String key) {
@@ -66,8 +66,8 @@ public static String i18n(ResourceBundle resourceBundle, String key) {
/**
* Split claims based on a deliminator and create map of claimID and displayName.
*
- * @param requestedClaimList
- * @return
+ * @param requestedClaimList Requested claim list
+ * @return List of claims
*/
public static List