deploy.sh appears to have been carried over unchanged from the previous (internal) repository layout. It references directories, config/manifest templates that no longer exis. As a result it cannot run to completion against the current samples (ams-javalin-shopping, ams-spring-boot-shopping, ams-cap-bookshop).
Broken references
java_dir=java-security-ams (line 3) — no such directory. Current sample dirs are ams-javalin-shopping, ams-spring-boot-shopping, ams-cap-bookshop. (spring-security-ams exists only under legacy-v3-samples/.)
spring_dir=spring-security-ams (line 4) — not at repo root; only exists as legacy-v3-samples/spring-security-ams.
- Missing config templates —
sed'd/read but present nowhere:
$folder/ias-config-multi-tenant.json.template (line 69)
$folder/ias-config-single-tenant.json.template (line 71)
$folder/sms-config.json.template (line 94)
- Missing manifest templates — copied by
prepare_java_deployment, neither exists:
$java_dir/manifest-multi-tenant.yml (line 147)
$java_dir/manifest-single-tenant.yml (line 187)
cf push -f "$folder"/manifest.yml (line 102) — no manifest.yml exists in any sample dir, and the "copy template → manifest.yml" chain that would create it is itself broken (see point 4).
- The script reads and writes a different set of keys than the ones present in the current
vars.yml:
PROVIDER_SUBACCOUNT_SUBDOMAIN: (lines 149, 166) --> PROVIDER_SUBDOMAIN:
SUBSCRIBER_SUBACCOUNT_SUBDOMAIN: (lines 150, 182) --> not present
deploy.shappears to have been carried over unchanged from the previous (internal) repository layout. It references directories, config/manifest templates that no longer exis. As a result it cannot run to completion against the current samples (ams-javalin-shopping,ams-spring-boot-shopping,ams-cap-bookshop).Broken references
java_dir=java-security-ams(line 3) — no such directory. Current sample dirs areams-javalin-shopping,ams-spring-boot-shopping,ams-cap-bookshop. (spring-security-amsexists only underlegacy-v3-samples/.)spring_dir=spring-security-ams(line 4) — not at repo root; only exists aslegacy-v3-samples/spring-security-ams.sed'd/read but present nowhere:$folder/ias-config-multi-tenant.json.template(line 69)$folder/ias-config-single-tenant.json.template(line 71)$folder/sms-config.json.template(line 94)prepare_java_deployment, neither exists:$java_dir/manifest-multi-tenant.yml(line 147)$java_dir/manifest-single-tenant.yml(line 187)cf push -f "$folder"/manifest.yml(line 102) — nomanifest.ymlexists in any sample dir, and the "copy template → manifest.yml" chain that would create it is itself broken (see point 4).vars.yml:PROVIDER_SUBACCOUNT_SUBDOMAIN:(lines 149, 166) -->PROVIDER_SUBDOMAIN:SUBSCRIBER_SUBACCOUNT_SUBDOMAIN:(lines 150, 182) --> not present