Skip to content

Commit

Permalink
odpi#138 correct ordering of configuration api calls
Browse files Browse the repository at this point in the history
Signed-off-by: Nigel Jones <[email protected]>
  • Loading branch information
planetf1 committed Mar 29, 2022
1 parent 5166f3d commit 01b2a91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/egeria-cts/scripts/config-egeria.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ curl -f -k -w "\n (%{http_code} - %{url_effective})\n" --silent -X POST \
curl -f -k -w "\n (%{http_code} - %{url_effective})\n" --silent -X POST \
"${EGERIA_ENDPOINT}/open-metadata/admin-services/users/${EGERIA_USER}/servers/${TUT_SERVER}/organization-name?name=Egeria" || exit $?

curl -f -k -w "\n (%{http_code} - %{url_effective})\n" --silent -X POST \
"${EGERIA_ENDPOINT}/open-metadata/admin-services/users/${EGERIA_USER}/servers/${TUT_SERVER}/local-repository/metadata-collection-name/TUT_MDR" || exit $?

curl -f -k -w "\n (%{http_code} - %{url_effective})\n" --silent -X POST \
--header "Content-Type: application/json" \
"${EGERIA_ENDPOINT}/open-metadata/admin-services/users/${EGERIA_USER}/servers/${TUT_SERVER}/event-bus?topicURLRoot=egeria" \
Expand Down Expand Up @@ -75,6 +72,9 @@ else
exit 1
fi

curl -f -k -w "\n (%{http_code} - %{url_effective})\n" --silent -X POST \
"${EGERIA_ENDPOINT}/open-metadata/admin-services/users/${EGERIA_USER}/servers/${TUT_SERVER}/local-repository/metadata-collection-name/TUT_MDR" || exit $?

curl -f -k -w "\n (%{http_code} - %{url_effective})\n" --silent -X POST \
"${EGERIA_ENDPOINT}/open-metadata/admin-services/users/${EGERIA_USER}/servers/${TUT_SERVER}/cohorts/${EGERIA_COHORT}" || exit $?

Expand Down

0 comments on commit 01b2a91

Please sign in to comment.