Skip to content

Commit

Permalink
Merge branch 'main' into feature/2267-enumerating-airlock-files-when-…
Browse files Browse the repository at this point in the history
…submitting-a-new-request
  • Loading branch information
yuvalyaron authored Aug 30, 2022
2 parents a529aec + f0f64ff commit b9e3264
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devops/scripts/deploy_shared_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ for index in "${!property_names[@]}"; do
additional_props="$additional_props, \"$name\": \"$value\""
done

payload="{ \"templateName\": \"""${template_name}""\", \"properties\": { \"display_name\": \"Shared service ""${template_name}""\", \"description\": \"Automatically deployed ""${template_name}""\"${additional_props} } }"
display_name="${template_name#tre-shared-service-}"
payload="{ \"templateName\": \"""${template_name}""\", \"properties\": { \"display_name\": \"""${display_name}""\", \"description\": \"Automatically deployed ""${template_name}""\"${additional_props} } }"
deploy_result=$(curl -i "${curl_settings[@]}" -X "POST" "${tre_url}/api/shared-services" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
Expand Down

0 comments on commit b9e3264

Please sign in to comment.