From d606494ab104b4550f90b8ae9691ff7944d3d776 Mon Sep 17 00:00:00 2001 From: Lee Baines-Dark Date: Mon, 13 Jan 2025 12:26:17 +0000 Subject: [PATCH] fix: Fix broken index ref: FORGEOPS-5580 --- docker/ds/runtime-scripts/ds-cts/setup | 2 ++ docker/ds/runtime-scripts/ds-idrepo/setup | 14 ++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docker/ds/runtime-scripts/ds-cts/setup b/docker/ds/runtime-scripts/ds-cts/setup index 556466d43..3a5f8a89b 100755 --- a/docker/ds/runtime-scripts/ds-cts/setup +++ b/docker/ds/runtime-scripts/ds-cts/setup @@ -5,6 +5,8 @@ # This uses PingDS setup profiles. If the schema for a profile has not been # changed it may use an older version. For example, PingAM CTS 7.5 still uses the 6.5 schema for configuration +set -e + AM_CTS="am-cts:6.5" DS_PROXIED_SERVER="ds-proxied-server:7.1" diff --git a/docker/ds/runtime-scripts/ds-idrepo/setup b/docker/ds/runtime-scripts/ds-idrepo/setup index 370539381..0b4ec4553 100755 --- a/docker/ds/runtime-scripts/ds-idrepo/setup +++ b/docker/ds/runtime-scripts/ds-idrepo/setup @@ -5,6 +5,8 @@ # This uses PingDS setup profiles. If the schema for a profile has not been # changed it may use an older version. For example, PingAM 7.5 still uses the 6.5 schema for configuration +set -e + CONFIG="am-config:6.5" AM_IDENTITY_STORE="am-identity-store" IDM_REPO="idm-repo" @@ -173,8 +175,8 @@ create-backend-index \ --backend-name amIdentityStore \ --set index-type:big-extensible \ --index-name fr-idm-managed-role-applications \ - --set index-extensible-matching-rule:1.3.6.1.4.1.36733.2.1.4.7 \ - --set index-extensible-matching-rule:1.3.6.1.4.1.36733.2.1.4.8 + --set big-index-extensible-matching-rule:1.3.6.1.4.1.36733.2.1.4.7 \ + --set big-index-extensible-matching-rule:1.3.6.1.4.1.36733.2.1.4.8 create-backend-vlv-index \ --backend-name amIdentityStore \ --index-name managed-group-by-cn \ @@ -207,10 +209,6 @@ create-backend-index \ --index-name fr-idm-managed-application-owner \ --set big-index-extensible-matching-rule:1.3.6.1.4.1.36733.2.1.4.7 \ --set big-index-extensible-matching-rule:1.3.6.1.4.1.36733.2.1.4.9 -create-backend-index \ - --backend-name idmRepo \ - --set index-type:big-equality \ - --index-name fr-idm-relationship-json create-backend-index \ --backend-name amIdentityStore \ --set index-type:big-equality \ @@ -219,10 +217,6 @@ create-backend-index \ --backend-name amIdentityStore \ --set index-type:big-equality \ --index-name fr-idm-managed-assignment-json -create-backend-index \ - --backend-name idmRepo \ - --set index-type:big-equality \ - --index-name fr-idm-reconassocentry-situation set-backend-index-prop \ --backend-name idmRepo \ --add index-type:big-equality \