summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2018-05-07 15:28:37 -0700
committerPatrick Brady <pb071s@att.com>2018-05-07 23:14:44 -0700
commit6a6861d5a4c58c194b5cd81e9e1da164c83a393e (patch)
tree2b904ae170074a748c5940193107e5ce0660aaa9 /installation
parentf2f020d8ff896e4b9f45637f4bfacb80dabe909e (diff)
Download DGs from main appc project
Instead of using the extra copy of DGs that exist in the deployment project, we are now pulling them from the main appc project as part of the build. Change-Id: I5f7ddab8e9000dd626b5d26628d44dc6878ce524 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-887
Diffstat (limited to 'installation')
-rw-r--r--installation/appc/src/main/scripts/installZips.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/installation/appc/src/main/scripts/installZips.sh b/installation/appc/src/main/scripts/installZips.sh
index 8a93d8a..9296c3b 100644
--- a/installation/appc/src/main/scripts/installZips.sh
+++ b/installation/appc/src/main/scripts/installZips.sh
@@ -18,7 +18,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
###
if [ -z "$SETTINGS_FILE" -a -z "$GLOBAL_SETTINGS_FILE" -a -s "$HOME"/.m2/settings.xml ]
@@ -118,6 +117,11 @@ rm -f /tmp/platform-logic-installer*.zip
mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.deployment:platform-logic-installer:${APPC_OAM_VERSION}:zip -DoutputDirectory=/tmp -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.ssl.insecure=true
unzip -d ${targetDir} /tmp/platform-logic-installer*.zip
+echo "Downloading dg-loader DGs from nexus"
+mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc:appc-dg-provider:${APPC_VERSION} -DoutputDirectory=/tmp
+unzip -d ${targetDir}/svclogic/graphs/appc/json /tmp/appc-dg-provider*.jar json/**
+mv ${targetDir}/svclogic/graphs/appc/json/json ${targetDir}/svclogic/graphs/appc/json/dg-loader-dgs
+
echo "Downloading dg-loader-provider jar from nexus"
mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.plugins:dg-loader-provider:${APPC_VERSION}:jar:jar-with-dependencies -DoutputDirectory=${targetDir}/data
mv ${targetDir}/data/dg-loader-provider-*-jar-with-dependencies.jar ${targetDir}/data/dg-loader-provider-jar-with-dependencies.jar