BA_IDENTITY=${BA_IDENTITY:-dmaap-bc@dmaap-bc.onap.org}
BA_PWD=${BA_PWD:-'demo123456!'}
-
-
-
config() {
echo "ENTER config"
set -x
CURLCRED="-K $PEMDIR/curl.cred"
elif [ -f $CAPEM -a -f $CLIENTPEM -a -f $KEYPEM ]
then
- echo "--key $PEMDIR/$KEYPEM --cacert $PEMDIR/$CAPEM --cert $PEMDIR/${CLIENTPEM}:${CERTPWD}" > $PEMDIR/curl.cred
+ printf "key \"$PEMDIR/$KEYPEM\"\ncacert \"$PEMDIR/$CAPEM\"\ncert \"$PEMDIR/${CLIENTPEM}:${CERTPWD}\"" > $PEMDIR/curl.cred
CURLCRED="-K $PEMDIR/curl.cred"
else
echo "Warning: PEM files for authorization not found!"
done
set +x
}
+
dopost() {
set -x
RETRY_TIME=60
set +x
}
+
doprov() {
set -x
done
set +x
}
+
delay() {
echo "DELAY=$DELAY"
if [ ! -z "$DELAY" ]