summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/deployment
diff options
context:
space:
mode:
authorAvinash S <avinash.s@huawei.com>2018-04-25 06:50:45 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-25 06:50:45 +0000
commit27cf8fd7b7c1e2c7788eeb4315887af6aee0a791 (patch)
tree57c5e368f973dc418b2b6f920e96d220c6d928d2 /vnfmarket-be/deployment
parent7613d5c3b991c565c4a7d54b91ce307a139f4419 (diff)
parente9ff86cbd26db4a699a17d7d60727334e219b6d0 (diff)
Merge "Enable swagger documentation for API"
Diffstat (limited to 'vnfmarket-be/deployment')
-rw-r--r--vnfmarket-be/deployment/zip/pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/vnfmarket-be/deployment/zip/pom.xml b/vnfmarket-be/deployment/zip/pom.xml
index e0b4e7e9..d2f562f7 100644
--- a/vnfmarket-be/deployment/zip/pom.xml
+++ b/vnfmarket-be/deployment/zip/pom.xml
@@ -69,6 +69,7 @@
ant.mkdir(dir: "${deployUnzip}/webapps/ROOT")
ant.mkdir(dir: "${deployUnzip}/webapps/onapui")
+ ant.mkdir(dir: "${deployUnzip}/webapps/apidocs")
ant.copy(todir: "${deployUnzip}") {
fileset(dir: "${basedir}/src/main/release"){
@@ -83,6 +84,13 @@
ant.copy(todir: "${deployUnzip}/webapps/onapui") {
fileset(dir: "${project.build.directory}/../../../../vnfmarket/src/main/webapp")
}
+
+ ant.copy(todir: "${deployUnzip}/webapps/apidocs") {
+ fileset(dir: "${project.build.directory}/../../../vnf-sdk-marketplace/target/swagger-ui-master/dist") {
+ exclude(name: "index.html")
+ }
+ fileset(dir: "${project.build.directory}/../../../vnf-sdk-marketplace/src/main/webapp/apidocs")
+ }
ant.zip(destfile: "${deployFolder}/${outfileName}") {
fileset(dir: "${deployUnzip}")