Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Guard policy clean up
[clamp.git]
/
src
/
main
/
java
/
org
/
onap
/
clamp
/
loop
/
components
/
external
/
PolicyComponent.java
diff --git
a/src/main/java/org/onap/clamp/loop/components/external/PolicyComponent.java
b/src/main/java/org/onap/clamp/loop/components/external/PolicyComponent.java
index
227f40a
..
4ea5b71
100644
(file)
--- a/
src/main/java/org/onap/clamp/loop/components/external/PolicyComponent.java
+++ b/
src/main/java/org/onap/clamp/loop/components/external/PolicyComponent.java
@@
-85,13
+85,6
@@
public class PolicyComponent extends ExternalComponent {
updatePdpGroupMap(opPolicy.getPdpGroup(), opPolicy.getPdpSubgroup(),
opPolicy.getName(),
"1.0.0", pdpGroupMap);
updatePdpGroupMap(opPolicy.getPdpGroup(), opPolicy.getPdpSubgroup(),
opPolicy.getName(),
"1.0.0", pdpGroupMap);
- if (opPolicy.isLegacy()) {
- for (String guardName:opPolicy.createGuardPolicyPayloads().keySet()) {
- updatePdpGroupMap(opPolicy.getPdpGroup(), opPolicy.getPdpSubgroup(),
- guardName,
- "1.0.0", pdpGroupMap);
- }
- }
}
for (MicroServicePolicy msPolicy : loop.getMicroServicePolicies()) {
}
for (MicroServicePolicy msPolicy : loop.getMicroServicePolicies()) {
@@
-186,7
+179,7
@@
public class PolicyComponent extends ExternalComponent {
/**
* This is a method that expect the results of the queries getPolicy and
/**
* This is a method that expect the results of the queries getPolicy and
- * getPolicyDeployed for a unique policy (op,
guard,
config, etc ...). It
+ * getPolicyDeployed for a unique policy (op, config, etc ...). It
* re-computes the global policy state for each policy results given. Therefore
* this method is called multiple times from the camel route and must be reset
* for a new global policy state retrieval. The state to compute the global
* re-computes the global policy state for each policy results given. Therefore
* this method is called multiple times from the camel route and must be reset
* for a new global policy state retrieval. The state to compute the global