aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/deployment
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2018-04-25 11:23:07 +0530
committerMurali-P <murali.p@huawei.com>2018-04-25 11:55:01 +0530
commite9ff86cbd26db4a699a17d7d60727334e219b6d0 (patch)
treef1426c055855e65ddfa96b6638d67596fc52c024 /vnfmarket-be/deployment
parent5ef837efbf16ed70e38cdeb75a8761e0c5f42326 (diff)
Enable swagger documentation for API
Swagger UI and Swagger docs Issue-ID: VNFSDK-157 Change-Id: I9aeda5c364741c975a8d0d8b788a22c9d3f5f39f Signed-off-by: Murali-P <murali.p@huawei.com>
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}")