From abb7263cd0201feaf5a1ba4ad548e1b3d9bc4c52 Mon Sep 17 00:00:00 2001 From: AnuGayan Date: Fri, 18 Oct 2024 08:08:21 +0530 Subject: [PATCH 1/3] Add internal hashing related configs --- modules/distribution/product/src/main/conf/deployment.toml | 3 +++ .../distribution/product/src/main/resources/conf/default.json | 1 + 2 files changed, 4 insertions(+) diff --git a/modules/distribution/product/src/main/conf/deployment.toml b/modules/distribution/product/src/main/conf/deployment.toml index bd4b4ee8b5..514bc5c235 100755 --- a/modules/distribution/product/src/main/conf/deployment.toml +++ b/modules/distribution/product/src/main/conf/deployment.toml @@ -135,6 +135,9 @@ enable_lightweight_apikey_generation = true #claims_extractor_impl = "org.wso2.carbon.apimgt.impl.token.ExtendedDefaultClaimsRetriever" #use_sha256_hash = false +#[apim.hashing] +#hashing_algorithm = "SHA-256" + #[apim.oauth_config] #enable_outbound_auth_header = false #auth_header = "Authorization" diff --git a/modules/distribution/product/src/main/resources/conf/default.json b/modules/distribution/product/src/main/resources/conf/default.json index ed7883bc40..36e76110be 100644 --- a/modules/distribution/product/src/main/resources/conf/default.json +++ b/modules/distribution/product/src/main/resources/conf/default.json @@ -486,6 +486,7 @@ "tenant_mgt.disable_email_domain_validation": true, "apim.jwt.use_kid_property": true, "apim.jwt.use_sha256_hash": false, + "apim.hashing.hashing_algorithm": "SHA-256", "server_configuration": { "diagnostic_tool_enabled": "true", "deployment_toml_path": "../conf/deployment.toml", From 9f0eef7bb04504a65ee66eebb0b1b77367cdedee Mon Sep 17 00:00:00 2001 From: AnuGayan Date: Sat, 19 Oct 2024 11:24:04 +0530 Subject: [PATCH 2/3] Add profile for backend and restart test groups --- modules/integration/tests-integration/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/integration/tests-integration/pom.xml b/modules/integration/tests-integration/pom.xml index fc2d3c33af..7f24996082 100644 --- a/modules/integration/tests-integration/pom.xml +++ b/modules/integration/tests-integration/pom.xml @@ -72,5 +72,12 @@ under the License. tests-restart + + without-benchmark + + tests-backend + tests-restart + + From b2e764c0a57532ea059c579f6cbffd5c35e1bd4b Mon Sep 17 00:00:00 2001 From: AnuGayan Date: Sat, 19 Oct 2024 11:29:46 +0530 Subject: [PATCH 3/3] Remove additional property from toml --- modules/distribution/product/src/main/conf/deployment.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/distribution/product/src/main/conf/deployment.toml b/modules/distribution/product/src/main/conf/deployment.toml index 514bc5c235..bd4b4ee8b5 100755 --- a/modules/distribution/product/src/main/conf/deployment.toml +++ b/modules/distribution/product/src/main/conf/deployment.toml @@ -135,9 +135,6 @@ enable_lightweight_apikey_generation = true #claims_extractor_impl = "org.wso2.carbon.apimgt.impl.token.ExtendedDefaultClaimsRetriever" #use_sha256_hash = false -#[apim.hashing] -#hashing_algorithm = "SHA-256" - #[apim.oauth_config] #enable_outbound_auth_header = false #auth_header = "Authorization"