summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dmi-service/openapi/openapi-datajob.yml2
-rw-r--r--dmi-service/openapi/openapi.yml2
-rw-r--r--dmi-service/pom.xml28
-rw-r--r--docs/api/swagger/openapi-datajob.yaml2
-rw-r--r--docs/api/swagger/openapi.yaml2
5 files changed, 32 insertions, 4 deletions
diff --git a/dmi-service/openapi/openapi-datajob.yml b/dmi-service/openapi/openapi-datajob.yml
index 569fa19f..d125a1a1 100644
--- a/dmi-service/openapi/openapi-datajob.yml
+++ b/dmi-service/openapi/openapi-datajob.yml
@@ -20,7 +20,7 @@ openapi: 3.0.3
info:
title: NCMP Data Subjob API
description: Support datajobs through one or more subjob for each DMI and Data Producer Identifier combination
- version: 1.0.0
+ version: 1.7.0
servers:
- url: /dmi
tags:
diff --git a/dmi-service/openapi/openapi.yml b/dmi-service/openapi/openapi.yml
index f61d3014..7bb381b8 100644
--- a/dmi-service/openapi/openapi.yml
+++ b/dmi-service/openapi/openapi.yml
@@ -21,7 +21,7 @@ openapi: 3.0.1
info:
title: NCMP DMI Plugin
description: Adds Data Model Inventory Registry capability for ONAP
- version: "1.0.0"
+ version: "1.7.0"
servers:
- url: /dmi
tags:
diff --git a/dmi-service/pom.xml b/dmi-service/pom.xml
index c6d4cfea..0686f3ae 100644
--- a/dmi-service/pom.xml
+++ b/dmi-service/pom.xml
@@ -48,6 +48,7 @@
<openapi.generator.maven.plugin.version>6.6.0</openapi.generator.maven.plugin.version>
<spring.boot.maven.plugin.version>3.1.2</spring.boot.maven.plugin.version>
<spotbugs.maven.plugin.version>4.4.2</spotbugs.maven.plugin.version>
+ <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<!-- Code Coverage Configuration -->
<jacoco.execFile>${basedir}/target/code-coverage/jacoco-ut.exec</jacoco.execFile>
@@ -425,6 +426,33 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${maven-resources-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>copy-to-doc-folder</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/../docs/api/swagger</outputDirectory>
+ <overwrite>true</overwrite>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/target/generated-sources/openapi/openapi/</directory>
+ <includes>
+ <include>openapi.yaml</include>
+ <include>openapi-datajob.yaml</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
diff --git a/docs/api/swagger/openapi-datajob.yaml b/docs/api/swagger/openapi-datajob.yaml
index e5a55026..d6cea5e9 100644
--- a/docs/api/swagger/openapi-datajob.yaml
+++ b/docs/api/swagger/openapi-datajob.yaml
@@ -3,7 +3,7 @@ info:
description: Support datajobs through one or more subjob for each DMI and Data Producer
Identifier combination
title: NCMP Data Subjob API
- version: 1.0.0
+ version: 1.7.0
servers:
- url: /dmi
tags:
diff --git a/docs/api/swagger/openapi.yaml b/docs/api/swagger/openapi.yaml
index df9c3f17..b8dedc6a 100644
--- a/docs/api/swagger/openapi.yaml
+++ b/docs/api/swagger/openapi.yaml
@@ -2,7 +2,7 @@ openapi: 3.0.1
info:
description: Adds Data Model Inventory Registry capability for ONAP
title: NCMP DMI Plugin
- version: 1.0.0
+ version: 1.7.0
servers:
- url: /dmi
tags: