diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-11-06 10:20:47 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-11-06 10:20:47 -0800 |
commit | 7f6616e5d7e2759bc21fad0e363e4e356a8ec8f9 (patch) | |
tree | a3f327d7687ff738f1c6e5fd8eb86d457d33a28e | |
parent | 1d05f0ebdf4a0e5107b2dd352f5303dc9dad907c (diff) |
Move cps files to root dir
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-rw-r--r-- | Dockerfile (renamed from cps/Dockerfile) | 0 | ||||
-rw-r--r-- | LICENSE.txt (renamed from cps/LICENSE.txt) | 0 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | cps-bom/pom.xml (renamed from cps/cps-bom/pom.xml) | 0 | ||||
-rw-r--r-- | cps-dependencies/pom.xml (renamed from cps/cps-dependencies/pom.xml) | 0 | ||||
-rw-r--r-- | cps-parent/pom.xml (renamed from cps/cps-parent/pom.xml) | 0 | ||||
-rw-r--r-- | cps-rest/docs/api/swagger/openapi.yml (renamed from cps/cps-rest/docs/api/swagger/openapi.yml) | 0 | ||||
-rw-r--r-- | cps-rest/pom.xml (renamed from cps/cps-rest/pom.xml) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/java/org/onap/cps/Application.java (renamed from cps/cps-rest/src/main/java/org/onap/cps/Application.java) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java (renamed from cps/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java (renamed from cps/cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java (renamed from cps/cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/java/org/onap/cps/swagger/config/SpringFoxConfig.java (renamed from cps/cps-rest/src/main/java/org/onap/cps/swagger/config/SpringFoxConfig.java) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/resources/application.yml (renamed from cps/cps-rest/src/main/resources/application.yml) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/resources/logback-spring.xml (renamed from cps/cps-rest/src/main/resources/logback-spring.xml) | 0 | ||||
-rw-r--r-- | cps-rest/src/main/resources/openapi-configuration.json (renamed from cps/cps-rest/src/main/resources/openapi-configuration.json) | 0 | ||||
-rw-r--r-- | cps-ri/lombok.config (renamed from cps/cps-ri/lombok.config) | 0 | ||||
-rw-r--r-- | cps-ri/pom.xml (renamed from cps/cps-ri/pom.xml) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/entities/Fragment.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/entities/Fragment.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/entities/ModuleEntity.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/entities/ModuleEntity.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistencyServiceImpl.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistencyServiceImpl.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/impl/ModelPersistencyServiceImpl.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/impl/ModelPersistencyServiceImpl.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/repository/DataRepository.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/repository/DataRepository.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/repository/ModuleRepository.java (renamed from cps/cps-ri/src/main/java/org/onap/cps/spi/repository/ModuleRepository.java) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/resources/hibernate.properties (renamed from cps/cps-ri/src/main/resources/hibernate.properties) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/resources/logback-spring.xml (renamed from cps/cps-ri/src/main/resources/logback-spring.xml) | 0 | ||||
-rw-r--r-- | cps-ri/src/main/resources/schema.sql (renamed from cps/cps-ri/src/main/resources/schema.sql) | 0 | ||||
-rw-r--r-- | cps-service/pom.xml (renamed from cps/cps-service/pom.xml) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/api/CpService.java (renamed from cps/cps-service/src/main/java/org/onap/cps/api/CpService.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java (renamed from cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java (renamed from cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java (renamed from cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java (renamed from cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/DataPersistencyService.java (renamed from cps/cps-service/src/main/java/org/onap/cps/spi/DataPersistencyService.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/ModelPersistencyService.java (renamed from cps/cps-service/src/main/java/org/onap/cps/spi/ModelPersistencyService.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/utils/YangUtils.java (renamed from cps/cps-service/src/main/java/org/onap/cps/utils/YangUtils.java) | 0 | ||||
-rw-r--r-- | cps-service/src/main/resources/logback-spring.xml (renamed from cps/cps-service/src/main/resources/logback-spring.xml) | 0 | ||||
-rw-r--r-- | cps-service/src/test/groovy/org/onap/cps/api/impl/CpServiceImplSpec.groovy (renamed from cps/cps-service/src/test/groovy/org/onap/cps/api/impl/CpServiceImplSpec.groovy) | 0 | ||||
-rw-r--r-- | cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy (renamed from cps/cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy) | 0 | ||||
-rw-r--r-- | cps-service/src/test/java/org/onap/cps/TestUtils.java (renamed from cps/cps-service/src/test/java/org/onap/cps/TestUtils.java) | 0 | ||||
-rw-r--r-- | cps-service/src/test/resources/bookstore.json (renamed from cps/cps-service/src/test/resources/bookstore.json) | 0 | ||||
-rw-r--r-- | cps-service/src/test/resources/bookstore.yang (renamed from cps/cps-service/src/test/resources/bookstore.yang) | 0 | ||||
-rw-r--r-- | cps-service/src/test/resources/invalid.yang (renamed from cps/cps-service/src/test/resources/invalid.yang) | 0 | ||||
-rw-r--r-- | cps-service/src/test/resources/someOtherFile.txt (renamed from cps/cps-service/src/test/resources/someOtherFile.txt) | 0 | ||||
-rw-r--r-- | cps/README.md | 33 | ||||
-rw-r--r-- | pom.xml (renamed from cps/pom.xml) | 0 | ||||
-rw-r--r-- | version.properties (renamed from cps/version.properties) | 0 |
50 files changed, 2 insertions, 36 deletions
diff --git a/cps/Dockerfile b/Dockerfile index 81fdf16d37..81fdf16d37 100644 --- a/cps/Dockerfile +++ b/Dockerfile diff --git a/cps/LICENSE.txt b/LICENSE.txt index 2bb9ad240f..2bb9ad240f 100644 --- a/cps/LICENSE.txt +++ b/LICENSE.txt @@ -29,6 +29,5 @@ java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/targe ``` * Browse - * [Swagger UI](http://localhost:8080/swagger-ui/index.html) - * OpenAPI Specification in [JSON](http://localhost:8080/api/cps/openapi.json) - or [YAML](http://localhost:8080/api/cps/openapi.yaml) format + * [Swagger UI](http://localhost:8080/api/cps/swagger-ui/index.html) + * [Api Documentation](http://localhost:8080/api/cps/v3/api-docs) diff --git a/cps/cps-bom/pom.xml b/cps-bom/pom.xml index ae9e806f3c..ae9e806f3c 100644 --- a/cps/cps-bom/pom.xml +++ b/cps-bom/pom.xml diff --git a/cps/cps-dependencies/pom.xml b/cps-dependencies/pom.xml index ee37b1e0a2..ee37b1e0a2 100644 --- a/cps/cps-dependencies/pom.xml +++ b/cps-dependencies/pom.xml diff --git a/cps/cps-parent/pom.xml b/cps-parent/pom.xml index 0fe2e101a5..0fe2e101a5 100644 --- a/cps/cps-parent/pom.xml +++ b/cps-parent/pom.xml diff --git a/cps/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml index 9b2ac1ec5d..9b2ac1ec5d 100644 --- a/cps/cps-rest/docs/api/swagger/openapi.yml +++ b/cps-rest/docs/api/swagger/openapi.yml diff --git a/cps/cps-rest/pom.xml b/cps-rest/pom.xml index 4f8746a366..4f8746a366 100644 --- a/cps/cps-rest/pom.xml +++ b/cps-rest/pom.xml diff --git a/cps/cps-rest/src/main/java/org/onap/cps/Application.java b/cps-rest/src/main/java/org/onap/cps/Application.java index 9f6c2edce9..9f6c2edce9 100644 --- a/cps/cps-rest/src/main/java/org/onap/cps/Application.java +++ b/cps-rest/src/main/java/org/onap/cps/Application.java diff --git a/cps/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java b/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java index 90c287cdaf..90c287cdaf 100644 --- a/cps/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java +++ b/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java diff --git a/cps/cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java b/cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java index 9cf4935d4e..9cf4935d4e 100644 --- a/cps/cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java +++ b/cps-rest/src/main/java/org/onap/cps/rest/exceptions/CpsRestExceptionHandler.java diff --git a/cps/cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java b/cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java index 1f2a0b7860..1f2a0b7860 100644 --- a/cps/cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java +++ b/cps-rest/src/main/java/org/onap/cps/rest/exceptions/ErrorMessage.java diff --git a/cps/cps-rest/src/main/java/org/onap/cps/swagger/config/SpringFoxConfig.java b/cps-rest/src/main/java/org/onap/cps/swagger/config/SpringFoxConfig.java index 73e179511b..73e179511b 100644 --- a/cps/cps-rest/src/main/java/org/onap/cps/swagger/config/SpringFoxConfig.java +++ b/cps-rest/src/main/java/org/onap/cps/swagger/config/SpringFoxConfig.java diff --git a/cps/cps-rest/src/main/resources/application.yml b/cps-rest/src/main/resources/application.yml index e8af0bcfb2..e8af0bcfb2 100644 --- a/cps/cps-rest/src/main/resources/application.yml +++ b/cps-rest/src/main/resources/application.yml diff --git a/cps/cps-rest/src/main/resources/logback-spring.xml b/cps-rest/src/main/resources/logback-spring.xml index 8a4ae07c5b..8a4ae07c5b 100644 --- a/cps/cps-rest/src/main/resources/logback-spring.xml +++ b/cps-rest/src/main/resources/logback-spring.xml diff --git a/cps/cps-rest/src/main/resources/openapi-configuration.json b/cps-rest/src/main/resources/openapi-configuration.json index ad5998feb7..ad5998feb7 100644 --- a/cps/cps-rest/src/main/resources/openapi-configuration.json +++ b/cps-rest/src/main/resources/openapi-configuration.json diff --git a/cps/cps-ri/lombok.config b/cps-ri/lombok.config index a23edb413f..a23edb413f 100644 --- a/cps/cps-ri/lombok.config +++ b/cps-ri/lombok.config diff --git a/cps/cps-ri/pom.xml b/cps-ri/pom.xml index 2c28212afa..2c28212afa 100644 --- a/cps/cps-ri/pom.xml +++ b/cps-ri/pom.xml diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java index 627a14467d..627a14467d 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/Fragment.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/Fragment.java index 12422dc5f6..12422dc5f6 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/Fragment.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/Fragment.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java index 413362e384..413362e384 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/ModuleEntity.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/ModuleEntity.java index d2130aeec1..d2130aeec1 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/entities/ModuleEntity.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/ModuleEntity.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistencyServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistencyServiceImpl.java index 2b4f1357de..2b4f1357de 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistencyServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistencyServiceImpl.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/impl/ModelPersistencyServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/ModelPersistencyServiceImpl.java index 01c7a7b53b..01c7a7b53b 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/impl/ModelPersistencyServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/ModelPersistencyServiceImpl.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/repository/DataRepository.java b/cps-ri/src/main/java/org/onap/cps/spi/repository/DataRepository.java index f3dd586007..f3dd586007 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/repository/DataRepository.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/repository/DataRepository.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java b/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java index 46a5266103..46a5266103 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java diff --git a/cps/cps-ri/src/main/java/org/onap/cps/spi/repository/ModuleRepository.java b/cps-ri/src/main/java/org/onap/cps/spi/repository/ModuleRepository.java index f9078d7c14..f9078d7c14 100644 --- a/cps/cps-ri/src/main/java/org/onap/cps/spi/repository/ModuleRepository.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/repository/ModuleRepository.java diff --git a/cps/cps-ri/src/main/resources/hibernate.properties b/cps-ri/src/main/resources/hibernate.properties index a22fe63cfa..a22fe63cfa 100644 --- a/cps/cps-ri/src/main/resources/hibernate.properties +++ b/cps-ri/src/main/resources/hibernate.properties diff --git a/cps/cps-ri/src/main/resources/logback-spring.xml b/cps-ri/src/main/resources/logback-spring.xml index 8a4ae07c5b..8a4ae07c5b 100644 --- a/cps/cps-ri/src/main/resources/logback-spring.xml +++ b/cps-ri/src/main/resources/logback-spring.xml diff --git a/cps/cps-ri/src/main/resources/schema.sql b/cps-ri/src/main/resources/schema.sql index 6a76fbd191..6a76fbd191 100644 --- a/cps/cps-ri/src/main/resources/schema.sql +++ b/cps-ri/src/main/resources/schema.sql diff --git a/cps/cps-service/pom.xml b/cps-service/pom.xml index 3e8cc2debd..3e8cc2debd 100644 --- a/cps/cps-service/pom.xml +++ b/cps-service/pom.xml diff --git a/cps/cps-service/src/main/java/org/onap/cps/api/CpService.java b/cps-service/src/main/java/org/onap/cps/api/CpService.java index 4d94a46547..4d94a46547 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/api/CpService.java +++ b/cps-service/src/main/java/org/onap/cps/api/CpService.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java b/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java index c33746e861..c33746e861 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java +++ b/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java b/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java index b54453cd90..b54453cd90 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java +++ b/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java b/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java index f44fe806cf..f44fe806cf 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java +++ b/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java b/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java index dba9c165b8..dba9c165b8 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java +++ b/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/spi/DataPersistencyService.java b/cps-service/src/main/java/org/onap/cps/spi/DataPersistencyService.java index ce51f40ac6..ce51f40ac6 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/spi/DataPersistencyService.java +++ b/cps-service/src/main/java/org/onap/cps/spi/DataPersistencyService.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/spi/ModelPersistencyService.java b/cps-service/src/main/java/org/onap/cps/spi/ModelPersistencyService.java index 2afdaa82a8..2afdaa82a8 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/spi/ModelPersistencyService.java +++ b/cps-service/src/main/java/org/onap/cps/spi/ModelPersistencyService.java diff --git a/cps/cps-service/src/main/java/org/onap/cps/utils/YangUtils.java b/cps-service/src/main/java/org/onap/cps/utils/YangUtils.java index e9757eca0d..e9757eca0d 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/utils/YangUtils.java +++ b/cps-service/src/main/java/org/onap/cps/utils/YangUtils.java diff --git a/cps/cps-service/src/main/resources/logback-spring.xml b/cps-service/src/main/resources/logback-spring.xml index 8a4ae07c5b..8a4ae07c5b 100644 --- a/cps/cps-service/src/main/resources/logback-spring.xml +++ b/cps-service/src/main/resources/logback-spring.xml diff --git a/cps/cps-service/src/test/groovy/org/onap/cps/api/impl/CpServiceImplSpec.groovy b/cps-service/src/test/groovy/org/onap/cps/api/impl/CpServiceImplSpec.groovy index 5f42810bd5..5f42810bd5 100644 --- a/cps/cps-service/src/test/groovy/org/onap/cps/api/impl/CpServiceImplSpec.groovy +++ b/cps-service/src/test/groovy/org/onap/cps/api/impl/CpServiceImplSpec.groovy diff --git a/cps/cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy b/cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy index 8aabc48448..8aabc48448 100644 --- a/cps/cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy +++ b/cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy diff --git a/cps/cps-service/src/test/java/org/onap/cps/TestUtils.java b/cps-service/src/test/java/org/onap/cps/TestUtils.java index 07647520b0..07647520b0 100644 --- a/cps/cps-service/src/test/java/org/onap/cps/TestUtils.java +++ b/cps-service/src/test/java/org/onap/cps/TestUtils.java diff --git a/cps/cps-service/src/test/resources/bookstore.json b/cps-service/src/test/resources/bookstore.json index 44d5d424cd..44d5d424cd 100644 --- a/cps/cps-service/src/test/resources/bookstore.json +++ b/cps-service/src/test/resources/bookstore.json diff --git a/cps/cps-service/src/test/resources/bookstore.yang b/cps-service/src/test/resources/bookstore.yang index 01eac5f339..01eac5f339 100644 --- a/cps/cps-service/src/test/resources/bookstore.yang +++ b/cps-service/src/test/resources/bookstore.yang diff --git a/cps/cps-service/src/test/resources/invalid.yang b/cps-service/src/test/resources/invalid.yang index 66cfd10796..66cfd10796 100644 --- a/cps/cps-service/src/test/resources/invalid.yang +++ b/cps-service/src/test/resources/invalid.yang diff --git a/cps/cps-service/src/test/resources/someOtherFile.txt b/cps-service/src/test/resources/someOtherFile.txt index e69de29bb2..e69de29bb2 100644 --- a/cps/cps-service/src/test/resources/someOtherFile.txt +++ b/cps-service/src/test/resources/someOtherFile.txt diff --git a/cps/README.md b/cps/README.md deleted file mode 100644 index d5f0c66f4c..0000000000 --- a/cps/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# Configuration Persistence Service - -This folder contains all files for -[Configuration Persistence Service](https://wiki.onap.org/pages/viewpage.action?pageId=81406119). - -The code here is related to CPS POC, then it must be kept self contained in this cps folder to prevent any impact on -current ccsdk components and to be ready to be moved in its own repo once CPS becomes a standalone project. - - -## Running Locally - -* Run a postgres container instance and create `cpsdb' database: - -``` -CREATE USER cps WITH PASSWORD 'cps'; -CREATE DATABASE cpsdb OWNER cps; -``` - -* Build (from cps root folder) - -```bash -mvn clean package -``` - -* Run (from cps root folder) - -```bash -java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar -``` - -* Browse - * [Swagger UI](http://localhost:8080/api/cps/swagger-ui/index.html) - * [Api Documentation](http://localhost:8080/api/cps/v3/api-docs) diff --git a/cps/version.properties b/version.properties index 12156a9a64..12156a9a64 100644 --- a/cps/version.properties +++ b/version.properties |