aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/installer
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-02-28 21:13:09 -0500
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-02-28 21:13:09 -0500
commit131f1fab6bea5eeb6467e8836ec00ef7c6bf5eac (patch)
tree6bab70fa7c38622c76a0384a9dd348daa80b1ab5 /generic-resource-api/installer
parent2db328c6cd234acdfc836c995876ef12a43dc7f5 (diff)
Nitrogen port : sdnc-northbound
Update sdnc/northbound to OpenDaylight Nitrogen release. Change-Id: I6e299418a7ab441899b78b5d3df5f8ee96829222 Issue-ID: SDNC-269 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'generic-resource-api/installer')
-rwxr-xr-xgeneric-resource-api/installer/pom.xml29
-rw-r--r--generic-resource-api/installer/src/main/resources/scripts/install-feature.sh9
2 files changed, 20 insertions, 18 deletions
diff --git a/generic-resource-api/installer/pom.xml b/generic-resource-api/installer/pom.xml
index e3ca5eb8..ea8967e4 100755
--- a/generic-resource-api/installer/pom.xml
+++ b/generic-resource-api/installer/pom.xml
@@ -1,20 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
- <artifactId>generic-resource-api</artifactId>
- <groupId>org.onap.sdnc.northbound</groupId>
- <version>1.3.0-SNAPSHOT</version>
+ <groupId>org.onap.ccsdk.parent</groupId>
+ <artifactId>odlparent-lite</artifactId>
+ <version>1.0.1-SNAPSHOT</version>
+ <relativePath />
</parent>
+
+ <groupId>org.onap.sdnc.northbound</groupId>
<artifactId>generic-resource-api-installer</artifactId>
- <name>Generic Resource API - Karaf Installer</name>
+ <version>1.3.1-SNAPSHOT</version>
<packaging>pom</packaging>
+ <name>sdnc-northbound :: generic-resource-api :: ${project.artifactId}</name>
+
<properties>
<application.name>sdnc-generic-resource-api</application.name>
- <features.boot>sdnc-generic-resource-api</features.boot>
- <features.repositories>mvn:org.onap.sdnc.northbound/generic-resource-api-features/${project.version}/xml/features</features.repositories>
+ <features.boot>${application.name}</features.boot>
+ <features.repositories>mvn:org.onap.sdnc.northbound/${application.name}/${project.version}/xml/features</features.repositories>
<include.transitive.dependencies>false</include.transitive.dependencies>
</properties>
@@ -22,10 +27,10 @@
<dependency>
<groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>generic-resource-api-features</artifactId>
+ <artifactId>${application.name}</artifactId>
<version>${project.version}</version>
- <classifier>features</classifier>
<type>xml</type>
+ <classifier>features</classifier>
<exclusions>
<exclusion>
<groupId>*</groupId>
@@ -100,8 +105,7 @@
<useRepositoryLayout>true</useRepositoryLayout>
<addParentPoms>false</addParentPoms>
<copyPom>false</copyPom>
- <includeGroupIds>org.onap.sdnc</includeGroupIds>
- <excludeArtifactIds>sli-common,sli-provider,dblib-common,dblib-provider</excludeArtifactIds>
+ <includeGroupIds>org.onap.sdnc.northbound</includeGroupIds>
<scope>provided</scope>
</configuration>
</execution>
@@ -136,5 +140,4 @@
</plugins>
</build>
-
</project>
diff --git a/generic-resource-api/installer/src/main/resources/scripts/install-feature.sh b/generic-resource-api/installer/src/main/resources/scripts/install-feature.sh
index 6e8620e1..d5f620f1 100644
--- a/generic-resource-api/installer/src/main/resources/scripts/install-feature.sh
+++ b/generic-resource-api/installer/src/main/resources/scripts/install-feature.sh
@@ -10,9 +10,9 @@
# 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
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,7 +23,6 @@
ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
ODL_KARAF_CLIENT=${ODL_KARAF_CLIENT:-${ODL_HOME}/bin/client}
-ODL_KARAF_CLIENT_OPTS=${ODL_KARAF_CLIENT_OPTS:-"-u karaf"}
INSTALLERDIR=$(dirname $0)
REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip
@@ -36,5 +35,5 @@ else
exit 1
fi
-${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repositories}
-${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:install ${features.boot}
+${ODL_KARAF_CLIENT} feature:repo-add ${features.repositories}
+${ODL_KARAF_CLIENT} feature:install ${features.boot}