Async request response dmi -> NCMP 86/128686/31
authorJosephKeenan <joseph.keenan@est.tech>
Mon, 23 May 2022 14:43:05 +0000 (15:43 +0100)
committerJosephKeenan <joseph.keenan@est.tech>
Wed, 1 Jun 2022 15:56:50 +0000 (16:56 +0100)
commit2cd8b98223bd49975fcca0ec7f1d4673a4163074
treed26e809ad7befaf8b7815271a6fcc501f67b3117
parentdf26bc38a75f10650ce5785cdc9bd7b9516f6f25
Async request response dmi -> NCMP

-Added Async for passthrough running and operational
-Build will fail until cps is merged https://gerrit.onap.org/r/c/cps/+/128685

Issue-ID: CPS-830
Change-Id: Iedbfab109f5cd777a5be8eed7414758d0f5ec05c
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
18 files changed:
docs/api/swagger/openapi.yaml
openapi/components.yml
pom.xml
src/main/java/org/onap/cps/ncmp/dmi/exception/HttpClientRequestException.java [moved from src/main/java/org/onap/cps/ncmp/dmi/exception/ResourceDataNotFound.java with 64% similarity]
src/main/java/org/onap/cps/ncmp/dmi/notifications/async/AsyncTaskExecutor.java [new file with mode: 0644]
src/main/java/org/onap/cps/ncmp/dmi/notifications/async/DmiAsyncRequestResponseEventCreator.java [new file with mode: 0644]
src/main/java/org/onap/cps/ncmp/dmi/notifications/async/DmiAsyncRequestResponseEventProducer.java [moved from src/main/java/org/onap/cps/ncmp/dmi/service/NcmpKafkaPublisherService.java with 53% similarity]
src/main/java/org/onap/cps/ncmp/dmi/rest/controller/DmiRestController.java
src/main/java/org/onap/cps/ncmp/dmi/service/DmiServiceImpl.java
src/main/java/org/onap/cps/ncmp/dmi/service/NcmpKafkaPublisher.java [deleted file]
src/main/java/org/onap/cps/ncmp/dmi/service/client/SdncRestconfClient.java
src/main/resources/application.yml
src/test/groovy/org/onap/cps/ncmp/dmi/notifications/async/AsyncTaskExecutorIntegrationSpec.groovy [new file with mode: 0644]
src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy
src/test/groovy/org/onap/cps/ncmp/dmi/service/DmiServiceImplSpec.groovy
src/test/groovy/org/onap/cps/ncmp/dmi/service/NcmpKafkaPublisherServiceSpec.groovy [deleted file]
src/test/groovy/org/onap/cps/ncmp/dmi/service/NcmpKafkaPublisherSpec.groovy [deleted file]
src/test/resources/application.yml