Skip to content

Commit

Permalink
Config auth and non-auth nmos-cpp-node/registry with label
Browse files Browse the repository at this point in the history
  • Loading branch information
lo-simon committed Dec 14, 2023
1 parent 10a84cd commit fb8609e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sandbox/run_nmos_testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ common_params=",\
\"host_address\":\"${host_ip}\",\
\"host_addresses\":[\"${host_ip}\"]\
"
registry_params=""
node_params=""
registry_params=",\
\"label\":\"nmos-cpp-registry\"\
"
node_params=",\
\"label\":\"nmos-cpp-node\"\
"

if [[ "${config_secure}" == "True" ]]; then
secure=true
Expand Down Expand Up @@ -116,11 +120,7 @@ if [[ "${config_auth}" == "True" ]]; then
\"server_authorization\":true,\
\"service_unavailable_retry_after\":25\
"
registry_params+=",\
\"label\":\"nmos-cpp-registry\"\
"
node_params+=",\
\"label\":\"nmos-cpp-node\",\
\"client_authorization\":true,\
\"authorization_flow\":\"client_credentials\",\
\"authorization_scopes\":[\"registration\"],\
Expand Down

0 comments on commit fb8609e

Please sign in to comment.