Disable VnfDeleteValidator for non-alacarte requests. 60/125760/1
authorJozsef Csongvai <jozsef.csongvai@bell.ca>
Tue, 30 Mar 2021 14:06:04 +0000 (10:06 -0400)
committerJozsef Csongvai <jozsef.csongvai@bell.ca>
Mon, 15 Nov 2021 16:19:31 +0000 (11:19 -0500)
commit16785537a48d0ca0847b826226d7d81731dba271
treed9ec2abc9c3ec871a9fb23b1193ba867f9ed88ab
parent5365faad48bafa61d1dd94a2be23c824a42780cb
Disable VnfDeleteValidator for non-alacarte requests.

The validator will fail if there are active vf-modules for the vnf.
The downstream vnf-delete macro will delete these vf-modules so the
validator should not apply for this flow.

Change-Id: If45c872e3b06d9dbb925bff21f7643694503c481
Issue-ID: SO-3801
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/validators/VnfDeleteValidator.java
mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/infra/rest/validator/VnfDeleteValidatorTest.java