Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update Holmes related feature
[clamp.git]
/
src
/
main
/
java
/
org
/
onap
/
clamp
/
clds
/
model
/
prop
/
Holmes.java
diff --git
a/src/main/java/org/onap/clamp/clds/model/prop/Holmes.java
b/src/main/java/org/onap/clamp/clds/model/prop/Holmes.java
index
4fa0407
..
bd47e8d
100644
(file)
--- a/
src/main/java/org/onap/clamp/clds/model/prop/Holmes.java
+++ b/
src/main/java/org/onap/clamp/clds/model/prop/Holmes.java
@@
-29,7
+29,7
@@
import com.fasterxml.jackson.databind.JsonNode;
* Parse Holmes bpmn parameters json properties.
* <p>
* Example json:
* Parse Holmes bpmn parameters json properties.
* <p>
* Example json:
- * [{"name":"correlationalLogic","value":"vcwx"},{"name":"
operationalPolicy
","value":"cccc"}]
+ * [{"name":"correlationalLogic","value":"vcwx"},{"name":"
configPolicyName
","value":"cccc"}]
*
*/
public class Holmes extends AbstractModelElement {
*
*/
public class Holmes extends AbstractModelElement {
@@
-38,11
+38,11
@@
public class Holmes extends AbstractModelElement {
private String correlationLogic;
private String correlationLogic;
- private String
operationalPolicy
;
+ private String
configPolicyName
;
/**
* Default constructor for Holmes Element
/**
* Default constructor for Holmes Element
- *
+ *
* @param modelProp
* The ModelProperties containing the all the info, like bpmn,
* bpmn params, etc ...
* @param modelProp
* The ModelProperties containing the all the info, like bpmn,
* bpmn params, etc ...
@@
-53,7
+53,7
@@
public class Holmes extends AbstractModelElement {
super(TYPE_HOLMES, modelProp, modelBpmn, modelJson);
correlationLogic = this.getValueByName("correlationalLogic");
super(TYPE_HOLMES, modelProp, modelBpmn, modelJson);
correlationLogic = this.getValueByName("correlationalLogic");
-
operationalPolicy = this.getValueByName("operationalPolicy
");
+
configPolicyName = this.getValueByName("configPolicyName
");
}
public static final String getType() {
}
public static final String getType() {
@@
-64,8
+64,8
@@
public class Holmes extends AbstractModelElement {
return correlationLogic;
}
return correlationLogic;
}
- public String get
OperationalPolicy
() {
- return
operationalPolicy
;
+ public String get
ConfigPolicyName
() {
+ return
configPolicyName
;
}
}
}
}