summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/commons/pom.xml
AgeCommit message (Expand)AuthorFilesLines
2019-08-28Roll versionsTimoney, Dan (dt5972)1-1/+1
2019-08-15Update to NeonTimoney, Dan (dt5972)1-1/+1
2019-08-09Added service for Edit CBAEzhilarasi1-1/+1
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)1-1/+1
2019-05-23Add ssh client configuration serviceBrinda Santh1-0/+1
2019-05-23Add Kafka client servicesBrinda Santh1-0/+1
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)1-1/+1
2019-04-16Add grpc property serviceBrinda Santh1-0/+1
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouƫt1-2/+2
2019-03-21Compile against Fluorine SR2Timoney, Dan (dt5972)1-1/+1
2019-03-15Prepare for release 0.4.1Timoney, Dan (dt5972)1-2/+1
2019-03-11Refractor processor core module nameMuthuramalingam, Brinda Santh1-2/+14
2019-02-26Dmaap Publisher base codejanani b1-0/+1
2019-01-23ControllerBlueprint blueprintsProcessor containerSteve Alphonse Siani1-0/+2
2019-01-11Update to use correct parent pomTimoney, Dan (dt5972)1-1/+1
2019-01-10Prepare for release buildTimoney, Dan (dt5972)1-2/+1
2018-12-06Add Generic Rest ConfigurationMuthuramalingam, Brinda Santh(bs2796)1-0/+11
2018-11-15Blueprints Processor MicroserviceMuthuramalingam, Brinda Santh(bs2796)1-10/+2
2018-11-13Blueprints Processor MicroserviceMuthuramalingam, Brinda Santh(bs2796)1-1/+0
2018-11-10Controller Design StudioMuthuramalingam, Brinda Santh(bs2796)1-1/+1
2018-10-25Roll to initial Dublin versionTimoney, Dan (dt5972)1-1/+1
2018-09-27Roll to next snapshot versionTimoney, Dan (dt5972)1-1/+1
2018-08-23Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)1-1/+1
2018-08-16Blueprints Processor ServiceMuthuramalingam, Brinda Santh(bs2796)1-0/+62
quot;There is no MSB_ADDR" exit 1 fi MSB_ADDR=$1 CSAR_NAME=$2 echo $MSB_ADDR echo $CSAR_NAME # Wait for MSB initialization echo Wait for MSB initialization for i in {1..20}; do curl -sS -m 1 $MSB_ADDR > /dev/null && break sleep $i done #MSB initialized ########################################### ########################################### ########################################### ########################################### ########################################### ########################################### ############UOLOAD PACKAGE to MARKET PLACE###################### echo echo "############## UOLOAD PACKAGE to MARKET PLACE STARTED ##############"; UploadPackageResponse=$(curl -sS -X POST -H "Content-Type: multipart/form-data;" -F "file=@$CSAR_NAME" http://$MSB_ADDR/openoapi/vnfsdk-marketplace/v1/PackageResource/csars) if echo "$UploadPackageResponse" | grep -q "\"csarId\""; then echo "UOLOAD PACKAGE TO MARKET PLACE SUCSSS !!!"; else echo "UploadPackageResponse :$UploadPackageResponse" echo "UOLOAD PACKAGE TO MARKET PLACE FAILED !!!"; exit 1; fi UploadCsarId=$(echo ${UploadPackageResponse:11:36}) echo "PACKAGE ID:$UploadCsarId" echo "############## UOLOAD PACKAGE to MARKET PLACE END ##################"; #######UOLOAD PACKAGE to MARKET PLACE END############# ########################################### ########################################### ########################################### ########################################### ########################################### ########################################### ########################################### ################GET ON BOARD STATUS######## echo echo "####################### GETTING ON-BOARDING STATUS ##################"; #sleeping for 10 sec so thate ON Boarding operation should be happened at backend for pc in $(seq 1 10); do status=$((${pc}*10)); echo -ne "ON_BOARDING Status (%): $status\033[0K\r" sleep 1 done echo #Three Retries for getting On Boarding Result #count=0 #while [ $count -lt 3 ] #do # OnBoardStatusResponse=$(curl -sS -X GET "http://$MSB_ADDR/openoapi/vnfsdk-marketplace/v1/PackageResource/csars/$UploadCsarId/onboardstatus?operTypeId=functiontest&operId=functestexec" -H "Accept: application/json" -H "Content-Type: application/json") # echo $OnBoardStatusResponse # if echo "$OnBoardStatusResponse" | grep -q "\"status\":0"; then # break; # else # if [ $count -eq 3 ] # then # echo "ON-BOARDING OPERATION FAILED !!!"; # fi # count=`expr $count + 1`; # sleep 3; # fi #done echo "GET ON-BOARDING RESULT OPERATION SUCESS "; echo "##################### GETTING ON-BOARDING STATUS END #################"; ####################GET ON BOARD STATUS END############ ########################################## ########################################## ########################################## ########################################## ########################################## #################DOWNLOAD PACKAGE######### echo echo "############## DOWNLOADED PACKAGE FROM MARKET STARTED #################"; PACKAGE_NAME=market_temp.csar curl -sS -X GET "http://$MSB_ADDR/openoapi/vnfsdk-marketplace/v1/PackageResource/csars/$UploadCsarId/files" > $PACKAGE_NAME fileSize=$(du -b $PACKAGE_NAME | cut -f 1) if [ $fileSize -eq 0 ] then echo "DOWNLOADED PACKAGE FROM MARKET NOT PROPER, ON-BOARDING OPERATION FAILED !!!"; exit 1; fi echo "DOWNLOADED PACKAGE FROM MARKET OPERATION SUCESS !!!"; echo "MARKET PACKAGE NAME:$PACKAGE_NAME" echo "##################### DOWNLOADED PACKAGE FROM MARKET ##################"; ###################DOWNLOAD PACKAGE END##################### ########################################## ########################################## ########################################## ########################################## ##########CATALOUGE START################# echo PACKAGE_NAME=$CSAR_NAME #Check if common-tosca-catalog is registered with MSB or not #curl -sS -X GET http://$MSB_ADDR/api/microservices/v1/services/catalog/version/v1 -H "Accept: application/json" -H "Content-Type: application/json" #check if common-tosca-aria is registered with MSB or not #curl -sS -X GET http://$MSB_ADDR/api/microservices/v1/services/tosca/version/v1 -H "Accept: application/json" -H "Content-Type: application/json" #echo Sending POST request to Catalog CsarIdString=$(curl -sS -X POST -H "Content-Type: multipart/form-data; boundary=-WebKitFormBoundary7MA4YWxkTrZu0gW" -H "Cache-Control: no-cache" -H "Postman-Token: abcb6497-b225-c592-01be-e9ff460ca188" -F "file=@$PACKAGE_NAME" http://$MSB_ADDR/openoapi/catalog/v1/csars) #getting csarId from the output of curl request CsarId=$(echo ${CsarIdString:11:36}) echo $CsarId echo $CsarIdString #csarid is sucessfully stored in CsarId variable echo "====finished======" ##########CATALOUGE END############ echo "DELETING PACAKE LOCAL COPY:$PACKAGE_NAME"; #rm $PACKAGE_NAME;