Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rework the policy refresh
[clamp.git]
/
src
/
main
/
java
/
org
/
onap
/
clamp
/
policy
/
Policy.java
diff --git
a/src/main/java/org/onap/clamp/policy/Policy.java
b/src/main/java/org/onap/clamp/policy/Policy.java
index
3b22064
..
87d36f3
100644
(file)
--- a/
src/main/java/org/onap/clamp/policy/Policy.java
+++ b/
src/main/java/org/onap/clamp/policy/Policy.java
@@
-43,6
+43,7
@@
import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hibernate.annotations.TypeDefs;
import org.json.JSONObject;
import org.hibernate.annotations.TypeDef;
import org.hibernate.annotations.TypeDefs;
import org.json.JSONObject;
+import org.onap.clamp.clds.tosca.update.ToscaConverterWithDictionarySupport;
import org.onap.clamp.dao.model.jsontype.StringJsonUserType;
import org.onap.clamp.loop.common.AuditEntity;
import org.onap.clamp.loop.template.LoopElementModel;
import org.onap.clamp.dao.model.jsontype.StringJsonUserType;
import org.onap.clamp.loop.common.AuditEntity;
import org.onap.clamp.loop.template.LoopElementModel;
@@
-175,6
+176,13
@@
public abstract class Policy extends AuditEntity {
this.jsonRepresentation = jsonRepresentation;
}
this.jsonRepresentation = jsonRepresentation;
}
+ /**
+ * Regenerate the Policy Json Representation.
+ *
+ * @param toscaConverter The tosca converter required to regenerate the json schema
+ */
+ public abstract void updateJsonRepresentation(ToscaConverterWithDictionarySupport toscaConverter);
+
/**
* policyModel getter.
*
/**
* policyModel getter.
*