Get data job result from DMI 82/138582/13
authorleventecsanyi <levente.csanyi@est.tech>
Fri, 26 Jul 2024 09:24:13 +0000 (11:24 +0200)
committerleventecsanyi <levente.csanyi@est.tech>
Fri, 16 Aug 2024 11:46:20 +0000 (13:46 +0200)
commit6ce44d58e3c6a7d41d34cac02a4958fe91d7583a
treea8bc675180d4851a01afa444c854b9d45b492477
parent81e399e6cb0cfdfe73d4e830796c1fc2259fa434
Get data job result from DMI

- added DataJobResult interface
- extended the DmiRestClient to retrieve status
- added mock response to DmiDispatcher

Issue-ID: CPS-2296
Change-Id: I551afd827cccd91c5f9837bd4923b30320865d55
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/datajobs/DataJobResultService.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/DataJobResultServiceImpl.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/dmi/DmiRestClient.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/datajobs/DataJobResultServiceImplSpec.groovy [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/dmi/DmiRestClientSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/base/DmiDispatcher.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/DataJobResultServiceSpec.groovy [new file with mode: 0644]