summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/pom.xml
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-05-04 11:24:29 +0100
committermpriyank <priyank.maheshwari@est.tech>2023-05-10 13:42:12 +0100
commit87f0b004fb0b15f3e8fa30d39bdf8ae3310b8743 (patch)
tree0be61c2481fd560a01b3170f94631ff2791bee4c /cps-ncmp-events/pom.xml
parent492b6660fb153dd3dbf52c693a0b86bed3bee4f5 (diff)
DMI Data AVC to use kafka headers
- POC done keeping AvcEvent schema in mind. - Approach to have header schema per event schema. - Moved the header information from AvcEvent to separate AvcEventHeader schema. - Added Jsr303 annotation support for required field check Issue-ID: CPS-1671 Change-Id: I2e4f969e8ca4f6282d1b9aa5fd52d16174a26084 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-events/pom.xml')
-rw-r--r--cps-ncmp-events/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cps-ncmp-events/pom.xml b/cps-ncmp-events/pom.xml
index 7457eb6e0f..52ca77e936 100644
--- a/cps-ncmp-events/pom.xml
+++ b/cps-ncmp-events/pom.xml
@@ -35,6 +35,10 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ </dependency>
</dependencies>
<build>
@@ -47,6 +51,7 @@
<targetPackage>org.onap.cps.ncmp.event.model</targetPackage>
<generateBuilders>true</generateBuilders>
<serializable>true</serializable>
+ <includeJsr303Annotations>true</includeJsr303Annotations>
</configuration>
</plugin>
</plugins>