Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change Yaml to Json payload
[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
f4efab0
..
fc097bd
100644
(file)
--- a/
src/main/java/org/onap/clamp/policy/Policy.java
+++ b/
src/main/java/org/onap/clamp/policy/Policy.java
@@
-25,13
+25,15
@@
package org.onap.clamp.policy;
import com.google.gson.JsonObject;
import com.google.gson.JsonObject;
+import java.io.UnsupportedEncodingException;
+
public interface Policy {
String getName();
JsonObject getJsonRepresentation();
public interface Policy {
String getName();
JsonObject getJsonRepresentation();
- String createPolicyPayload();
+ String createPolicyPayload()
throws UnsupportedEncodingException
;
/**
* Generate the policy name.
/**
* Generate the policy name.