aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main/java
diff options
context:
space:
mode:
authorsg481n <sg481n@att.com>2017-08-23 16:30:52 -0400
committersg481n <sg481n@att.com>2017-08-23 17:06:39 -0400
commite4b20cc6f7c31f48ddd0de5bcd054b09a35cd510 (patch)
treea3359080a707e76332c4cfbb66d0af0a19b70191 /datarouter-prov/src/main/java
parent315f5603d8e42969a13d985ca8bb50146e82325a (diff)
Update project structure to org.onap
Update project structure of dmaap/datarouter from com.att to org.onap and add distribution management and nexus repositires details. Issue-id: DMAAP-52 Change-Id: Ibafee1cba43c7c5a3f227a02417998d36ecaae6b Signed-off-by: sg481n <sg481n@att.com>
Diffstat (limited to 'datarouter-prov/src/main/java')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/AuthorizationResponse.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/AuthorizationResponse.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/AuthorizationResponseSupplement.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/AuthorizationResponseSupplement.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/Authorizer.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/Authorizer.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthRespImpl.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthRespImpl.java)6
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthRespSupplementImpl.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthRespSupplementImpl.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthzResource.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthzResource.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvAuthorizer.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/ProvAuthorizer.java)9
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/ProvDataProvider.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/package.html (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/package.html)0
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/package.html (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/authz/package.html)0
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/BaseServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/BaseServlet.java)33
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/DRFeedsServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/DRFeedsServlet.java)14
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/FeedLogServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/FeedLogServlet.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/FeedServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/FeedServlet.java)12
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/GroupServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/GroupServlet.java)15
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/InternalServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/InternalServlet.java)20
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/LogServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/LogServlet.java)20
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/Main.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/Main.java)13
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/Poker.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/Poker.java)21
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/ProxyServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/ProxyServlet.java)7
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/PublishServlet.java)14
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/RouteServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/RouteServlet.java)17
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/StatisticsServlet.java)6
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubLogServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubLogServlet.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubscribeServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubscribeServlet.java)16
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubscriptionServlet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubscriptionServlet.java)12
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SynchronizerTask.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SynchronizerTask.java)29
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/BaseLogRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/BaseLogRecord.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Deleteable.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/DeliveryExtraRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/DeliveryExtraRecord.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/DeliveryRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/DeliveryRecord.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/EgressRoute.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/EgressRoute.java)7
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/EventLogRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/EventLogRecord.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/ExpiryRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/ExpiryRecord.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Feed.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Feed.java)11
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedAuthorization.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedEndpointID.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedEndpointID.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedLinks.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Group.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Group.java)9
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/IngressRoute.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/IngressRoute.java)7
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Insertable.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/JSONable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/JSONable.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/LOGJSONable.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Loadable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Loadable.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LogRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/LogRecord.java)6
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/NetworkRoute.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/NetworkRoute.java)7
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/NodeClass.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/NodeClass.java)7
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Parameters.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Parameters.java)7
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/PubFailRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/PubFailRecord.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/PublishRecord.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/PublishRecord.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/SubDelivery.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/SubLinks.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Subscription.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Subscription.java)10
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Syncable.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Updateable.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Updateable.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/package.html (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/package.html)0
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/eelf/EelfMsgs.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/eelf/EelfMsgs.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/eelf/JettyFilter.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/eelf/JettyFilter.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/package.html (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/package.html)0
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DB.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/DB.java)13
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/DRRouteCLI.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/JSONUtilities.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/JSONUtilities.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/LogfileLoader.java)23
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/PurgeLogDirTask.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/PurgeLogDirTask.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/RLEBitSet.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/RLEBitSet.java)2
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/ThrottleFilter.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/ThrottleFilter.java)9
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/URLUtilities.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/package.html (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/package.html)0
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/DailyLatencyReport.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/FeedReport.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/FeedReport.java)5
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/LatencyReport.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/Report.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/Report.java)8
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/ReportBase.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/ReportBase.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/SubscriberReport.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/SubscriberReport.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/VolumeReport.java (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/VolumeReport.java)4
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/package.html (renamed from datarouter-prov/src/main/java/com/att/research/datarouter/reports/package.html)0
76 files changed, 236 insertions, 255 deletions
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/AuthorizationResponse.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/AuthorizationResponse.java
index 26956f82..e078429c 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/AuthorizationResponse.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/AuthorizationResponse.java
@@ -20,7 +20,7 @@
* * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* *
******************************************************************************/
-package com.att.research.datarouter.authz;
+package org.onap.dmaap.datarouter.authz;
import java.util.List;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/AuthorizationResponseSupplement.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/AuthorizationResponseSupplement.java
index 2829c507..adb44ba3 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/AuthorizationResponseSupplement.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/AuthorizationResponseSupplement.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.authz;
+package org.onap.dmaap.datarouter.authz;
import java.util.Map;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/Authorizer.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/Authorizer.java
index bfed5c37..44719e66 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/Authorizer.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/Authorizer.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.authz;
+package org.onap.dmaap.datarouter.authz;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthRespImpl.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthRespImpl.java
index db318d39..cb608c3b 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthRespImpl.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthRespImpl.java
@@ -22,13 +22,13 @@
******************************************************************************/
-package com.att.research.datarouter.authz.impl;
+package org.onap.dmaap.datarouter.authz.impl;
import java.util.ArrayList;
import java.util.List;
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.authz.AuthorizationResponseSupplement;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponseSupplement;
/** A representation of an authorization response returned by a XACML Policy Decision Point.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthRespSupplementImpl.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthRespSupplementImpl.java
index 5d2b61c8..1f62c274 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthRespSupplementImpl.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthRespSupplementImpl.java
@@ -22,12 +22,12 @@
******************************************************************************/
-package com.att.research.datarouter.authz.impl;
+package org.onap.dmaap.datarouter.authz.impl;
import java.util.HashMap;
import java.util.Map;
-import com.att.research.datarouter.authz.AuthorizationResponseSupplement;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponseSupplement;
/** Carries supplementary information--an advice or an obligation--from the authorization response returned
* by a XACML Policy Decision Point. Not used in Data Router R1.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthzResource.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthzResource.java
index 1a201b7e..2e957939 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/AuthzResource.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/AuthzResource.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.authz.impl;
+package org.onap.dmaap.datarouter.authz.impl;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/ProvAuthorizer.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvAuthorizer.java
index d6683d5c..6ab9e2ab 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/ProvAuthorizer.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvAuthorizer.java
@@ -21,17 +21,16 @@
* *
******************************************************************************/
-package com.att.research.datarouter.authz.impl;
+package org.onap.dmaap.datarouter.authz.impl;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
-
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.authz.Authorizer;
-import com.att.research.datarouter.authz.impl.AuthzResource.ResourceType;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.authz.Authorizer;
+import org.onap.dmaap.datarouter.authz.impl.AuthzResource.ResourceType;
/** Authorizer for the provisioning API for Data Router R1
*
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/ProvDataProvider.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java
index 76ae0344..580fe99d 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/ProvDataProvider.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/ProvDataProvider.java
@@ -20,7 +20,7 @@
* * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* *
******************************************************************************/
-package com.att.research.datarouter.authz.impl;
+package org.onap.dmaap.datarouter.authz.impl;
/** Interface to access data about subscriptions and feeds. A software component that
* uses the <code>ProvAuthorizer</code> needs to supply an implementation of this interface.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/package.html b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/package.html
index fae27ee0..fae27ee0 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/impl/package.html
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/impl/package.html
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/package.html b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/package.html
index 7628ae82..7628ae82 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/authz/package.html
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/authz/package.html
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/BaseServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/BaseServlet.java
index a4784936..45d97485 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/BaseServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/BaseServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import static com.att.eelf.configuration.Configuration.MDC_SERVER_FQDN;
@@ -51,23 +51,22 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
import org.json.JSONObject;
import org.json.JSONTokener;
+import org.onap.dmaap.datarouter.authz.Authorizer;
+import org.onap.dmaap.datarouter.authz.impl.ProvAuthorizer;
+import org.onap.dmaap.datarouter.authz.impl.ProvDataProvider;
+import org.onap.dmaap.datarouter.provisioning.beans.Deleteable;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.beans.Group;
+import org.onap.dmaap.datarouter.provisioning.beans.Insertable;
+import org.onap.dmaap.datarouter.provisioning.beans.NodeClass;
+import org.onap.dmaap.datarouter.provisioning.beans.Parameters;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.beans.Updateable;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.ThrottleFilter;
import org.json.JSONException;
import org.slf4j.MDC;
-import com.att.research.datarouter.authz.Authorizer;
-import com.att.research.datarouter.authz.impl.ProvAuthorizer;
-import com.att.research.datarouter.authz.impl.ProvDataProvider;
-import com.att.research.datarouter.provisioning.beans.Deleteable;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.beans.Insertable;
-import com.att.research.datarouter.provisioning.beans.NodeClass;
-import com.att.research.datarouter.provisioning.beans.Parameters;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.beans.Updateable;
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.ThrottleFilter;
-import com.att.research.datarouter.provisioning.beans.Group; //Groups feature Rally:US708115 - 1610
-
import java.util.Properties;
import java.util.regex.Pattern;
import javax.mail.Message;
@@ -191,9 +190,9 @@ public class BaseServlet extends HttpServlet implements ProvDataProvider {
*/
protected BaseServlet() {
if (eventlogger == null)
- eventlogger = Logger.getLogger("com.att.research.datarouter.provisioning.events");
+ eventlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.events");
if (intlogger == null)
- intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
if (authz == null)
authz = new ProvAuthorizer(this);
if (startmsg_flag) {
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/DRFeedsServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/DRFeedsServlet.java
index df27042d..135d157e 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/DRFeedsServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/DRFeedsServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.io.InvalidObjectException;
@@ -32,14 +32,14 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
+import org.onap.dmaap.datarouter.provisioning.utils.JSONUtilities;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
-import com.att.research.datarouter.provisioning.utils.JSONUtilities;
/**
* This servlet handles provisioning for the &lt;drFeedsURL&gt; which is the URL on the
@@ -52,7 +52,7 @@ import com.att.research.datarouter.provisioning.utils.JSONUtilities;
@SuppressWarnings("serial")
public class DRFeedsServlet extends ProxyServlet {
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.DRFeedsServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.DRFeedsServlet");
/**
* DELETE on the &lt;drFeedsURL&gt; -- not supported.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/FeedLogServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/FeedLogServlet.java
index dd6b75dc..f5a2f7a8 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/FeedLogServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/FeedLogServlet.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
/**
* This servlet handles requests to the &lt;feedLogURL&gt;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/FeedServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/FeedServlet.java
index aff68538..b9056744 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/FeedServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/FeedServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.io.InvalidObjectException;
@@ -31,13 +31,13 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
/**
* This servlet handles provisioning for the &lt;feedURL&gt; which is generated by the provisioning
@@ -51,7 +51,7 @@ import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
public class FeedServlet extends ProxyServlet {
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.FeedServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.FeedServlet");
/**
* Delete the Feed at the address /feed/&lt;feednumber&gt;.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/GroupServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/GroupServlet.java
index 84ec3d2c..aa89dd2f 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/GroupServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/GroupServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.io.InvalidObjectException;
@@ -32,13 +32,12 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
-
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.provisioning.BaseServlet.ContentHeader;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.Group;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.utils.JSONUtilities;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.provisioning.BaseServlet.ContentHeader;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Group;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.utils.JSONUtilities;
/**
* This servlet handles provisioning for the &lt;groups&gt; which is generated by the provisioning
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/InternalServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/InternalServlet.java
index e50a478e..bec58ccd 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/InternalServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/InternalServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.ByteArrayOutputStream;
import java.io.File;
@@ -40,16 +40,16 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.LogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Parameters;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.LogfileLoader;
+import org.onap.dmaap.datarouter.provisioning.utils.RLEBitSet;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.LogRecord;
-import com.att.research.datarouter.provisioning.beans.Parameters;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.RLEBitSet;
-import com.att.research.datarouter.provisioning.utils.LogfileLoader;
/**
* <p>
@@ -121,7 +121,7 @@ import com.att.research.datarouter.provisioning.utils.LogfileLoader;
* <tr class="altColor">
* <td class="colFirst">/internal/route/*</td>
* <td class="colOne">*</td>
- * <td class="colLast">URLs under this path are handled via the {@link com.att.research.datarouter.provisioning.RouteServlet}</td>
+ * <td class="colLast">URLs under this path are handled via the {@link org.onap.dmaap.datarouter.provisioning.RouteServlet}</td>
* </tr>
* </table>
* </div>
@@ -150,7 +150,7 @@ import com.att.research.datarouter.provisioning.utils.LogfileLoader;
public class InternalServlet extends ProxyServlet {
private static Integer logseq = new Integer(0); // another piece of info to make log spool file names unique
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.InternalServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.InternalServlet");
/**
* Delete a parameter at the address /internal/api/&lt;parameter&gt;.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/LogServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/LogServlet.java
index 7ef74d12..74377873 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/LogServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/LogServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.sql.Connection;
@@ -40,17 +40,17 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.LOGJSONObject;
+import org.onap.dmaap.datarouter.provisioning.beans.DeliveryRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.ExpiryRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.LOGJSONable;
+import org.onap.dmaap.datarouter.provisioning.beans.PublishRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.provisioning.beans.DeliveryRecord;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.ExpiryRecord;
-import com.att.research.datarouter.provisioning.beans.LOGJSONable;
-import com.att.research.datarouter.provisioning.beans.PublishRecord;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
-import com.att.research.datarouter.provisioning.utils.DB;
/**
* This servlet handles requests to the &lt;feedLogURL&gt; and &lt;subLogURL&gt;,
@@ -62,7 +62,7 @@ import com.att.research.datarouter.provisioning.utils.DB;
@SuppressWarnings("serial")
public class LogServlet extends BaseServlet {
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.LogServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.LogServlet");
private static final long TWENTYFOUR_HOURS = (24 * 60 * 60 * 1000L);
private static final String fmt1 = "yyyy-MM-dd'T'HH:mm:ss'Z'";
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/Main.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/Main.java
index 5911ecd8..f5c93c79 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/Main.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/Main.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.security.Security;
import java.util.Properties;
@@ -45,11 +45,10 @@ import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.servlet.ServletHolder;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import org.eclipse.jetty.util.thread.QueuedThreadPool;
-
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.LogfileLoader;
-import com.att.research.datarouter.provisioning.utils.PurgeLogDirTask;
-import com.att.research.datarouter.provisioning.utils.ThrottleFilter;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.LogfileLoader;
+import org.onap.dmaap.datarouter.provisioning.utils.PurgeLogDirTask;
+import org.onap.dmaap.datarouter.provisioning.utils.ThrottleFilter;
/**
* <p>
@@ -99,7 +98,7 @@ public class Main {
*/
public static void main(String[] args) throws Exception {
Security.setProperty("networkaddress.cache.ttl", "4");
- Logger logger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ Logger logger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
// Check DB is accessible and contains the expected tables
if (! checkDatabase(logger))
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/Poker.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/Poker.java
index 13350df0..1d9f7143 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/Poker.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/Poker.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.FileInputStream;
import java.io.IOException;
@@ -46,15 +46,14 @@ import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
-
-import com.att.research.datarouter.provisioning.beans.EgressRoute;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.beans.IngressRoute;
-import com.att.research.datarouter.provisioning.beans.NetworkRoute;
-import com.att.research.datarouter.provisioning.beans.Parameters;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.beans.Group; //Groups feature Rally:US708115 - 1610
-import com.att.research.datarouter.provisioning.utils.*;
+import org.onap.dmaap.datarouter.provisioning.beans.EgressRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.beans.Group;
+import org.onap.dmaap.datarouter.provisioning.beans.IngressRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.NetworkRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.Parameters;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.utils.*;
/**
* This class handles the two timers (described in R1 Design Notes), and takes care of issuing
@@ -93,7 +92,7 @@ public class Poker extends TimerTask {
private Poker() {
timer1 = timer2 = 0;
rolex = new Timer();
- logger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ logger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
try {
this_pod = InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException e) {
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/ProxyServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/ProxyServlet.java
index b22b018f..2db1ce40 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/ProxyServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/ProxyServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.File;
import java.io.FileInputStream;
@@ -53,9 +53,8 @@ import org.apache.http.conn.ssl.SSLSocketFactory;
import org.apache.http.entity.BasicHttpEntity;
import org.apache.http.impl.client.AbstractHttpClient;
import org.apache.http.impl.client.DefaultHttpClient;
-
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.URLUtilities;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.URLUtilities;
/**
* This class is the base class for those servlets that need to proxy their requests from the
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/PublishServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
index 2a8e2e3c..e736d79c 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/PublishServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.io.InputStream;
@@ -39,14 +39,14 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
import org.json.JSONObject;
import org.json.JSONTokener;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.beans.IngressRoute;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
+import org.onap.dmaap.datarouter.provisioning.utils.*;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.beans.IngressRoute;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
-import com.att.research.datarouter.provisioning.utils.*;
/**
* This servlet handles redirects for the &lt;publishURL&gt; on the provisioning server,
@@ -63,7 +63,7 @@ public class PublishServlet extends BaseServlet {
private String provstring;
private List<IngressRoute> irt;
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.PublishServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.PublishServlet");
@Override
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/RouteServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/RouteServlet.java
index 68fd4c71..ab7aff8d 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/RouteServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/RouteServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.util.Set;
@@ -31,14 +31,13 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.beans.Deleteable;
-import com.att.research.datarouter.provisioning.beans.EgressRoute;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.IngressRoute;
-import com.att.research.datarouter.provisioning.beans.Insertable;
-import com.att.research.datarouter.provisioning.beans.NetworkRoute;
-import com.att.research.datarouter.provisioning.beans.NodeClass;
+import org.onap.dmaap.datarouter.provisioning.beans.Deleteable;
+import org.onap.dmaap.datarouter.provisioning.beans.EgressRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.IngressRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.Insertable;
+import org.onap.dmaap.datarouter.provisioning.beans.NetworkRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.NodeClass;
/**
* <p>
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/StatisticsServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java
index 1c508b77..a4bb07be 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/StatisticsServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.sql.Connection;
@@ -41,8 +41,8 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import org.json.LOGJSONObject;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* This Servlet handles requests to the &lt;Statistics API&gt; and &lt;Statistics consilidated resultset&gt;,
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubLogServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubLogServlet.java
index 0f196b28..689efec0 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubLogServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubLogServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
/**
* This servlet handles requests to the &lt;subLogURL&gt;,
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubscribeServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubscribeServlet.java
index ea79e9ff..71967803 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubscribeServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubscribeServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.io.InvalidObjectException;
@@ -32,15 +32,15 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
+import org.onap.dmaap.datarouter.provisioning.utils.JSONUtilities;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
-import com.att.research.datarouter.provisioning.utils.JSONUtilities;
/**
* This servlet handles provisioning for the &lt;subscribeURL&gt; which is generated by the provisioning
@@ -53,7 +53,7 @@ import com.att.research.datarouter.provisioning.utils.JSONUtilities;
public class SubscribeServlet extends ProxyServlet {
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.SubscribeServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.SubscribeServlet");
/**
* DELETE on the &lt;subscribeUrl&gt; -- not supported.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubscriptionServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubscriptionServlet.java
index 0bb47175..bbb1c6ba 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SubscriptionServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SubscriptionServlet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.IOException;
import java.io.InvalidObjectException;
@@ -36,13 +36,13 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import org.json.JSONObject;
+import org.onap.dmaap.datarouter.authz.AuthorizationResponse;
+import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.att.research.datarouter.authz.AuthorizationResponse;
-import com.att.research.datarouter.provisioning.beans.EventLogRecord;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
/**
* This servlet handles provisioning for the &lt;subscriptionURL&gt; which is generated by the provisioning
@@ -58,7 +58,7 @@ import com.att.research.datarouter.provisioning.eelf.EelfMsgs;
public class SubscriptionServlet extends ProxyServlet {
public static final String SUBCNTRL_CONTENT_TYPE = "application/vnd.att-dr.subscription-control";
//Adding EELF Logger Rally:US664892
- private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("com.att.research.datarouter.provisioning.SubscriptionServlet");
+ private static EELFLogger eelflogger = EELFManager.getInstance().getLogger("org.onap.dmaap.datarouter.provisioning.SubscriptionServlet");
/**
* DELETE on the &lt;subscriptionUrl&gt; -- delete a subscription.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SynchronizerTask.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SynchronizerTask.java
index 9cb9b7c0..a85bfc88 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/SynchronizerTask.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/SynchronizerTask.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning;
+package org.onap.dmaap.datarouter.provisioning;
import java.io.ByteArrayOutputStream;
import java.io.File;
@@ -65,19 +65,18 @@ import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
-
-import com.att.research.datarouter.provisioning.beans.EgressRoute;
-import com.att.research.datarouter.provisioning.beans.Feed;
-import com.att.research.datarouter.provisioning.beans.IngressRoute;
-import com.att.research.datarouter.provisioning.beans.NetworkRoute;
-import com.att.research.datarouter.provisioning.beans.Parameters;
-import com.att.research.datarouter.provisioning.beans.Subscription;
-import com.att.research.datarouter.provisioning.beans.Syncable;
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.RLEBitSet;
-import com.att.research.datarouter.provisioning.utils.LogfileLoader;
-import com.att.research.datarouter.provisioning.utils.URLUtilities;
-import com.att.research.datarouter.provisioning.beans.Group; //Groups feature Rally:US708115 - 1610
+import org.onap.dmaap.datarouter.provisioning.beans.EgressRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.Feed;
+import org.onap.dmaap.datarouter.provisioning.beans.Group;
+import org.onap.dmaap.datarouter.provisioning.beans.IngressRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.NetworkRoute;
+import org.onap.dmaap.datarouter.provisioning.beans.Parameters;
+import org.onap.dmaap.datarouter.provisioning.beans.Subscription;
+import org.onap.dmaap.datarouter.provisioning.beans.Syncable;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.LogfileLoader;
+import org.onap.dmaap.datarouter.provisioning.utils.RLEBitSet;
+import org.onap.dmaap.datarouter.provisioning.utils.URLUtilities;
/**
* This class handles synchronization between provisioning servers (PODs). It has three primary functions:
@@ -129,7 +128,7 @@ public class SynchronizerTask extends TimerTask {
@SuppressWarnings("deprecation")
private SynchronizerTask() {
- logger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ logger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
rolex = new Timer();
spooldir = (new DB()).getProperties().getProperty("com.att.research.datarouter.provserver.spooldir");
state = UNKNOWN;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/BaseLogRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/BaseLogRecord.java
index 327f95f2..d8df6fd1 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/BaseLogRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/BaseLogRecord.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Deleteable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java
index c16bdbc1..bec29ac2 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Deleteable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/DeliveryExtraRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/DeliveryExtraRecord.java
index 1a1cb569..bf7ead66 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/DeliveryExtraRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/DeliveryExtraRecord.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/DeliveryRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/DeliveryRecord.java
index b4791d48..330ba309 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/DeliveryRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/DeliveryRecord.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/EgressRoute.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/EgressRoute.java
index 94b59ce4..8c8b715c 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/EgressRoute.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/EgressRoute.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
import java.sql.PreparedStatement;
@@ -34,8 +34,7 @@ import java.util.TreeSet;
import org.apache.log4j.Logger;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* The representation of one route in the Egress Route Table.
@@ -44,7 +43,7 @@ import com.att.research.datarouter.provisioning.utils.DB;
* @version $Id: EgressRoute.java,v 1.3 2013/12/16 20:30:23 eby Exp $
*/
public class EgressRoute extends NodeClass implements Comparable<EgressRoute> {
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private final int subid;
private final int nodeid;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/EventLogRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/EventLogRecord.java
index adf45d49..4069c4c2 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/EventLogRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/EventLogRecord.java
@@ -22,13 +22,13 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.security.cert.X509Certificate;
import javax.servlet.http.HttpServletRequest;
-import com.att.research.datarouter.provisioning.BaseServlet;
+import org.onap.dmaap.datarouter.provisioning.BaseServlet;
/**
* This class is used to log provisioning server events. Each event consists of a who
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/ExpiryRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/ExpiryRecord.java
index 1db5417b..29a7feac 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/ExpiryRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/ExpiryRecord.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Feed.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Feed.java
index 4ee5ab96..9cc2beee 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Feed.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Feed.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.InvalidObjectException;
import java.sql.Connection;
@@ -41,10 +41,9 @@ import java.util.Set;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.JSONUtilities;
-import com.att.research.datarouter.provisioning.utils.URLUtilities;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.JSONUtilities;
+import org.onap.dmaap.datarouter.provisioning.utils.URLUtilities;
/**
* The representation of a Feed. Feeds can be retrieved from the DB, or stored/updated in the DB.
@@ -52,7 +51,7 @@ import com.att.research.datarouter.provisioning.utils.URLUtilities;
* @version $Id: Feed.java,v 1.13 2013/10/28 18:06:52 eby Exp $
*/
public class Feed extends Syncable {
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private static int next_feedid = getMaxFeedID() + 1;
private int feedid;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedAuthorization.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java
index 5701ce9f..49578b86 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedAuthorization.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.util.HashSet;
import java.util.Set;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedEndpointID.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedEndpointID.java
index f009c64c..b9ffc400 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedEndpointID.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedEndpointID.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.ResultSet;
import java.sql.SQLException;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedLinks.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java
index ccce9c4b..14aa1077 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/FeedLinks.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.InvalidObjectException;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Group.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Group.java
index 3f55b00a..884cd2b7 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Group.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Group.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.InvalidObjectException;
import java.sql.Connection;
@@ -36,9 +36,8 @@ import java.util.List;
import org.apache.log4j.Logger;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.URLUtilities;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.URLUtilities;
/**
* The representation of a Subscription. Subscriptions can be retrieved from the DB, or stored/updated in the DB.
@@ -46,7 +45,7 @@ import com.att.research.datarouter.provisioning.utils.URLUtilities;
* @version $Id: Group.java,v 1.0 2016/07/19
*/
public class Group extends Syncable {
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private static int next_groupid = getMaxGroupID() + 1;
private int groupid;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/IngressRoute.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/IngressRoute.java
index a9ea9bc7..056c7695 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/IngressRoute.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/IngressRoute.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.net.InetAddress;
import java.net.UnknownHostException;
@@ -43,8 +43,7 @@ import org.apache.commons.codec.binary.Base64;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* The representation of one route in the Ingress Route Table.
@@ -53,7 +52,7 @@ import com.att.research.datarouter.provisioning.utils.DB;
* @version $Id: IngressRoute.java,v 1.3 2013/12/16 20:30:23 eby Exp $
*/
public class IngressRoute extends NodeClass implements Comparable<IngressRoute> {
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private final int seq;
private final int feedid;
private final String userid;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Insertable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java
index 6604ab41..62195378 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Insertable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Insertable.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/JSONable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/JSONable.java
index cbea9ad0..f276bd3d 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/JSONable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/JSONable.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import org.json.JSONObject;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/LOGJSONable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.java
index 93cdfaa9..943e2149 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/LOGJSONable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LOGJSONable.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import org.json.LOGJSONObject;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Loadable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Loadable.java
index 3676f450..957d71d0 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Loadable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Loadable.java
@@ -22,12 +22,12 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.SQLException;
-import com.att.research.datarouter.provisioning.utils.LogfileLoader;
+import org.onap.dmaap.datarouter.provisioning.utils.LogfileLoader;
/**
* This interface is used by bean classes that can be loaded into the LOG_RECORDS table using the
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/LogRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LogRecord.java
index 1ddc5094..dbb2133b 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/LogRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/LogRecord.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.IOException;
import java.io.OutputStream;
@@ -35,8 +35,8 @@ import java.sql.Types;
import java.text.ParseException;
import java.util.Iterator;
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.RLEBitSet;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.RLEBitSet;
/**
* The representation of a Log Record, as retrieved from the DB. Since this record format is only used
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/NetworkRoute.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/NetworkRoute.java
index 59f21928..74c5406c 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/NetworkRoute.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/NetworkRoute.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
import java.sql.PreparedStatement;
@@ -34,8 +34,7 @@ import java.util.TreeSet;
import org.apache.log4j.Logger;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* The representation of one route in the Network Route Table.
@@ -44,7 +43,7 @@ import com.att.research.datarouter.provisioning.utils.DB;
* @version $Id: NetworkRoute.java,v 1.2 2013/12/16 20:30:23 eby Exp $
*/
public class NetworkRoute extends NodeClass implements Comparable<NetworkRoute> {
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private final int fromnode;
private final int tonode;
private final int vianode;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/NodeClass.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/NodeClass.java
index 321885b4..e3dd8524 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/NodeClass.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/NodeClass.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
import java.sql.PreparedStatement;
@@ -34,8 +34,7 @@ import java.util.Set;
import java.util.TreeSet;
import org.apache.log4j.Logger;
-
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* This class is used to aid in the mapping of node names from/to node IDs.
@@ -68,7 +67,7 @@ public abstract class NodeClass extends Syncable {
nextid = n+1;
}
// take | separated list, add domain if needed.
- Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
for (String node : nodes) {
node = normalizeNodename(node);
if (!map.containsKey(node)) {
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Parameters.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Parameters.java
index 1cb4bcad..a47569fd 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Parameters.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Parameters.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
import java.sql.PreparedStatement;
@@ -35,8 +35,7 @@ import java.util.Map;
import org.apache.log4j.Logger;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* Methods to provide access to Provisioning parameters in the DB.
@@ -69,7 +68,7 @@ public class Parameters extends Syncable {
public static final String THROTTLE_FILTER = "THROTTLE_FILTER";
public static final String STATIC_ROUTING_NODES = "STATIC_ROUTING_NODES"; //Adding new param for static Routing - Rally:US664862-1610
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private String keyname;
private String value;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/PubFailRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/PubFailRecord.java
index 1fe1473b..de2ad731 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/PubFailRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/PubFailRecord.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/PublishRecord.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/PublishRecord.java
index a844c768..74a9c4b5 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/PublishRecord.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/PublishRecord.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/SubDelivery.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java
index 66e44af5..2341f2ba 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/SubDelivery.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.ResultSet;
import java.sql.SQLException;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/SubLinks.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java
index 27128d86..2f66a498 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/SubLinks.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.InvalidObjectException;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Subscription.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Subscription.java
index 7ab10a45..7e9f2ca8 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Subscription.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Subscription.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.InvalidObjectException;
import java.sql.Connection;
@@ -36,10 +36,10 @@ import java.util.List;
import org.apache.log4j.Logger;
import org.json.JSONObject;
-import java.util.Properties;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.URLUtilities;
-import com.att.research.datarouter.provisioning.utils.DB;
-import com.att.research.datarouter.provisioning.utils.URLUtilities;
+import java.util.Properties;
/**
* The representation of a Subscription. Subscriptions can be retrieved from the DB, or stored/updated in the DB.
@@ -47,7 +47,7 @@ import com.att.research.datarouter.provisioning.utils.URLUtilities;
* @version $Id: Subscription.java,v 1.9 2013/10/28 18:06:53 eby Exp $
*/
public class Subscription extends Syncable {
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private static int next_subid = getMaxSubID() + 1;
private int subid;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Syncable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java
index 00163c1c..8e6b9c9c 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Syncable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Syncable.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Updateable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Updateable.java
index a9b19e7c..d7d0b33f 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/Updateable.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Updateable.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.beans;
+package org.onap.dmaap.datarouter.provisioning.beans;
import java.sql.Connection;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/package.html b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/package.html
index 4b28053a..4b28053a 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/beans/package.html
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/package.html
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/eelf/EelfMsgs.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/eelf/EelfMsgs.java
index 3a230416..ccd29381 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/eelf/EelfMsgs.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/eelf/EelfMsgs.java
@@ -20,7 +20,7 @@
* * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.eelf;
+package org.onap.dmaap.datarouter.provisioning.eelf;
import com.att.eelf.i18n.EELFResolvableErrorEnum;
import com.att.eelf.i18n.EELFResourceManager;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/eelf/JettyFilter.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/eelf/JettyFilter.java
index cfef910c..1e127d8a 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/eelf/JettyFilter.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/eelf/JettyFilter.java
@@ -20,7 +20,7 @@
* * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* *
******************************************************************************/
-package com.att.research.datarouter.provisioning.eelf;
+package org.onap.dmaap.datarouter.provisioning.eelf;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.filter.Filter;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/package.html b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/package.html
index 7b009312..7b009312 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/package.html
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/package.html
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/DB.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DB.java
index ec4b0e68..1f558ec8 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/DB.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DB.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.io.File;
import java.io.FileReader;
@@ -46,11 +46,10 @@ import java.util.Queue;
import java.util.Set;
import org.apache.log4j.Logger;
-
-import com.att.research.datarouter.provisioning.beans.DeliveryRecord;
-import com.att.research.datarouter.provisioning.beans.ExpiryRecord;
-import com.att.research.datarouter.provisioning.beans.Loadable;
-import com.att.research.datarouter.provisioning.beans.PublishRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.DeliveryRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.ExpiryRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Loadable;
+import org.onap.dmaap.datarouter.provisioning.beans.PublishRecord;
/**
* Load the DB JDBC driver, and manage a simple pool of connections to the DB.
@@ -67,7 +66,7 @@ public class DB {
private static String DB_LOGIN = "datarouter";
private static String DB_PASSWORD = "datarouter";
private static Properties props;
- private static Logger intlogger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger intlogger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private static Queue<Connection> queue = new LinkedList<Connection>();
public static String HTTPS_PORT;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/DRRouteCLI.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java
index 36d46e3b..4c98f8e0 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/DRRouteCLI.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/DRRouteCLI.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.io.File;
import java.io.FileInputStream;
@@ -63,7 +63,7 @@ public class DRRouteCLI {
* Invoke the CLI. The CLI can be run with a single command (given as command line arguments),
* or in an interactive mode where the user types a sequence of commands to the program. The CLI is invoked via:
* <pre>
- * java com.att.research.datarouter.provisioning.utils.DRRouteCLI [ -s <i>server</i> ] [ <i>command</i> ]
+ * java org.onap.dmaap.datarouter.provisioning.utils.DRRouteCLI [ -s <i>server</i> ] [ <i>command</i> ]
* </pre>
* A full description of the arguments to this command are
* <a href="http://wiki.proto.research.att.com/doku.php?id=datarouter-route-cli">here</a>.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/JSONUtilities.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/JSONUtilities.java
index e1676588..886a85c7 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/JSONUtilities.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/JSONUtilities.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.net.InetAddress;
import java.net.UnknownHostException;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/LogfileLoader.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java
index f9c11f18..b19bee10 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/LogfileLoader.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.io.File;
import java.io.FileInputStream;
@@ -47,16 +47,15 @@ import java.util.TreeSet;
import java.util.zip.GZIPInputStream;
import org.apache.log4j.Logger;
-
-import com.att.research.datarouter.provisioning.BaseServlet;
-import com.att.research.datarouter.provisioning.beans.DeliveryExtraRecord;
-import com.att.research.datarouter.provisioning.beans.DeliveryRecord;
-import com.att.research.datarouter.provisioning.beans.ExpiryRecord;
-import com.att.research.datarouter.provisioning.beans.Loadable;
-import com.att.research.datarouter.provisioning.beans.LogRecord;
-import com.att.research.datarouter.provisioning.beans.Parameters;
-import com.att.research.datarouter.provisioning.beans.PubFailRecord;
-import com.att.research.datarouter.provisioning.beans.PublishRecord;
+import org.onap.dmaap.datarouter.provisioning.BaseServlet;
+import org.onap.dmaap.datarouter.provisioning.beans.DeliveryExtraRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.DeliveryRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.ExpiryRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Loadable;
+import org.onap.dmaap.datarouter.provisioning.beans.LogRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.Parameters;
+import org.onap.dmaap.datarouter.provisioning.beans.PubFailRecord;
+import org.onap.dmaap.datarouter.provisioning.beans.PublishRecord;
/**
* This class provides methods that run in a separate thread, in order to process logfiles uploaded into the spooldir.
@@ -106,7 +105,7 @@ public class LogfileLoader extends Thread {
private boolean idle;
private LogfileLoader() {
- this.logger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ this.logger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
this.db = new DB();
this.spooldir = db.getProperties().getProperty("com.att.research.datarouter.provserver.spooldir");
this.set_start = getIdRange();
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/PurgeLogDirTask.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/PurgeLogDirTask.java
index b705e6f8..5a5d550f 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/PurgeLogDirTask.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/PurgeLogDirTask.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.io.File;
import java.util.Properties;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/RLEBitSet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/RLEBitSet.java
index 58617414..a9df2feb 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/RLEBitSet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/RLEBitSet.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.util.ArrayList;
import java.util.Iterator;
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/ThrottleFilter.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/ThrottleFilter.java
index 6eb866c8..ba2ca7e7 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/ThrottleFilter.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/ThrottleFilter.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.io.IOException;
import java.io.InputStream;
@@ -43,13 +43,12 @@ import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import com.att.research.datarouter.provisioning.beans.Parameters;
-
import org.apache.log4j.Logger;
import org.eclipse.jetty.continuation.Continuation;
import org.eclipse.jetty.continuation.ContinuationSupport;
import org.eclipse.jetty.server.AbstractHttpConnection;
import org.eclipse.jetty.server.Request;
+import org.onap.dmaap.datarouter.provisioning.beans.Parameters;
/**
* This filter checks /publish requests to the provisioning server to allow ill-behaved publishers to be throttled.
@@ -91,7 +90,7 @@ import org.eclipse.jetty.server.Request;
public class ThrottleFilter extends TimerTask implements Filter {
public static final int DEFAULT_N = 10;
public static final int DEFAULT_M = 5;
- public static final String THROTTLE_MARKER = "com.att.research.datarouter.provisioning.THROTTLE_MARKER";
+ public static final String THROTTLE_MARKER = "org.onap.dmaap.datarouter.provisioning.THROTTLE_MARKER";
private static final String JETTY_REQUEST = "org.eclipse.jetty.server.Request";
private static final long ONE_MINUTE = 60000L;
private static final int ACTION_DROP = 0;
@@ -103,7 +102,7 @@ public class ThrottleFilter extends TimerTask implements Filter {
private static int m_minutes = 0; // sampling period
private static int action = ACTION_DROP; // action to take (throttle or drop)
- private static Logger logger = Logger.getLogger("com.att.research.datarouter.provisioning.internal");
+ private static Logger logger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");
private static Map<String, Counter> map = new HashMap<String, Counter>();
private static final Timer rolex = new Timer();
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/URLUtilities.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java
index c1793e52..c3249426 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/URLUtilities.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java
@@ -22,13 +22,13 @@
******************************************************************************/
-package com.att.research.datarouter.provisioning.utils;
+package org.onap.dmaap.datarouter.provisioning.utils;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
-import com.att.research.datarouter.provisioning.BaseServlet;
+import org.onap.dmaap.datarouter.provisioning.BaseServlet;
/**
* Utility functions used to generate the different URLs used by the Data Router.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/package.html b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/package.html
index 7855bb40..7855bb40 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/provisioning/utils/package.html
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/package.html
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/DailyLatencyReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java
index 63d612f9..cd48e623 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/DailyLatencyReport.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
@@ -38,7 +38,7 @@ import java.util.List;
import java.util.Map;
import java.util.TreeSet;
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* Generate a daily per feed latency report. The report is a .csv file containing the following columns:
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/FeedReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/FeedReport.java
index 9fe7e27f..a3e15dc3 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/FeedReport.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/FeedReport.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import java.io.FileNotFoundException;
import java.io.FileReader;
@@ -40,8 +40,7 @@ import java.util.GregorianCalendar;
import org.json.JSONException;
import org.json.JSONObject;
-
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* Generate a feeds report. The report is a .CSV file.
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/LatencyReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java
index 96e096e9..c213c03d 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/LatencyReport.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
@@ -33,7 +33,7 @@ import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* Generate a per-file latency report. It reports on the details related to one file published
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/Report.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/Report.java
index bd64e0eb..f4e0255e 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/Report.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/Report.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import java.lang.reflect.Constructor;
import java.util.Calendar;
@@ -39,7 +39,7 @@ public class Report {
/**
* Generate .csv report files from the database. Usage:
* <pre>
- * java com.att.research.datarouter.reports.Report [ -t <i>type</i> ] [ -o <i>outfile</i> ] [ <i>fromdate</i> [ <i>todate</i> ]]
+ * java org.onap.dmaap.datarouter.reports.Report [ -t <i>type</i> ] [ -o <i>outfile</i> ] [ <i>fromdate</i> [ <i>todate</i> ]]
* </pre>
* <i>type</i> should be <b>volume</b> for a {@link VolumeReport},
* <b>feed</b> for a {@link FeedReport},
@@ -59,7 +59,7 @@ public class Report {
for (int i = 0; i < args.length; i++) {
if (args[i].equals("-?")) {
- System.err.println("usage: java com.att.research.datarouter.reports.Report [ -t <i>type</i> ] [ -o <i>outfile</i> ] [ <i>fromdate</i> [ <i>todate</i> ]]");
+ System.err.println("usage: java org.onap.dmaap.datarouter.reports.Report [ -t <i>type</i> ] [ -o <i>outfile</i> ] [ <i>fromdate</i> [ <i>todate</i> ]]");
System.exit(0);
} else if (args[i].equals("-o")) {
if (++i < args.length) {
@@ -69,7 +69,7 @@ public class Report {
if (++i < args.length) {
String base = args[i];
base = Character.toUpperCase(base.charAt(0)) + base.substring(1);
- base = "com.att.research.datarouter.reports."+base+"Report";
+ base = "org.onap.dmaap.datarouter.reports."+base+"Report";
try {
@SuppressWarnings("unchecked")
Class<? extends ReportBase> cl = (Class<? extends ReportBase>) Class.forName(base);
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/ReportBase.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/ReportBase.java
index 2bdabf19..15f056d2 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/ReportBase.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/ReportBase.java
@@ -21,7 +21,7 @@
* *
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import org.apache.log4j.Logger;
@@ -39,7 +39,7 @@ abstract public class ReportBase implements Runnable {
public ReportBase() {
this.from = 0;
this.to = System.currentTimeMillis();
- this.logger = Logger.getLogger("com.att.research.datarouter.reports");
+ this.logger = Logger.getLogger("org.onap.dmaap.datarouter.reports");
}
public void setFrom(long from) {
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/SubscriberReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/SubscriberReport.java
index b003ab12..5d62e1ec 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/SubscriberReport.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/SubscriberReport.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
@@ -34,7 +34,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.TreeSet;
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* Generate a subscribers report. The report is a .CSV file. It contains information per-day and per-subscriber,
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/VolumeReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/VolumeReport.java
index 92a85e2e..b210ef9f 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/VolumeReport.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/VolumeReport.java
@@ -22,7 +22,7 @@
******************************************************************************/
-package com.att.research.datarouter.reports;
+package org.onap.dmaap.datarouter.reports;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
@@ -36,7 +36,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.TreeSet;
-import com.att.research.datarouter.provisioning.utils.DB;
+import org.onap.dmaap.datarouter.provisioning.utils.DB;
/**
* Generate a traffic volume report. The report is a .csv file containing the following columns:
diff --git a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/package.html b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/package.html
index 2c2d26b3..2c2d26b3 100644
--- a/datarouter-prov/src/main/java/com/att/research/datarouter/reports/package.html
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/package.html