Change ServiceInstance's top-level rollbackOnFailure serialization to String 87/99287/6
authorIttay Stern <ittay.stern@att.com>
Sat, 7 Dec 2019 18:05:38 +0000 (20:05 +0200)
committerIttay Stern <ittay.stern@att.com>
Mon, 9 Dec 2019 12:26:47 +0000 (12:26 +0000)
commit57e44972ab82fcd166eb6c0a3a948bd2c4287661
tree83830688d00c12a1bf9f12233820b079a7a3fe3a
parent6d937099efa1cb30eb16470005c7e05c1f29f729
Change ServiceInstance's top-level rollbackOnFailure serialization to String

This will satisfy a new test: Template Topology API test:
   Deploy Cypress -> getTemplateTopology returns the same template

Also updating templates__instance_template.json with actual
"templateTopology" endpoint fields.

Issue-ID: VID-724
Change-Id: I1160656c9a58ab2678ca6f2529688463fbd60a91
Signed-off-by: Ittay Stern <ittay.stern@att.com>
vid-app-common/src/main/java/org/onap/vid/model/serviceInstantiation/ServiceInstantiation.java
vid-app-common/src/main/java/org/onap/vid/utils/jackson/BooleanAsStringSerializer.java [new file with mode: 0644]
vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java [new file with mode: 0644]
vid-automation/src/test/resources/asyncInstantiation/ServiceTreeForRetry_serviceInstance.json
vid-automation/src/test/resources/asyncInstantiation/ServiceWithFailedServiceInstance.json
vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json [moved from vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/instantiationTemplates/templates__instance_template.json with 94% similarity]
vid-webpack-master/cypress/integration/iFrames/instantiation-templates.e2e.ts