Async request response NCMP -> Client 85/128685/43
authorJosephKeenan <joseph.keenan@est.tech>
Tue, 24 May 2022 17:59:25 +0000 (18:59 +0100)
committerJosephKeenan <joseph.keenan@est.tech>
Wed, 25 May 2022 09:47:34 +0000 (10:47 +0100)
commitf31c7f8bd4985c84f9126d071439c1a4de57f704
tree3b5d91b6357705304ae95fe1ad01156afbded020
parent4cf4962b74765a5afe234aa258a9143ea6936f73
Async request response NCMP -> Client

-Added consumer for DMI events and producer for forwarding to client
-Added schemas for events
-Updated tests
-Added new module for ncmp events
-Used mapstruct for event mapping

Issue-ID: CPS-830
Change-Id: I096d08af9d69092cf8651e11eaa00ce441fc3605
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
28 files changed:
cps-application/src/main/resources/application.yml
cps-bom/pom.xml
cps-ncmp-events/pom.xml [new file with mode: 0644]
cps-ncmp-events/src/main/resources/schemas/dmi-async-request-response-event-schema-v1.json [new file with mode: 0644]
cps-ncmp-events/src/main/resources/schemas/ncmp-async-request-response-event-schema-v1.json [new file with mode: 0644]
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/exceptions/CpsTaskExecutionException.java [new file with mode: 0644]
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutor.java [new file with mode: 0644]
cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/controller/NetworkCmProxyControllerSpec.groovy
cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/exceptions/NetworkCmProxyRestExceptionHandlerSpec.groovy
cps-ncmp-rest/src/test/resources/application.yml
cps-ncmp-service/pom.xml
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/NcmpAsyncRequestResponseEventConsumer.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/NcmpAsyncRequestResponseEventMapper.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/NcmpAsyncRequestResponseEventProducer.java [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/async/CpsAsyncRequestResponseEventIntegrationSpec.groovy [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/utils/DmiServiceUrlBuilderSpec.groovy
cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json [new file with mode: 0644]
cps-service/pom.xml
cps-service/src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java
cps-service/src/test/groovy/org/onap/cps/notification/KafkaTestContainerConfig.groovy
cps-service/src/test/groovy/org/onap/cps/notification/NotificationServiceSpec.groovy
cps-service/src/test/resources/application.yml
csit/plans/cps/setup.sh
csit/tests/ncmp-passthrough/ncmp-passthrough.robot
docker-compose/docker-compose.yml
jacoco-report/pom.xml
pom.xml