diff options
author | Ravindra Bakkamanthala <rb7147@att.com> | 2017-05-23 14:56:12 -0400 |
---|---|---|
committer | Ravindra Bakkamanthala <rb7147@att.com> | 2017-05-23 16:49:56 -0400 |
commit | 87c95be02a8a4d77e165dede90777e811b59dcae (patch) | |
tree | 4712199fc3520b530dda0c4d3b074c327df547f2 /PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java | |
parent | 7e547eaa55920dfbc9691eab33bb728395b50cf2 (diff) |
Commit includes ControlLoopPolicy API and bugfixes
Change-Id: I3e18bb8b4c31a0d908bb0cff4c85e2a3fb450a63
Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
Diffstat (limited to 'PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java')
-rw-r--r-- | PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java index dcaaaf188..a3903806c 100644 --- a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java +++ b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ConfigBasePolicyClient.java @@ -50,12 +50,12 @@ public class ConfigBasePolicyClient{ //policyParameters.setPolicyScope("MikeConsole"); //Directory will be created where the Policies are saved... this displays a a subscope on the GUI //Set the Config Attributes... These are Optional - Map<String, String> configAttributes = new HashMap<String, String>(); + Map<String, String> configAttributes = new HashMap<>(); configAttributes.put("Template", "SampleTemplate"); configAttributes.put("controller", "default"); configAttributes.put("SamPoll", "30"); configAttributes.put("value", "abcd"); - Map<AttributeType, Map<String,String>> attributes = new HashMap<AttributeType, Map<String,String>>(); + Map<AttributeType, Map<String,String>> attributes = new HashMap<>(); attributes.put(AttributeType.MATCHING, configAttributes); policyParameters.setAttributes(attributes); policyParameters.setRequestID(UUID.randomUUID()); |