Add NCMP to integration-test module 14/137214/4
authordanielhanrahan <daniel.hanrahan@est.tech>
Tue, 13 Feb 2024 11:12:29 +0000 (11:12 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 15 Feb 2024 12:43:05 +0000 (12:43 +0000)
commitfc00c0c590a2885dbf4bbea453124046d93fd1ec
tree26772a5e15fb14530e1f2757ec2686d5862fdd47
parentcc8fbf61b3fd0c6828caaa2cb784daacc346c56e
Add NCMP to integration-test module

- Add NCMP to integration test base class
- Use MockRestServiceServer to mock DMI responses in groovy tests
- Added tests for CM-handle registration to READY and LOCKED states
- Add test of CM-handle deregistration

Issue-ID: CPS-2033
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I89f9f8aab2bba9d4eb5b3136a2feb238e7cf1b06
integration-test/pom.xml
integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/NcmpCmHandleRegistrationSpec.groovy [new file with mode: 0644]
integration-test/src/test/resources/application.yml
integration-test/src/test/resources/data/mock-dmi-responses/ietfYangModuleResourcesResponse.json [new file with mode: 0644]
integration-test/src/test/resources/data/mock-dmi-responses/ietfYangModuleResponse.json [new file with mode: 0644]