Introduce a new json editor component 22/118622/25
authorsebdet <sebastien.determe@intl.att.com>
Fri, 26 Feb 2021 18:14:03 +0000 (19:14 +0100)
committerS�bastien Determe <sebastien.determe@intl.att.com>
Thu, 11 Mar 2021 15:55:31 +0000 (15:55 +0000)
commit1e2760ea1ee4baa9db0e921907f3491fda795136
tree5f2e508e3c26fb1ba06b3db019c2257c69392367
parentea2969fd3bbfe52cbe4f41546dd40d68321c233b
Introduce a new json editor component

Add this a new react component so that the json editor can be called within the policies table
+ Add the tosca tab
+ Fix for Submit operation in clamp-api-v2.xml

Issue-ID: POLICY-3106
Issue-ID: POLICY-3124
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I18ab3a6034cac719525774f11b2c17f0a14bc2aa
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
16 files changed:
extra/sql/dump/test-data.sql
src/main/java/org/onap/policy/clamp/clds/util/JsonUtils.java
src/main/java/org/onap/policy/clamp/policy/Policy.java
src/main/java/org/onap/policy/clamp/policy/PolicyEngineServices.java
src/main/java/org/onap/policy/clamp/policy/PolicyPayload.java [new file with mode: 0644]
src/main/resources/clds/camel/rest/clamp-api-v2.xml
src/main/resources/clds/camel/routes/policy-flows.xml
ui-react-lib/libIndex.js
ui-react/package.json
ui-react/src/__snapshots__/OnapClamp.test.js.snap
ui-react/src/api/PolicyService.js
ui-react/src/api/PolicyToscaService.js
ui-react/src/components/dialogs/Policy/PolicyEditor.js [new file with mode: 0644]
ui-react/src/components/dialogs/Policy/ToscaViewer.js [new file with mode: 0644]
ui-react/src/components/dialogs/Policy/ViewAllPolicies.js
ui-react/src/theme/globalStyle.js