summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cps-bom/pom.xml5
-rwxr-xr-xcps-nf-proxy-rest/pom.xml6
-rw-r--r--cps-nf-proxy-service/pom.xml29
-rwxr-xr-xcps-rest/docs/api/swagger/openapi.yml18
-rw-r--r--cps-rest/src/main/resources/openapi-configuration.json28
-rw-r--r--pom.xml1
6 files changed, 51 insertions, 36 deletions
diff --git a/cps-bom/pom.xml b/cps-bom/pom.xml
index 3d43f6c5b8..9ae8a80b3f 100644
--- a/cps-bom/pom.xml
+++ b/cps-bom/pom.xml
@@ -44,6 +44,11 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
+ <artifactId>cps-nf-proxy-service</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
<artifactId>cps-nf-proxy-rest</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/cps-nf-proxy-rest/pom.xml b/cps-nf-proxy-rest/pom.xml
index 55db71dc5b..94420f7fd2 100755
--- a/cps-nf-proxy-rest/pom.xml
+++ b/cps-nf-proxy-rest/pom.xml
@@ -18,11 +18,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>cps-service</artifactId>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>cps-ri</artifactId>
+ <artifactId>cps-nf-proxy-service</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
diff --git a/cps-nf-proxy-service/pom.xml b/cps-nf-proxy-service/pom.xml
new file mode 100644
index 0000000000..d32d0ad38a
--- /dev/null
+++ b/cps-nf-proxy-service/pom.xml
@@ -0,0 +1,29 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.onap.cps</groupId>
+ <artifactId>cps-parent</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <relativePath>../cps-parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>cps-nf-proxy-service</artifactId>
+
+ <properties>
+ <minimum-coverage>0.0</minimum-coverage>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>cps-service</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>cps-ri</artifactId>
+ </dependency>
+ </dependencies>
+</project> \ No newline at end of file
diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml
index 44064e2175..57a11027a4 100755
--- a/cps-rest/docs/api/swagger/openapi.yml
+++ b/cps-rest/docs/api/swagger/openapi.yml
@@ -1,8 +1,20 @@
openapi: 3.0.1
info:
- title: CPS API
- description: Configuration Persistence Service API
- version: "1.0"
+ title: ONAP Open API v3 Configuration Persistence Service
+ description: Configuration Persistence Service is a Model Driven Generic Database
+ version: "1.0.0"
+ contact:
+ name: ONAP
+ url: "https://onap.readthedocs.io"
+ email: "onap-discuss@lists.onap.org"
+ license:
+ name: "Apache 2.0"
+ url: "http://www.apache.org/licenses/LICENSE-2.0"
+ x-planned-retirement-date: "202212"
+ x-component: "Modeling"
+ x-logo:
+ url: "cps_logo.png"
+
servers:
- url: //localhost:8088/
tags:
diff --git a/cps-rest/src/main/resources/openapi-configuration.json b/cps-rest/src/main/resources/openapi-configuration.json
deleted file mode 100644
index ad5998feb7..0000000000
--- a/cps-rest/src/main/resources/openapi-configuration.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "resourcePackages": [
- "org.onap.cps.rest.controller"
- ],
- "prettyPrint": true,
- "cacheTTL": 0,
- "openAPI": {
- "info": {
- "title": "ONAP Open API v3 CPS Spec",
- "description": "The API Description may be multiline, and GitHub Flavored Markdown, GFM syntax, can be used for rich text representation.",
- "x-logo": {
- "url": "logo.png"
- },
- "contact": {
- "name": "ONAP",
- "url": "https://onap.readthedocs.io",
- "email": "onap-discuss@lists.onap.org"
- },
- "license": {
- "name": "Apache 2.0",
- "url": "http://www.apache.org/licenses/LICENSE-2.0"
- },
- "version": "1.2.34",
- "x-planned-retirement-date": "202207",
- "x-component": "Modeling"
- }
- }
-}
diff --git a/pom.xml b/pom.xml
index ab0a459f01..d8bd8c90e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,6 +32,7 @@
<module>cps-parent</module>
<module>cps-service</module>
<module>cps-rest</module>
+ <module>cps-nf-proxy-service</module>
<module>cps-nf-proxy-rest</module>
<module>cps-ri</module>
<module>checkstyle</module>