Update PolicyDecoderCsarPdpx to match policy/api 59/91859/1
authorramverma <ram.krishna.verma@est.tech>
Tue, 23 Jul 2019 11:03:52 +0000 (11:03 +0000)
committerramverma <ram.krishna.verma@est.tech>
Tue, 23 Jul 2019 11:03:52 +0000 (11:03 +0000)
commit8a43a894dbf9d3f3f1d19277ac295fd7026f4925
tree0e8d665279e8e1b9796dfc73bc478da332ab05e7
parent38c95a9e7810bb6563667df1933f7ed22cda0db1
Update PolicyDecoderCsarPdpx to match policy/api

Lifecycle API's for creating policies & policy types in policy/api
expects ToscaServiceTemplate as input instead of ToscaPolicy or
ToscaPolicyType. Hence, changing the return type of decoder to generate
& return ToscaServiceTemplate instead of ToscaPolicy.

Change-Id: I4fb92738e15ee7e2868741f7ca50cf09429d8cde
Issue-ID: POLICY-1888
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java
plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/decoding/pdpx/TestPolicyDecoderCsarPdpx.java