Hibernate validation test 06/142306/2
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 22 Oct 2025 12:05:59 +0000 (13:05 +0100)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Thu, 23 Oct 2025 10:12:27 +0000 (10:12 +0000)
commit25a1beb23d2e1a3658256d439ce3a1b76a2b2c71
tree6d9196c8620ea31ecf379d42f68d127905126b92
parent2c0c0da480980b43418c13763add39074ad1544a
Hibernate validation test

This adds a test where Hibernate validation is enabled.
This will detect mismatches between database schema and JPA
entity definitions. For example, if a new field is added in
Java but not in Liquibase, the test fails with an error:

  missing column [restarting] in table [AutomationComposition]

Issue-ID: POLICY-5401
Change-Id: Ieb718353ff1cdff0dd92415743aefc56d838b1e6
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/liquibase/HibernateValidationTest.java [new file with mode: 0644]
runtime-acm/src/test/resources/application-hibernate-validation.yaml [new file with mode: 0644]