diff options
author | sebdet <sebastien.determe@intl.att.com> | 2020-03-17 07:47:03 -0700 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2020-03-17 07:47:03 -0700 |
commit | 1b4f20dfda1c5dad80640571e13de53772f2cce1 (patch) | |
tree | ec44c3256d04b4782ae866ee21067711454c22ec /src/main/java/org | |
parent | d3027a41ce1fa76a1871cbfb87f065d8f9ab77e8 (diff) |
Fix the policy synchro
Fix the periodic policy synchro issue due to wrong format expected.
Issue-ID: CLAMP-784
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Iaa815e92bb5c7d93f9db9c75f98e144b8d0f6b44
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/onap/clamp/clds/client/PolicyEngineServices.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/clamp/clds/client/PolicyEngineServices.java b/src/main/java/org/onap/clamp/clds/client/PolicyEngineServices.java index 23586712a..5e6d9d98d 100644 --- a/src/main/java/org/onap/clamp/clds/client/PolicyEngineServices.java +++ b/src/main/java/org/onap/clamp/clds/client/PolicyEngineServices.java @@ -118,7 +118,7 @@ public class PolicyEngineServices { LinkedHashMap<String, Object> policyTypesMap = (LinkedHashMap<String, Object>) loadedYaml .get("policy_types"); - policyTypesMap.entrySet().parallelStream().forEach(entryPolicyType -> { + policyTypesMap.entrySet().stream().forEach(entryPolicyType -> { policyModelsService.createPolicyInDbIfNeeded( createPolicyModelFromPolicyEngine(entryPolicyType.getKey(), ((String) ((LinkedHashMap<String, Object>) entryPolicyType.getValue()).get("version")))); |