[DMI] Automate the process of device registration #1 31/140831/15
authormpriyank <priyank.maheshwari@est.tech>
Fri, 18 Apr 2025 10:54:27 +0000 (11:54 +0100)
committermpriyank <priyank.maheshwari@est.tech>
Thu, 29 May 2025 15:37:10 +0000 (16:37 +0100)
commit7276e0fb13ad9652f6e8b8cf20531507840ac4ff
treef5a0539f4b4ea15b5d6d10cf897f9ef130ed55ea
parenta6412ca17e1d70ef1d444f97e513f91564cff1ac
[DMI] Automate the process of device registration #1

- read from agreed topic using the VesEventSchema and call the
  registration endpoint in cps-ncmp to automate the device registration
  during mounting of the device.
- also added non cloud kafka consumer factory as VES event is not cloud
  compliant
- testware added

Issue-ID: CPS-2710
Change-Id: I5ab695afc225dcc372cff00a2f6f69c9047b14ed
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
dmi-service/src/main/java/org/onap/cps/ncmp/dmi/cmstack/ves/VesEventConsumer.java [new file with mode: 0644]
dmi-service/src/main/java/org/onap/cps/ncmp/dmi/cmstack/ves/VesEventsConfiguration.java [new file with mode: 0644]
dmi-service/src/main/java/org/onap/cps/ncmp/dmi/config/kafka/KafkaConfig.java
dmi-service/src/main/resources/application.yml
dmi-service/src/test/groovy/org/onap/cps/ncmp/dmi/cmstack/ves/VesEventConsumerSpec.groovy [new file with mode: 0644]
dmi-service/src/test/groovy/org/onap/cps/ncmp/dmi/cmstack/ves/VesEventsConfigurationSpec.groovy [new file with mode: 0644]
dmi-service/src/test/resources/application.yml
dmi-service/src/test/resources/sampleVesEvent.json [new file with mode: 0644]