Add yaml support for policy & policy types 13/123313/1
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Wed, 18 Aug 2021 21:17:23 +0000 (17:17 -0400)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Thu, 19 Aug 2021 19:23:03 +0000 (19:23 +0000)
commit9fca60734e14dadb6f89e327c6f7b65ad2223e45
tree837cdd69fdfcdd9ec70467f064c7c95c34369b24
parente871bb8a1ed53cf7196d7c0547d94c099e780ab4
Add yaml support for policy & policy types

Adding support for yaml format of policy & policy types in distribution.
So that users can either define them in json or yaml format.
And then distribute to policy framework.

Issue-ID: POLICY-3509
Change-Id: Ifba7486bbc1e6876f0e3e39b0ae5ebe043567029
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit 801ab43d13537d19710e8f948d4614f158daafc7)
plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicyTest.java
plugins/reception-plugins/src/test/resources/service-Sampleservice-yaml.csar [new file with mode: 0644]