Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make clientAuth header optional and log request
[policy/engine.git]
/
PolicyEngineAPI
/
src
/
main
/
java
/
org
/
onap
/
policy
/
api
/
ConfigNameRequest.java
diff --git
a/PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigNameRequest.java
b/PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigNameRequest.java
index
1a64757
..
c5c10b0
100644
(file)
--- a/
PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigNameRequest.java
+++ b/
PolicyEngineAPI/src/main/java/org/onap/policy/api/ConfigNameRequest.java
@@
-25,6
+25,7
@@
import java.io.Serializable;
public class ConfigNameRequest implements Serializable {
private static final long serialVersionUID = 4487978240532425305L;
public class ConfigNameRequest implements Serializable {
private static final long serialVersionUID = 4487978240532425305L;
+ private static final Gson GSON = new Gson();
private String policyName = null;
private String policyName = null;
@@
-37,12
+38,12
@@
public class ConfigNameRequest implements Serializable {
}
/**
}
/**
- * Used to print the input Params for getC
O
nfig REST call.
+ * Used to print the input Params for getC
o
nfig REST call.
*
* @return JSON String of this object.
*/
@Override
public String toString() {
*
* @return JSON String of this object.
*/
@Override
public String toString() {
- return
new Gson()
.toJson(this);
+ return
GSON
.toJson(this);
}
}
}
}