From 2d0694dcd21ab547563346d6063d131f398c40cc Mon Sep 17 00:00:00 2001 From: Chamila Adhikarinayake Date: Mon, 6 Nov 2023 15:02:38 +0530 Subject: [PATCH] Update tenant-config.json for test case --- .../artifacts/AM/configFiles/common/tenant-conf.json | 8 ++++++++ .../AM/configFiles/linterCustomRulesTest/tenant-conf.json | 8 ++++++++ .../AM/configFiles/monetization/tenant-conf.json | 8 ++++++++ .../AM/configFiles/notification/tenant-conf.json | 8 ++++++++ .../artifacts/AM/configFiles/tenantConf/tenant-conf.json | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/common/tenant-conf.json b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/common/tenant-conf.json index bd25397932..90eff4dff4 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/common/tenant-conf.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/common/tenant-conf.json @@ -340,6 +340,14 @@ { "Name": "apim:policies_import_export", "Roles": "admin,Internal/devops" + }, + { + "Name": "apim:keymanagers_manage", + "Roles": "admin" + }, + { + "Name": "apim:api_category", + "Roles": "admin" } ] }, diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/linterCustomRulesTest/tenant-conf.json b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/linterCustomRulesTest/tenant-conf.json index a8e8fdbfd6..2d0e5d27d4 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/linterCustomRulesTest/tenant-conf.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/linterCustomRulesTest/tenant-conf.json @@ -356,6 +356,14 @@ { "Name": "apim:policies_import_export", "Roles": "admin,Internal/devops" + }, + { + "Name": "apim:keymanagers_manage", + "Roles": "admin" + }, + { + "Name": "apim:api_category", + "Roles": "admin" } ] }, diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/monetization/tenant-conf.json b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/monetization/tenant-conf.json index 69e9270c19..a44325234a 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/monetization/tenant-conf.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/monetization/tenant-conf.json @@ -340,6 +340,14 @@ { "Name": "apim:policies_import_export", "Roles": "admin,Internal/devops" + }, + { + "Name": "apim:keymanagers_manage", + "Roles": "admin" + }, + { + "Name": "apim:api_category", + "Roles": "admin" } ] }, diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/notification/tenant-conf.json b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/notification/tenant-conf.json index d418d7a1e3..4871d1e6c8 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/notification/tenant-conf.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/notification/tenant-conf.json @@ -340,6 +340,14 @@ { "Name": "apim:policies_import_export", "Roles": "admin,Internal/devops" + }, + { + "Name": "apim:keymanagers_manage", + "Roles": "admin" + }, + { + "Name": "apim:api_category", + "Roles": "admin" } ] }, diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/tenantConf/tenant-conf.json b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/tenantConf/tenant-conf.json index bd25397932..90eff4dff4 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/tenantConf/tenant-conf.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/tenantConf/tenant-conf.json @@ -340,6 +340,14 @@ { "Name": "apim:policies_import_export", "Roles": "admin,Internal/devops" + }, + { + "Name": "apim:keymanagers_manage", + "Roles": "admin" + }, + { + "Name": "apim:api_category", + "Roles": "admin" } ] },