Results

By type

          + curl http://consul:8500/v1/agent/services
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     2  100     2    0     0     10      0 --:--:-- --:--:-- --:--:--    10
++ curl -Ss '{http://consul:8500}/v1/status/leader'
+ [[ "10.242.72.12:8300" != \"\" ]]
+ ((  4  ))
+ case $1 in
+ s=(${2//|/ })
+ register_service config-binding-service config-binding-service.onap 10000
+ service='{"Node": "dcae", "Address": "config-binding-service.onap", "Service": {"Service": "config-binding-service", "Address": "config-binding-service.onap", "Port": 10000}}'
+ echo '{"Node":' '"dcae",' '"Address":' '"config-binding-service.onap",' '"Service":' '{"Service":' '"config-binding-service",' '"Address":' '"config-binding-service.onap",' '"Port":' '10000}}'
{}{"Node": "dcae", "Address": "config-binding-service.onap", "Service": {"Service": "config-binding-service", "Address": "config-binding-service.onap", "Port": 10000}}
+ curl -v -X PUT --data-binary '{"Node": "dcae", "Address": "config-binding-service.onap", "Service": {"Service": "config-binding-service", "Address": "config-binding-service.onap", "Port": 10000}}' -H 'Content-Type: application/json' http://consul:8500/v1/catalog/register
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 10.242.72.12:8500...
* Connected to consul (10.242.72.12) port 8500 (#0)
> PUT /v1/catalog/register HTTP/1.1
> Host: consul:8500
> User-Agent: curl/7.69.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 165
> 
} [165 bytes data]
* upload completely sent off: 165 out of 165 bytes

100   165    0     0  100   165      0    816 --:--:-- --:--:-- --:--:--   816
100   165    0     0  100   165      0    137  0:00:01  0:00:01 --:--:--   137
100   165    0     0  100   165      0     74  0:00:02  0:00:02 --:--:--    74
100   165    0     0  100   165      0     51  0:00:03  0:00:03 --:--:--    51
100   165    0     0  100   165      0     39  0:00:04  0:00:04 --:--:--    39
100   165    0     0  100   165      0     31  0:00:05  0:00:05 --:--:--     0
100   165    0     0  100   165      0     26  0:00:06  0:00:06 --:--:--     0
100   165    0     0  100   165      0     22  0:00:07  0:00:07 --:--:--     0* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Mon, 16 Aug 2021 23:16:58 GMT
< Content-Length: 4
< 
{ [4 bytes data]

100   169    0     4  100   165      0     22  0:00:07  0:00:07 --:--:--     0
* Connection #0 to host consul left intact
+ shift 2
+ ((  2  ))
+ case $1 in
+ s=(${2//|/ })
+ register_service config_binding_service config-binding-service.onap 10000
+ service='{"Node": "dcae", "Address": "config-binding-service.onap", "Service": {"Service": "config_binding_service", "Address": "config-binding-service.onap", "Port": 10000}}'
+ echo '{"Node":' '"dcae",' '"Address":' '"config-binding-service.onap",' '"Service":' '{"Service":' '"config_binding_service",' '"Address":' '"config-binding-service.onap",' '"Port":' '10000}}'
+ curl -v -X PUT --data-binary '{"Node": "dcae", "Address": "config-binding-service.onap", "Service": {"Service": "config_binding_service", "Address": "config-binding-service.onap", "Port": 10000}}' -H 'Content-Type: application/json' http://consul:8500/v1/catalog/register
true{"Node": "dcae", "Address": "config-binding-service.onap", "Service": {"Service": "config_binding_service", "Address": "config-binding-service.onap", "Port": 10000}}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 10.242.72.12:8500...
* Connected to consul (10.242.72.12) port 8500 (#0)
> PUT /v1/catalog/register HTTP/1.1
> Host: consul:8500
> User-Agent: curl/7.69.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 165
> 
} [165 bytes data]
* upload completely sent off: 165 out of 165 bytes

100   165    0     0  100   165      0    137  0:00:01  0:00:01 --:--:--   137
100   165    0     0  100   165      0     74  0:00:02  0:00:02 --:--:--    74
100   165    0     0  100   165      0     51  0:00:03  0:00:03 --:--:--    51
100   165    0     0  100   165      0     39  0:00:04  0:00:04 --:--:--    39
100   165    0     0  100   165      0     31  0:00:05  0:00:05 --:--:--    31
100   165    0     0  100   165      0     26  0:00:06  0:00:06 --:--:--     0
100   165    0     0  100   165      0     22  0:00:07  0:00:07 --:--:--     0
100   165    0     0  100   165      0     20  0:00:08  0:00:08 --:--:--     0
100   165    0     0  100   165      0     17  0:00:09  0:00:09 --:--:--     0* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Mon, 16 Aug 2021 23:17:07 GMT
< Content-Length: 4
< 
{ [4 bytes data]

100   169    0     4  100   165      0     17  0:00:09  0:00:09 --:--:--     0
* Connection #0 to host consul left intact
+ shift 2
+ ((  0  ))
true