From 2b3494f1b77c0745150d01c21848146685ee13fb Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Fri, 9 Aug 2024 15:54:28 -0400 Subject: [PATCH] Moved security tests inside plugins folder Signed-off-by: Darshit Chanpura --- tests/{ => plugins}/security/api/account.yaml | 2 +- tests/{ => plugins}/security/api/action_groups.yaml | 2 +- tests/{ => plugins}/security/api/allowlist.yaml | 2 +- tests/{ => plugins}/security/api/audit.yaml | 2 +- tests/{ => plugins}/security/api/cache.yaml | 2 +- tests/{ => plugins}/security/api/certificates.yaml | 2 +- tests/{ => plugins}/security/api/internal_users.yaml | 2 +- tests/{ => plugins}/security/api/migrate.yaml | 2 +- tests/{ => plugins}/security/api/nodesdn.yaml | 2 +- tests/{ => plugins}/security/api/permissionsinfo.yaml | 2 +- tests/{ => plugins}/security/api/roles.yaml | 2 +- tests/{ => plugins}/security/api/rolesmapping.yaml | 2 +- tests/{ => plugins}/security/api/securityconfig.yaml | 2 +- tests/{ => plugins}/security/api/ssl_certs.yaml | 2 +- tests/{ => plugins}/security/api/tenancy_config.yaml | 2 +- tests/{ => plugins}/security/api/tenants.yaml | 2 +- tests/{ => plugins}/security/api/tokens.yaml | 2 +- tests/{ => plugins}/security/api/upgrade.yaml | 2 +- tests/{ => plugins}/security/api/user.yaml | 2 +- tests/{ => plugins}/security/api/validate.yaml | 2 +- tests/{ => plugins}/security/authinfo.yaml | 2 +- tests/{ => plugins}/security/dashboardsinfo.yaml | 2 +- tests/{ => plugins}/security/health.yaml | 2 +- tests/{ => plugins}/security/sslinfo.yaml | 2 +- tests/{ => plugins}/security/tenantinfo.yaml | 2 +- tests/{ => plugins}/security/whoami.yaml | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) rename tests/{ => plugins}/security/api/account.yaml (92%) rename tests/{ => plugins}/security/api/action_groups.yaml (96%) rename tests/{ => plugins}/security/api/allowlist.yaml (92%) rename tests/{ => plugins}/security/api/audit.yaml (96%) rename tests/{ => plugins}/security/api/cache.yaml (89%) rename tests/{ => plugins}/security/api/certificates.yaml (93%) rename tests/{ => plugins}/security/api/internal_users.yaml (96%) rename tests/{ => plugins}/security/api/migrate.yaml (81%) rename tests/{ => plugins}/security/api/nodesdn.yaml (96%) rename tests/{ => plugins}/security/api/permissionsinfo.yaml (79%) rename tests/{ => plugins}/security/api/roles.yaml (96%) rename tests/{ => plugins}/security/api/rolesmapping.yaml (96%) rename tests/{ => plugins}/security/api/securityconfig.yaml (96%) rename tests/{ => plugins}/security/api/ssl_certs.yaml (90%) rename tests/{ => plugins}/security/api/tenancy_config.yaml (90%) rename tests/{ => plugins}/security/api/tenants.yaml (95%) rename tests/{ => plugins}/security/api/tokens.yaml (96%) rename tests/{ => plugins}/security/api/upgrade.yaml (89%) rename tests/{ => plugins}/security/api/user.yaml (93%) rename tests/{ => plugins}/security/api/validate.yaml (84%) rename tests/{ => plugins}/security/authinfo.yaml (88%) rename tests/{ => plugins}/security/dashboardsinfo.yaml (85%) rename tests/{ => plugins}/security/health.yaml (90%) rename tests/{ => plugins}/security/sslinfo.yaml (93%) rename tests/{ => plugins}/security/tenantinfo.yaml (90%) rename tests/{ => plugins}/security/whoami.yaml (93%) diff --git a/tests/security/api/account.yaml b/tests/plugins/security/api/account.yaml similarity index 92% rename from tests/security/api/account.yaml rename to tests/plugins/security/api/account.yaml index 22e82de4c..2fc10499f 100644 --- a/tests/security/api/account.yaml +++ b/tests/plugins/security/api/account.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test account endpoint. diff --git a/tests/security/api/action_groups.yaml b/tests/plugins/security/api/action_groups.yaml similarity index 96% rename from tests/security/api/action_groups.yaml rename to tests/plugins/security/api/action_groups.yaml index 5ce272966..363aacdf3 100644 --- a/tests/security/api/action_groups.yaml +++ b/tests/plugins/security/api/action_groups.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test action_groups endpoints. diff --git a/tests/security/api/allowlist.yaml b/tests/plugins/security/api/allowlist.yaml similarity index 92% rename from tests/security/api/allowlist.yaml rename to tests/plugins/security/api/allowlist.yaml index 0a6531d06..5ba032900 100644 --- a/tests/security/api/allowlist.yaml +++ b/tests/plugins/security/api/allowlist.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test allowlist endpoints. diff --git a/tests/security/api/audit.yaml b/tests/plugins/security/api/audit.yaml similarity index 96% rename from tests/security/api/audit.yaml rename to tests/plugins/security/api/audit.yaml index 9a53fe76f..61c57be67 100644 --- a/tests/security/api/audit.yaml +++ b/tests/plugins/security/api/audit.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test audit endpoints. diff --git a/tests/security/api/cache.yaml b/tests/plugins/security/api/cache.yaml similarity index 89% rename from tests/security/api/cache.yaml rename to tests/plugins/security/api/cache.yaml index b875fb75b..d1f1d6d26 100644 --- a/tests/security/api/cache.yaml +++ b/tests/plugins/security/api/cache.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test cache endpoint. diff --git a/tests/security/api/certificates.yaml b/tests/plugins/security/api/certificates.yaml similarity index 93% rename from tests/security/api/certificates.yaml rename to tests/plugins/security/api/certificates.yaml index e68760d6c..ec2bd3603 100644 --- a/tests/security/api/certificates.yaml +++ b/tests/plugins/security/api/certificates.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test certificates endpoints. version: '>= 2.15' diff --git a/tests/security/api/internal_users.yaml b/tests/plugins/security/api/internal_users.yaml similarity index 96% rename from tests/security/api/internal_users.yaml rename to tests/plugins/security/api/internal_users.yaml index 7a574d12d..4c3bd7066 100644 --- a/tests/security/api/internal_users.yaml +++ b/tests/plugins/security/api/internal_users.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test internal users endpoints. diff --git a/tests/security/api/migrate.yaml b/tests/plugins/security/api/migrate.yaml similarity index 81% rename from tests/security/api/migrate.yaml rename to tests/plugins/security/api/migrate.yaml index add24c5eb..3cf053554 100644 --- a/tests/security/api/migrate.yaml +++ b/tests/plugins/security/api/migrate.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test migrate endpoint. diff --git a/tests/security/api/nodesdn.yaml b/tests/plugins/security/api/nodesdn.yaml similarity index 96% rename from tests/security/api/nodesdn.yaml rename to tests/plugins/security/api/nodesdn.yaml index 79baafa88..7a82d0307 100644 --- a/tests/security/api/nodesdn.yaml +++ b/tests/plugins/security/api/nodesdn.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml # ADMIN-CERT only. These tests require explicit rest api admin privileges. diff --git a/tests/security/api/permissionsinfo.yaml b/tests/plugins/security/api/permissionsinfo.yaml similarity index 79% rename from tests/security/api/permissionsinfo.yaml rename to tests/plugins/security/api/permissionsinfo.yaml index c60a0dd62..59e1f9062 100644 --- a/tests/security/api/permissionsinfo.yaml +++ b/tests/plugins/security/api/permissionsinfo.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test permissionsinfo endpoint. diff --git a/tests/security/api/roles.yaml b/tests/plugins/security/api/roles.yaml similarity index 96% rename from tests/security/api/roles.yaml rename to tests/plugins/security/api/roles.yaml index 52e8326ae..a79ef6312 100644 --- a/tests/security/api/roles.yaml +++ b/tests/plugins/security/api/roles.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test roles endpoints. diff --git a/tests/security/api/rolesmapping.yaml b/tests/plugins/security/api/rolesmapping.yaml similarity index 96% rename from tests/security/api/rolesmapping.yaml rename to tests/plugins/security/api/rolesmapping.yaml index ca08baeec..8fed57e18 100644 --- a/tests/security/api/rolesmapping.yaml +++ b/tests/plugins/security/api/rolesmapping.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test rolesmapping endpoint. diff --git a/tests/security/api/securityconfig.yaml b/tests/plugins/security/api/securityconfig.yaml similarity index 96% rename from tests/security/api/securityconfig.yaml rename to tests/plugins/security/api/securityconfig.yaml index ca0e38cc3..739862c07 100644 --- a/tests/security/api/securityconfig.yaml +++ b/tests/plugins/security/api/securityconfig.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml # ADMIN-CERT only (except GET). These tests require explicit rest api admin privileges. diff --git a/tests/security/api/ssl_certs.yaml b/tests/plugins/security/api/ssl_certs.yaml similarity index 90% rename from tests/security/api/ssl_certs.yaml rename to tests/plugins/security/api/ssl_certs.yaml index bd0d9771e..e6ce37b33 100644 --- a/tests/security/api/ssl_certs.yaml +++ b/tests/plugins/security/api/ssl_certs.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test ssl endpoints. diff --git a/tests/security/api/tenancy_config.yaml b/tests/plugins/security/api/tenancy_config.yaml similarity index 90% rename from tests/security/api/tenancy_config.yaml rename to tests/plugins/security/api/tenancy_config.yaml index 3596d53da..f3d107e7f 100644 --- a/tests/security/api/tenancy_config.yaml +++ b/tests/plugins/security/api/tenancy_config.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test tenancy config endpoint. version: '>= 2.7' diff --git a/tests/security/api/tenants.yaml b/tests/plugins/security/api/tenants.yaml similarity index 95% rename from tests/security/api/tenants.yaml rename to tests/plugins/security/api/tenants.yaml index c6f3f690b..3e41617ee 100644 --- a/tests/security/api/tenants.yaml +++ b/tests/plugins/security/api/tenants.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test tenants endpoints. diff --git a/tests/security/api/tokens.yaml b/tests/plugins/security/api/tokens.yaml similarity index 96% rename from tests/security/api/tokens.yaml rename to tests/plugins/security/api/tokens.yaml index 96d400af6..6815ce1f9 100644 --- a/tests/security/api/tokens.yaml +++ b/tests/plugins/security/api/tokens.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test authtoken endpoints. diff --git a/tests/security/api/upgrade.yaml b/tests/plugins/security/api/upgrade.yaml similarity index 89% rename from tests/security/api/upgrade.yaml rename to tests/plugins/security/api/upgrade.yaml index 04d33a86c..4cc316b48 100644 --- a/tests/security/api/upgrade.yaml +++ b/tests/plugins/security/api/upgrade.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test upgrade eligibility endpoints. version: '>= 2.14' diff --git a/tests/security/api/user.yaml b/tests/plugins/security/api/user.yaml similarity index 93% rename from tests/security/api/user.yaml rename to tests/plugins/security/api/user.yaml index 540a9355c..4c676f39a 100644 --- a/tests/security/api/user.yaml +++ b/tests/plugins/security/api/user.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test user endpoints. diff --git a/tests/security/api/validate.yaml b/tests/plugins/security/api/validate.yaml similarity index 84% rename from tests/security/api/validate.yaml rename to tests/plugins/security/api/validate.yaml index 11646a8ad..08d4b1ab2 100644 --- a/tests/security/api/validate.yaml +++ b/tests/plugins/security/api/validate.yaml @@ -1,4 +1,4 @@ -$schema: ../../../json_schemas/test_story.schema.yaml +$schema: ../../../../json_schemas/test_story.schema.yaml description: Test validate endpoint. # BAD_REQUEST. Can not migrate configuration because it was already migrated. diff --git a/tests/security/authinfo.yaml b/tests/plugins/security/authinfo.yaml similarity index 88% rename from tests/security/authinfo.yaml rename to tests/plugins/security/authinfo.yaml index 0e04dce5a..3895af8c0 100644 --- a/tests/security/authinfo.yaml +++ b/tests/plugins/security/authinfo.yaml @@ -1,4 +1,4 @@ -$schema: ../../json_schemas/test_story.schema.yaml +$schema: ../../../json_schemas/test_story.schema.yaml description: Test authinfo endpoint. chapters: diff --git a/tests/security/dashboardsinfo.yaml b/tests/plugins/security/dashboardsinfo.yaml similarity index 85% rename from tests/security/dashboardsinfo.yaml rename to tests/plugins/security/dashboardsinfo.yaml index afcfa4bf6..16925b704 100644 --- a/tests/security/dashboardsinfo.yaml +++ b/tests/plugins/security/dashboardsinfo.yaml @@ -1,4 +1,4 @@ -$schema: ../../json_schemas/test_story.schema.yaml +$schema: ../../../json_schemas/test_story.schema.yaml description: Test dashboardsinfo endpoint. chapters: diff --git a/tests/security/health.yaml b/tests/plugins/security/health.yaml similarity index 90% rename from tests/security/health.yaml rename to tests/plugins/security/health.yaml index b43b0beef..b4855fdee 100644 --- a/tests/security/health.yaml +++ b/tests/plugins/security/health.yaml @@ -1,4 +1,4 @@ -$schema: ../../json_schemas/test_story.schema.yaml +$schema: ../../../json_schemas/test_story.schema.yaml description: Test health endpoint. chapters: diff --git a/tests/security/sslinfo.yaml b/tests/plugins/security/sslinfo.yaml similarity index 93% rename from tests/security/sslinfo.yaml rename to tests/plugins/security/sslinfo.yaml index a99be72f6..c6f6b9a96 100644 --- a/tests/security/sslinfo.yaml +++ b/tests/plugins/security/sslinfo.yaml @@ -1,4 +1,4 @@ -$schema: ../../json_schemas/test_story.schema.yaml +$schema: ../../../json_schemas/test_story.schema.yaml description: Test sslinfo endpoint. chapters: diff --git a/tests/security/tenantinfo.yaml b/tests/plugins/security/tenantinfo.yaml similarity index 90% rename from tests/security/tenantinfo.yaml rename to tests/plugins/security/tenantinfo.yaml index 5ef84a9a6..66fece71a 100644 --- a/tests/security/tenantinfo.yaml +++ b/tests/plugins/security/tenantinfo.yaml @@ -1,4 +1,4 @@ -$schema: ../../json_schemas/test_story.schema.yaml +$schema: ../../../json_schemas/test_story.schema.yaml description: Test tenantinfo endpoint. chapters: diff --git a/tests/security/whoami.yaml b/tests/plugins/security/whoami.yaml similarity index 93% rename from tests/security/whoami.yaml rename to tests/plugins/security/whoami.yaml index 742891249..9e3eab4fe 100644 --- a/tests/security/whoami.yaml +++ b/tests/plugins/security/whoami.yaml @@ -1,4 +1,4 @@ -$schema: ../../json_schemas/test_story.schema.yaml +$schema: ../../../json_schemas/test_story.schema.yaml description: Test whoami endpoints. chapters: