diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2018-10-16 17:51:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-16 17:51:22 +0000 |
commit | dcbc974aad61afb91e30feadcb3a1cb72520dae2 (patch) | |
tree | 6a1b3c403e7a89301d20a57de090722cf5773577 /plugins | |
parent | 26aca30d09dd4552adf2b61c6bd18ddc681e2a87 (diff) | |
parent | 4978409efc08380c61efd7bf1e3822897d9b51fa (diff) |
Merge "Fix NullPointerException of PolicyScope field"
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java index 030c470b..97ca3f5e 100644 --- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java +++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java @@ -69,6 +69,7 @@ public class PolicyDecoderCsarPdpx implements PolicyDecoder<Csar, OptimizationPo configBody.setRiskLevel(decoderParameters.getRiskLevel()); configBody.setRiskType(decoderParameters.getRiskType()); configBody.setGuard("false"); + content.getPolicyScope().add("HPA"); configBody.setContent(content); policy.setConfigBody(gson.toJson(configBody)); policys.add(policy); |