Fix the Tosca Converter to Json Schema 68/117968/2
authorsebdet <sebastien.determe@intl.att.com>
Mon, 15 Feb 2021 10:02:18 +0000 (11:02 +0100)
committerLiam Fallon <liam.fallon@est.tech>
Mon, 22 Feb 2021 14:14:02 +0000 (14:14 +0000)
commit3793824dd42862a0d46e5db1d44b346ed14f0eca
tree234268afe5f99fe8da95411722d0ed903a7887b1
parent0440c94ef2a7e9c66eefbae4bf09aa5207dc019d
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
(cherry picked from commit 08ed2240b2389fbf83e9ed67cc65cc6fc628ea72)
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