Skip to content

Commit 0634a3e

Browse files
committed
Remove leftovers from old schema-file: Fix bosh-release;
1 parent 906c8aa commit 0634a3e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jobs/golangapiserver/templates/apiserver.yml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ broker_credentials:
8686
catalog_path: /var/vcap/jobs/golangapiserver/config/catalog.json
8787
catalog_schema_path: /var/vcap/packages/golangapiserver/catalog.schema.json
8888
info_file_path: /var/vcap/jobs/golangapiserver/config/info.json
89-
policy_schema_path: /var/vcap/packages/golangapiserver/policy_json.schema.json
89+
policy_schema_path: /var/vcap/packages/golangapiserver/scaling-policy.legacy-schema.json
9090
dashboard_redirect_uri: <%= p("autoscaler.apiserver.broker.server.dashboard_redirect_uri") %>
9191
default_credential_type: <%= p("autoscaler.apiserver.broker.default_credential_type") %>
9292

packages/golangapiserver/packaging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ cp --archive "${BOSH_COMPILE_TARGET}/autoscaler/build/api" "${BOSH_INSTALL_TARGE
1313
cp --archive "${BOSH_COMPILE_TARGET}/autoscaler/api/db/api.db.changelog.yml" "${BOSH_INSTALL_TARGET}"
1414
cp --archive "${BOSH_COMPILE_TARGET}/autoscaler/api/db/servicebroker.db.changelog.yaml" "${BOSH_INSTALL_TARGET}"
1515

16-
cp --archive "${BOSH_COMPILE_TARGET}/autoscaler/api/policyvalidator/policy_json.schema.json" "${BOSH_INSTALL_TARGET}"
16+
cp --archive "${BOSH_COMPILE_TARGET}"/autoscaler/api/policyvalidator/*.json "${BOSH_INSTALL_TARGET}" # 🚧 To-do! Check if the files are found.
1717
cp --archive "${BOSH_COMPILE_TARGET}/autoscaler/api/catalog.schema.json" "${BOSH_INSTALL_TARGET}"

src/autoscaler/api/default_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"catalog_schema_path": "/home/vcap/app/api/schemas/catalog.schema.json",
1111
"info_file_path": "/home/vcap/app/api/default_info.json",
12-
"policy_schema_path": "/home/vcap/app/api/policyvalidator/policy_json.schema.json",
12+
"policy_schema_path": "/home/vcap/app/api/policyvalidator/scaling-policy.legacy-schema.json",
1313
"dashboard_redirect_uri": null,
1414
"default_credential_type": "binding-secret",
1515
"health": {

0 commit comments

Comments
 (0)