- Updating cps version to 3.1.0
- Raising async event with correct eventSchema and eventSchemaVersion
Issue-ID: CPS-1224
Change-Id: I5e25f6217ad5ff554c98f5756120a44467f99aea
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
<properties>
<app>org.onap.cps.ncmp.dmi.Application</app>
<base.image>${docker.pull.registry}/onap/integration-java11:8.0.0</base.image>
- <cps.version>3.0.0</cps.version>
+ <cps.version>3.1.0</cps.version>
<image.tag>${project.version}-${maven.build.timestamp}</image.tag>
<jacoco.minimum.coverage>0.98</jacoco.minimum.coverage>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
dmiAsyncRequestResponseEvent.setEventId(UUID.randomUUID().toString());
dmiAsyncRequestResponseEvent.setEventCorrelationId(requestId);
dmiAsyncRequestResponseEvent.setEventType(DmiAsyncRequestResponseEvent.class.getName());
- dmiAsyncRequestResponseEvent.setEventSchema("urn:cps:" + DmiAsyncRequestResponseEvent.class.getName() + ":v1");
+ dmiAsyncRequestResponseEvent.setEventSchema("urn:cps:" + DmiAsyncRequestResponseEvent.class.getName());
+ dmiAsyncRequestResponseEvent.setEventSchemaVersion("v1");
dmiAsyncRequestResponseEvent.setEventSource(Application.class.getPackageName());
dmiAsyncRequestResponseEvent.setEventTarget(topicParamInQuery);
dmiAsyncRequestResponseEvent.setEventTime(ZonedDateTime.now().format(dateTimeFormatter));