Results

By type

          + '[' '!' -d /opt/app/dbc-client ]
+ cd /opt/app/osaaf/local
+ pwd
+ ls -l
DELAY=0
ENTER config
/opt/app/osaaf/local
total 20
-rw-rw-r--    1 dbc      onap          1879 May  6  2019 ca.pem
-rw-rw-r--    1 dbc      onap          3131 May  6  2019 client.pem
-rw-rw-r--    1 dbc      onap          1997 May  6  2019 key.pem
-rw-rw-r--    1 dbc      onap          4151 May  6  2019 org.onap.dmaap-bc.p12
+ echo 'AUTH_METHOD=basicAuth'
+ '[' basicAuth '=' basicAuth ]
AUTH_METHOD=basicAuth
+ echo '-u dmaap-bc@dmaap-bc.onap.org:demo123456!'
+ CURLCRED='-K /opt/app/osaaf/local/curl.cred'
+ echo 'CURLCRED=-K /opt/app/osaaf/local/curl.cred'
+ cd /opt/app/dbc-client
CURLCRED=-K /opt/app/osaaf/local/curl.cred
+ find . -type f -exec ls -l '{}' ';'
-rwxrwxr-x    1 dbc      onap          4380 May  6  2019 ./bin/dbc-client
-rw-rw-r--    1 dbc      onap          1159 May  6  2019 ./etc/org.onap.dmaap-bc.cred.props
-rw-rw-r--    1 dbc      onap           751 May  6  2019 ./etc/org.onap.dmaap-bc.crontab.sh
-rw-rw-r--    1 dbc      onap          1413 May  6  2019 ./etc/org.onap.dmaap-bc.trust.jks
-rw-rw-r--    1 dbc      onap           289 May  6  2019 ./etc/org.onap.dmaap-bc.location.props
-rw-rw-r--    1 dbc      onap           365 May  6  2019 ./etc/org.onap.dmaap-bc.showpass
-rw-rw-r--    1 dbc      onap          3613 May  6  2019 ./etc/org.onap.dmaap-bc.jks
-rw-rw-r--    1 dbc      onap          2074 May  6  2019 ./etc/org.onap.dmaap-bc.keyfile
-rw-rw-r--    1 dbc      onap           641 May  6  2019 ./etc/org.onap.dmaap-bc.props
-rw-rw-r--    1 dbc      onap          1516 May  6  2019 ./etc/version.properties
+ find /opt/app/config -type f -exec ls -l '{}' ';'
-rw-r--r--    1 root     root            80 Dec 13 23:05 /opt/app/config/dcaeLocations/..2021_12_13_23_05_19.720154877/san-francisco.json
-rw-r--r--    1 root     root           381 Dec 13 23:05 /opt/app/config/topics/..2021_12_13_23_05_19.859973828/PNF_REGISTRATION.json
-rw-r--r--    1 root     root           431 Dec 13 23:05 /opt/app/config/topics/..2021_12_13_23_05_19.859973828/PNF_READY.json
-rw-r--r--    1 root     root           815 Dec 13 23:05 /opt/app/config/topics/..2021_12_13_23_05_19.859973828/mirrormakeragent.json
-rw-r--r--    1 root     root           157 Dec 13 23:05 /opt/app/config/dmaap/..2021_12_13_23_05_19.983243091/onap.json
-rw-r--r--    1 root     root           120 Dec 13 23:05 /opt/app/config/mr_clusters/..2021_12_13_23_05_19.236698168/san-francisco.json
+ '[' '!' -f /opt/app/config/conf/dbc-client.env ]
+ echo 'WARNING: Expected env file /opt/app/config/conf/dbc-client.env not found. Default behaviors in effect'
+ '[' N '!=' Y ]
+ echo 'Creating /opt/app/dbc-client/ok_to_exit so no waiting...'
WARNING: Expected env file /opt/app/config/conf/dbc-client.env not found. Default behaviors in effect
Creating /opt/app/dbc-client/ok_to_exit so no waiting...
+ 
+ set +x
+ echo 'ENTER init'
+ '[' '!' -d /opt/app/config ]
+ rc=999
+ '[' 999 '!=' 200 ]
+ sleep 10
ENTER init
+ curl -K /opt/app/osaaf/local/curl.cred -s -o /dev/null -I -w '%{http_code}' -X GET -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' https://dmaap-bc:8443/webapi/dmaap
get dmaap response=200
+ rc=200
+ echo 'get dmaap response=200'
+ '[' 200 '!=' 200 ]
+ set +x
+ cd /opt/app/config
+ pwd
+ '[' -d dmaap ]
/opt/app/config
+ ls dmaap/onap.json
+ echo 'POST dmaap/onap.json to dmaap'
+ dopost dmaap/onap.json dmaap
+ set -x
+ RETRY_TIME=60
+ loop=true
+ '[' true '=' true ]
POST dmaap/onap.json to dmaap
+ curl -K /opt/app/osaaf/local/curl.cred -s -X POST -w '%{http_code}' -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' -d @dmaap/onap.json https://dmaap-bc:8443/webapi/dmaap -o /dev/null
+ rc=200
response=200
+ echo 'response=200'
+ loop=false
+ '[' false '=' true ]
+ set +x
+ RETRY_TIME=60
+ loop=true
+ '[' true '=' true ]
POST dcaeLocations/san-francisco.json to dcaeLocations
+ curl -K /opt/app/osaaf/local/curl.cred -s -X POST -w '%{http_code}' -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' -d @dcaeLocations/san-francisco.json https://dmaap-bc:8443/webapi/dcaeLocations -o /dev/null
response=201
+ rc=201
+ echo 'response=201'
+ loop=false
+ '[' false '=' true ]
+ set +x
+ RETRY_TIME=60
+ loop=true
+ '[' true '=' true ]
POST mr_clusters/san-francisco.json to mr_clusters
+ curl -K /opt/app/osaaf/local/curl.cred -s -X POST -w '%{http_code}' -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' -d @mr_clusters/san-francisco.json https://dmaap-bc:8443/webapi/mr_clusters -o /dev/null
+ rc=201
response=201
+ echo 'response=201'
+ loop=false
+ '[' false '=' true ]
+ set +x
POST topics/PNF_READY.json to topics
+ RETRY_TIME=60
+ loop=true
+ '[' true '=' true ]
+ curl -K /opt/app/osaaf/local/curl.cred -s -X POST -w '%{http_code}' -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' -d @topics/PNF_READY.json https://dmaap-bc:8443/webapi/topics -o /dev/null
response=201
POST topics/PNF_REGISTRATION.json to topics
+ rc=201
+ echo 'response=201'
+ loop=false
+ '[' false '=' true ]
+ set +x
+ RETRY_TIME=60
+ loop=true
+ '[' true '=' true ]
+ curl -K /opt/app/osaaf/local/curl.cred -s -X POST -w '%{http_code}' -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' -d @topics/PNF_REGISTRATION.json https://dmaap-bc:8443/webapi/topics -o /dev/null
response=201
+ rc=201
+ echo 'response=201'
+ loop=false
+ '[' false '=' true ]
+ set +x
POST topics/mirrormakeragent.json to topics
+ RETRY_TIME=60
+ loop=true
+ '[' true '=' true ]
+ curl -K /opt/app/osaaf/local/curl.cred -s -X POST -w '%{http_code}' -H 'X-ECOMP-RequestID: dmaap-bc-dmaap-provisioning' -H 'Content-Type: application/json' -d @topics/mirrormakeragent.json https://dmaap-bc:8443/webapi/topics -o /dev/null
response=201
+ rc=201
+ echo 'response=201'
+ loop=false
+ '[' false '=' true ]
+ set +x
ls: dr_nodes/*.json: No such file or directory
ls: feeds/*.json: No such file or directory
Check /opt/app/dbc-client/ok_to_exit