From 536cf041d1e9591452dcffd8ba3f0f657c6de7b2 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Fri, 9 Aug 2024 17:01:58 -0400 Subject: [PATCH] Move security tests to default folder and updates spec file Signed-off-by: Darshit Chanpura --- .github/workflows/test-spec.yml | 2 -- tests/{plugins => default}/security/api/account.yaml | 0 .../security/api/action_groups.yaml | 0 tests/{plugins => default}/security/api/allowlist.yaml | 0 tests/{plugins => default}/security/api/audit.yaml | 0 tests/{plugins => default}/security/api/cache.yaml | 0 .../security/api/certificates.yaml | 0 .../security/api/internal_users.yaml | 0 tests/{plugins => default}/security/api/migrate.yaml | 0 tests/{plugins => default}/security/api/nodesdn.yaml | 0 .../security/api/permissionsinfo.yaml | 0 tests/{plugins => default}/security/api/roles.yaml | 0 .../security/api/rolesmapping.yaml | 0 .../security/api/securityconfig.yaml | 0 tests/{plugins => default}/security/api/ssl_certs.yaml | 0 .../security/api/tenancy_config.yaml | 0 tests/{plugins => default}/security/api/tenants.yaml | 0 tests/{plugins => default}/security/api/tokens.yaml | 0 tests/{plugins => default}/security/api/upgrade.yaml | 0 tests/{plugins => default}/security/api/user.yaml | 0 tests/{plugins => default}/security/api/validate.yaml | 0 tests/{plugins => default}/security/authinfo.yaml | 0 .../{plugins => default}/security/dashboardsinfo.yaml | 0 tests/{plugins => default}/security/health.yaml | 0 tests/{plugins => default}/security/sslinfo.yaml | 0 tests/{plugins => default}/security/tenantinfo.yaml | 0 tests/{plugins => default}/security/whoami.yaml | 0 tests/plugins/security/docker-compose.yml | 10 ---------- 28 files changed, 12 deletions(-) rename tests/{plugins => default}/security/api/account.yaml (100%) rename tests/{plugins => default}/security/api/action_groups.yaml (100%) rename tests/{plugins => default}/security/api/allowlist.yaml (100%) rename tests/{plugins => default}/security/api/audit.yaml (100%) rename tests/{plugins => default}/security/api/cache.yaml (100%) rename tests/{plugins => default}/security/api/certificates.yaml (100%) rename tests/{plugins => default}/security/api/internal_users.yaml (100%) rename tests/{plugins => default}/security/api/migrate.yaml (100%) rename tests/{plugins => default}/security/api/nodesdn.yaml (100%) rename tests/{plugins => default}/security/api/permissionsinfo.yaml (100%) rename tests/{plugins => default}/security/api/roles.yaml (100%) rename tests/{plugins => default}/security/api/rolesmapping.yaml (100%) rename tests/{plugins => default}/security/api/securityconfig.yaml (100%) rename tests/{plugins => default}/security/api/ssl_certs.yaml (100%) rename tests/{plugins => default}/security/api/tenancy_config.yaml (100%) rename tests/{plugins => default}/security/api/tenants.yaml (100%) rename tests/{plugins => default}/security/api/tokens.yaml (100%) rename tests/{plugins => default}/security/api/upgrade.yaml (100%) rename tests/{plugins => default}/security/api/user.yaml (100%) rename tests/{plugins => default}/security/api/validate.yaml (100%) rename tests/{plugins => default}/security/authinfo.yaml (100%) rename tests/{plugins => default}/security/dashboardsinfo.yaml (100%) rename tests/{plugins => default}/security/health.yaml (100%) rename tests/{plugins => default}/security/sslinfo.yaml (100%) rename tests/{plugins => default}/security/tenantinfo.yaml (100%) rename tests/{plugins => default}/security/whoami.yaml (100%) delete mode 100644 tests/plugins/security/docker-compose.yml diff --git a/.github/workflows/test-spec.yml b/.github/workflows/test-spec.yml index c6e2706f8..b0014a322 100644 --- a/.github/workflows/test-spec.yml +++ b/.github/workflows/test-spec.yml @@ -30,8 +30,6 @@ jobs: - version: 2.16.0 - version: 2.16.0 tests: plugins/index_state_management - - version: 2.16.0 - tests: plugins/security - version: 2.16.0 tests: snapshot - version: 2.17.0 diff --git a/tests/plugins/security/api/account.yaml b/tests/default/security/api/account.yaml similarity index 100% rename from tests/plugins/security/api/account.yaml rename to tests/default/security/api/account.yaml diff --git a/tests/plugins/security/api/action_groups.yaml b/tests/default/security/api/action_groups.yaml similarity index 100% rename from tests/plugins/security/api/action_groups.yaml rename to tests/default/security/api/action_groups.yaml diff --git a/tests/plugins/security/api/allowlist.yaml b/tests/default/security/api/allowlist.yaml similarity index 100% rename from tests/plugins/security/api/allowlist.yaml rename to tests/default/security/api/allowlist.yaml diff --git a/tests/plugins/security/api/audit.yaml b/tests/default/security/api/audit.yaml similarity index 100% rename from tests/plugins/security/api/audit.yaml rename to tests/default/security/api/audit.yaml diff --git a/tests/plugins/security/api/cache.yaml b/tests/default/security/api/cache.yaml similarity index 100% rename from tests/plugins/security/api/cache.yaml rename to tests/default/security/api/cache.yaml diff --git a/tests/plugins/security/api/certificates.yaml b/tests/default/security/api/certificates.yaml similarity index 100% rename from tests/plugins/security/api/certificates.yaml rename to tests/default/security/api/certificates.yaml diff --git a/tests/plugins/security/api/internal_users.yaml b/tests/default/security/api/internal_users.yaml similarity index 100% rename from tests/plugins/security/api/internal_users.yaml rename to tests/default/security/api/internal_users.yaml diff --git a/tests/plugins/security/api/migrate.yaml b/tests/default/security/api/migrate.yaml similarity index 100% rename from tests/plugins/security/api/migrate.yaml rename to tests/default/security/api/migrate.yaml diff --git a/tests/plugins/security/api/nodesdn.yaml b/tests/default/security/api/nodesdn.yaml similarity index 100% rename from tests/plugins/security/api/nodesdn.yaml rename to tests/default/security/api/nodesdn.yaml diff --git a/tests/plugins/security/api/permissionsinfo.yaml b/tests/default/security/api/permissionsinfo.yaml similarity index 100% rename from tests/plugins/security/api/permissionsinfo.yaml rename to tests/default/security/api/permissionsinfo.yaml diff --git a/tests/plugins/security/api/roles.yaml b/tests/default/security/api/roles.yaml similarity index 100% rename from tests/plugins/security/api/roles.yaml rename to tests/default/security/api/roles.yaml diff --git a/tests/plugins/security/api/rolesmapping.yaml b/tests/default/security/api/rolesmapping.yaml similarity index 100% rename from tests/plugins/security/api/rolesmapping.yaml rename to tests/default/security/api/rolesmapping.yaml diff --git a/tests/plugins/security/api/securityconfig.yaml b/tests/default/security/api/securityconfig.yaml similarity index 100% rename from tests/plugins/security/api/securityconfig.yaml rename to tests/default/security/api/securityconfig.yaml diff --git a/tests/plugins/security/api/ssl_certs.yaml b/tests/default/security/api/ssl_certs.yaml similarity index 100% rename from tests/plugins/security/api/ssl_certs.yaml rename to tests/default/security/api/ssl_certs.yaml diff --git a/tests/plugins/security/api/tenancy_config.yaml b/tests/default/security/api/tenancy_config.yaml similarity index 100% rename from tests/plugins/security/api/tenancy_config.yaml rename to tests/default/security/api/tenancy_config.yaml diff --git a/tests/plugins/security/api/tenants.yaml b/tests/default/security/api/tenants.yaml similarity index 100% rename from tests/plugins/security/api/tenants.yaml rename to tests/default/security/api/tenants.yaml diff --git a/tests/plugins/security/api/tokens.yaml b/tests/default/security/api/tokens.yaml similarity index 100% rename from tests/plugins/security/api/tokens.yaml rename to tests/default/security/api/tokens.yaml diff --git a/tests/plugins/security/api/upgrade.yaml b/tests/default/security/api/upgrade.yaml similarity index 100% rename from tests/plugins/security/api/upgrade.yaml rename to tests/default/security/api/upgrade.yaml diff --git a/tests/plugins/security/api/user.yaml b/tests/default/security/api/user.yaml similarity index 100% rename from tests/plugins/security/api/user.yaml rename to tests/default/security/api/user.yaml diff --git a/tests/plugins/security/api/validate.yaml b/tests/default/security/api/validate.yaml similarity index 100% rename from tests/plugins/security/api/validate.yaml rename to tests/default/security/api/validate.yaml diff --git a/tests/plugins/security/authinfo.yaml b/tests/default/security/authinfo.yaml similarity index 100% rename from tests/plugins/security/authinfo.yaml rename to tests/default/security/authinfo.yaml diff --git a/tests/plugins/security/dashboardsinfo.yaml b/tests/default/security/dashboardsinfo.yaml similarity index 100% rename from tests/plugins/security/dashboardsinfo.yaml rename to tests/default/security/dashboardsinfo.yaml diff --git a/tests/plugins/security/health.yaml b/tests/default/security/health.yaml similarity index 100% rename from tests/plugins/security/health.yaml rename to tests/default/security/health.yaml diff --git a/tests/plugins/security/sslinfo.yaml b/tests/default/security/sslinfo.yaml similarity index 100% rename from tests/plugins/security/sslinfo.yaml rename to tests/default/security/sslinfo.yaml diff --git a/tests/plugins/security/tenantinfo.yaml b/tests/default/security/tenantinfo.yaml similarity index 100% rename from tests/plugins/security/tenantinfo.yaml rename to tests/default/security/tenantinfo.yaml diff --git a/tests/plugins/security/whoami.yaml b/tests/default/security/whoami.yaml similarity index 100% rename from tests/plugins/security/whoami.yaml rename to tests/default/security/whoami.yaml diff --git a/tests/plugins/security/docker-compose.yml b/tests/plugins/security/docker-compose.yml deleted file mode 100644 index a39a4cfef..000000000 --- a/tests/plugins/security/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -services: - opensearch-cluster: - image: ${OPENSEARCH_DOCKER_HUB_PROJECT:-opensearchproject}/opensearch:${OPENSEARCH_VERSION:-latest}${OPENSEARCH_DOCKER_REF} - ports: - - 9200:9200 - - 9600:9600 - environment: - - OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD:-myStrongPassword123!} - - OPENSEARCH_JAVA_OPTS=${OPENSEARCH_JAVA_OPTS} - - discovery.type=single-node