Merge "Support Alternate-Id for CPS-E05 id-searches and searchCmHandleIds"
authorDaniel Hanrahan <daniel.hanrahan@est.tech>
Tue, 29 Oct 2024 10:06:43 +0000 (10:06 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 29 Oct 2024 10:06:43 +0000 (10:06 +0000)
1  2 
cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java
cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryControllerSpec.groovy
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/NetworkCmProxyInventoryFacade.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/NetworkCmProxyInventoryFacadeSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/RestApiSpec.groovy

@@@ -56,12 -56,12 +56,12 @@@ class NetworkCmProxyInventoryFacadeSpe
          given: 'an (updated) dmi plugin registration'
              def dmiPluginRegistration = Mock(DmiPluginRegistration)
          when: 'the registration is submitted '
 -           objectUnderTest.updateDmiRegistrationAndSyncModule(dmiPluginRegistration)
 +           objectUnderTest.updateDmiRegistration(dmiPluginRegistration)
          then: 'the call is delegated to the cm handle registration service'
 -            1 * mockCmHandleRegistrationService.updateDmiRegistrationAndSyncModule(dmiPluginRegistration)
 +            1 * mockCmHandleRegistrationService.updateDmiRegistration(dmiPluginRegistration)
      }
  
-     def 'Execute cm handle id search for inventory'() {
+     def 'Execute cm handle reference search for inventory'() {
          given: 'a ConditionApiProperties object'
              def conditionProperties = new ConditionProperties()
              conditionProperties.conditionName = 'hasAllProperties'