aboutsummaryrefslogtreecommitdiffstats
path: root/installation/appc
diff options
context:
space:
mode:
authorRyan Young <ry303t@att.com>2018-06-07 14:54:32 -0400
committerRyan Young <ry303t@att.com>2018-06-07 14:56:01 -0400
commitcc3142b7f07c697167ace366887acb2836bb48ef (patch)
tree7c623b089ff8b4627d8b4f27a80831c5f69f77a4 /installation/appc
parent27525d8cce704f03b28eb8833ac1533126ece7da (diff)
Update to new two-way certificate for AAF
Change-Id: I5079eca9bb781eb5d43fd53143587f74bf257022 Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-985
Diffstat (limited to 'installation/appc')
-rw-r--r--installation/appc/pom.xml2
-rw-r--r--installation/appc/src/main/scripts/installZips.sh3
2 files changed, 5 insertions, 0 deletions
diff --git a/installation/appc/pom.xml b/installation/appc/pom.xml
index f82b170..bb9a0d8 100644
--- a/installation/appc/pom.xml
+++ b/installation/appc/pom.xml
@@ -136,6 +136,7 @@ limitations under the License.
<includes>
<include>*.jks</include>
<include>*.p12</include>
+ <include>*keyfile</include>
</includes>
<filtering>false</filtering>
</resource>
@@ -380,6 +381,7 @@ limitations under the License.
<includes>
<include>*.jks</include>
<include>*.p12</include>
+ <include>*.keyfile</include>
</includes>
<filtering>false</filtering>
</resource>
diff --git a/installation/appc/src/main/scripts/installZips.sh b/installation/appc/src/main/scripts/installZips.sh
index 01045d4..ccc610c 100644
--- a/installation/appc/src/main/scripts/installZips.sh
+++ b/installation/appc/src/main/scripts/installZips.sh
@@ -131,6 +131,9 @@ echo "Downloading aaf-cadi-shiro from nexus"
mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.aaf.authz:aaf-shiro-aafrealm-osgi-bundle:${AAF_SHIRO_VERSION} -DoutputDirectory=${targetDir}/data
mv ${targetDir}/data/aaf-shiro-aafrealm-osgi-bundle-*.jar ${targetDir}/data/aaf-shiro-aafrealm-osgi-bundle.jar
+echo "Setting keyfile to readonly"
+chmod 400 ${targetDir}/data/stores/org.onap.appc.keyfile
+
echo "Downloading CDT Proxy Jar from nexus"
mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.cdt:cdt-proxy-service:${APPC_CDT_VERSION} -DoutputDirectory=${targetDir}/cdt-proxy-service
mv ${targetDir}/cdt-proxy-service/cdt-proxy-service-*.jar ${targetDir}/cdt-proxy-service/cdt-proxy-service.jar