From f0dad13dd1b44a7aa8720af48f479e36f7dcd886 Mon Sep 17 00:00:00 2001 From: Takamune Cho Date: Mon, 18 Dec 2017 16:16:43 -0600 Subject: Repackage appc-config-audit to onap Change-Id: I535761d86a0abb4a6555672710a414bd3f9bb362 Issue-ID: APPC-13 Signed-off-by: Takamune Cho --- .../src/assembly/assemble_installer_zip.xml | 66 ++++++++++++---------- .../src/assembly/assemble_mvnrepo_zip.xml | 46 ++++++++------- .../src/main/resources/scripts/install-feature.sh | 14 +++-- 3 files changed, 69 insertions(+), 57 deletions(-) (limited to 'appc-config/appc-config-audit/installer/src') diff --git a/appc-config/appc-config-audit/installer/src/assembly/assemble_installer_zip.xml b/appc-config/appc-config-audit/installer/src/assembly/assemble_installer_zip.xml index f6495af19..969022cc9 100644 --- a/appc-config/appc-config-audit/installer/src/assembly/assemble_installer_zip.xml +++ b/appc-config/appc-config-audit/installer/src/assembly/assemble_installer_zip.xml @@ -1,9 +1,11 @@ @@ -22,37 +26,37 @@ - audit - - zip - + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> + audit + + zip + - - false + + false - - - target/stage/ - ${application.name} - 755 - - *.sh - - - - target/stage/ - ${application.name} - 644 - - *.sh - - - + + + target/stage/ + ${application.name} + 755 + + *.sh + + + + target/stage/ + ${application.name} + 644 + + *.sh + + + diff --git a/appc-config/appc-config-audit/installer/src/assembly/assemble_mvnrepo_zip.xml b/appc-config/appc-config-audit/installer/src/assembly/assemble_mvnrepo_zip.xml index 9f24d65b1..bb95e2123 100644 --- a/appc-config/appc-config-audit/installer/src/assembly/assemble_mvnrepo_zip.xml +++ b/appc-config/appc-config-audit/installer/src/assembly/assemble_mvnrepo_zip.xml @@ -1,9 +1,11 @@ @@ -22,26 +26,26 @@ - audit - - zip - + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> + audit + + zip + - - false + + false - - - target/assembly/ - . - - - - + + + target/assembly/ + . + + + + diff --git a/appc-config/appc-config-audit/installer/src/main/resources/scripts/install-feature.sh b/appc-config/appc-config-audit/installer/src/main/resources/scripts/install-feature.sh index d3d2ea6e7..0dad46d81 100644 --- a/appc-config/appc-config-audit/installer/src/main/resources/scripts/install-feature.sh +++ b/appc-config/appc-config-audit/installer/src/main/resources/scripts/install-feature.sh @@ -1,9 +1,11 @@ ### # ============LICENSE_START======================================================= -# ONAP : APP-C +# ONAP : APPC # ================================================================================ -# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. +# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. # ================================================================================ +# Copyright (C) 2017 Amdocs +# ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -15,6 +17,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# ECOMP is a trademark and service mark of AT&T Intellectual Property. # ============LICENSE_END========================================================= # ECOMP is a trademark and service mark of AT&T Intellectual Property. ### @@ -30,10 +34,10 @@ REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip if [ -f ${REPOZIP} ] then - unzip -n -d ${ODL_HOME} ${REPOZIP} + unzip -n -d ${ODL_HOME} ${REPOZIP} else - echo "ERROR : repo zip ($REPOZIP) not found" - exit 1 + echo "ERROR : repo zip ($REPOZIP) not found" + exit 1 fi ${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repositories} -- cgit 1.2.3-korg