Fix the Tosca Converter to Json Schema 35/117835/2
authorsebdet <sebastien.determe@intl.att.com>
Mon, 15 Feb 2021 10:02:18 +0000 (11:02 +0100)
committerS�bastien Determe <sebastien.determe@intl.att.com>
Wed, 17 Feb 2021 18:14:31 +0000 (18:14 +0000)
commit08ed2240b2389fbf83e9ed67cc65cc6fc628ea72
tree604e1f85d640bc4c8015706b9620c09b7b9d7d46
parent3718a16bedbc4a5ecf2593abcb2075238fa99767
Fix the Tosca Converter to Json Schema

The backend had to be slightly fixed so that the json generation without being in a loop is not an issue. This is required for the policies listing feature

Issue-ID: POLICY-2926
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia6a9e034f888384999a8ea557ce550c87c65c4be
src/main/java/org/onap/policy/clamp/clds/tosca/update/execution/cds/ToscaMetadataCdsProcess.java
src/main/java/org/onap/policy/clamp/clds/tosca/update/execution/target/ToscaMetadataTargetProcess.java
src/main/java/org/onap/policy/clamp/clds/tosca/update/parser/ToscaConverterToJsonSchema.java
src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.Naming/versions/1.0.0/.file