expect 204 on make-admin task

This commit is contained in:
Marco Lettere 2022-03-22 17:31:19 +01:00
parent 25bbf13a24
commit dffdeeaa94
2 changed files with 4 additions and 4 deletions

View File

@ -16,10 +16,10 @@ workflows:
# - create_system_service # - create_system_service
# - delete_system_service # - delete_system_service
# - add_all_system_services_to_vre # - add_all_system_services_to_vre
- create_workspace_client # - create_workspace_client
- add_workspace_client_to_context - add_workspace_client_to_context
- enable_workspace_clients_for_context # - enable_workspace_clients_for_context
- add_workspace_client_to_contexts # - add_workspace_client_to_contexts
# - ghn_client_add_to_context # - ghn_client_add_to_context
# - ghn_client_add_to_contexts # - ghn_client_add_to_contexts
# - ghn_client_create # - ghn_client_create

View File

@ -214,7 +214,7 @@
"inputParameters" : { "inputParameters" : {
"url" : "${init.input.storagehub}/workspace/groups/${shubify_context_name.output.result.shubified_context_name}/admins", "url" : "${init.input.storagehub}/workspace/groups/${shubify_context_name.output.result.shubified_context_name}/admins",
"method" : "PUT", "method" : "PUT",
"expect" : [200, 400, 500], "expect" : [200, 204, 400, 500],
"body" :{ "body" :{
"userId" : "${get_service_account_user.output.body.username}" "userId" : "${get_service_account_user.output.body.username}"
}, },