Code Review
/
dmaap
/
datarouter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor Prov DB handling
[dmaap/datarouter.git]
/
datarouter-prov
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
datarouter
/
provisioning
/
utils
/
DRRouteCLI.java
diff --git
a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java
b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java
index
f078d80
..
187364f
100644
(file)
--- a/
datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java
+++ b/
datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java
@@
-53,6
+53,7
@@
import org.apache.http.util.EntityUtils;
import org.json.JSONArray;
\r
import org.json.JSONObject;
\r
import org.json.JSONTokener;
\r
import org.json.JSONArray;
\r
import org.json.JSONObject;
\r
import org.json.JSONTokener;
\r
+import org.onap.dmaap.datarouter.provisioning.ProvRunner;
\r
\r
/**
\r
* This class provides a Command Line Interface for the routing tables in the DR Release 2.0 DB.
\r
\r
/**
\r
* This class provides a Command Line Interface for the routing tables in the DR Release 2.0 DB.
\r
@@
-117,7
+118,7
@@
public class DRRouteCLI {
this.server = server;
\r
this.httpclient = new DefaultHttpClient();
\r
\r
this.server = server;
\r
this.httpclient = new DefaultHttpClient();
\r
\r
- Properties provProperties =
(new DB()).get
Properties();
\r
+ Properties provProperties =
ProvRunner.getProv
Properties();
\r
try {
\r
AafPropsUtils.init(new File(provProperties.getProperty(
\r
"org.onap.dmaap.datarouter.provserver.aafprops.path",
\r
try {
\r
AafPropsUtils.init(new File(provProperties.getProperty(
\r
"org.onap.dmaap.datarouter.provserver.aafprops.path",
\r