Fix blueprint push location 83/18783/1
authorLusheng Ji <lji@research.att.com>
Fri, 13 Oct 2017 15:59:06 +0000 (15:59 +0000)
committerLusheng Ji <lji@research.att.com>
Fri, 13 Oct 2017 15:59:15 +0000 (15:59 +0000)
Issue-Id: DCAEGEN2-128
Change-Id: Icc62dd8c10101b57cdde3d98bbfd6cc6c189055d
Signed-off-by: Lusheng Ji <lji@research.att.com>
mvn-phase-lib.sh
mvn-phase-script.sh

index ce38042..6cef83e 100755 (executable)
@@ -364,7 +364,7 @@ upload_files_of_extension()
 {
   FILES=$(ls -1 ./*."$1")
   for F in $FILES ; do
-    upload_raw_file "$F"
+    upload_raw_file "$F" "$2"
   done
 }
 
index 184ac99..3da3e01 100755 (executable)
@@ -115,7 +115,11 @@ install)
   ;;
 deploy)
   echo "==> deploy phase script"
-  upload_files_of_extension yaml
+  if [ -z "$MVN_PROJECT_MODULEID" ]; then
+    upload_files_of_extension yaml
+  else
+    upload_files_of_extension yaml "$MVN_PROJECT_MODULEID"
+  fi
   ;;
 *)
   echo "==> unprocessed phase"