summaryrefslogtreecommitdiffstats
path: root/site-manager/src/main
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-07-28 08:21:14 +0000
committerPamela Dragosh <pdragosh@research.att.com>2017-07-31 08:31:07 -0400
commitf8a620d1ff2b0d33b08a22279058f3e0253bdde1 (patch)
tree9092df7a6c57a46d36988245f60db0c29a7b1404 /site-manager/src/main
parente7bd0934d383c811b0b7302c42991aa1d61941c4 (diff)
[POLICY-71] replace openecomp for policy-common
Change-Id: I3241f5d1f0234043b4dff718eda1ffdc48052276 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'site-manager/src/main')
-rw-r--r--site-manager/src/main/files/siteManager2
-rw-r--r--site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java (renamed from site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java)10
2 files changed, 6 insertions, 6 deletions
diff --git a/site-manager/src/main/files/siteManager b/site-manager/src/main/files/siteManager
index 02e7c33c..233959c9 100644
--- a/site-manager/src/main/files/siteManager
+++ b/site-manager/src/main/files/siteManager
@@ -3,5 +3,5 @@
dir="${0%/*}"
CLASSPATH="${dir}/site-manager-${project.version}.jar" java \
-DsiteManager.properties=${dir}/siteManager.properties \
- org.openecomp.policy.common.sitemanager.Main "$@" | \
+ org.onap.policy.common.sitemanager.Main "$@" | \
grep -v "^\[EL Info\]"
diff --git a/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java b/site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java
index 5bb8474e..df843f3d 100644
--- a/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
+++ b/site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.common.sitemanager;
+package org.onap.policy.common.sitemanager;
/*
* Site Manager argument list:
@@ -50,9 +50,9 @@ import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
-import org.openecomp.policy.common.im.jpa.ResourceRegistrationEntity;
-import org.openecomp.policy.common.im.jpa.StateManagementEntity;
-import org.openecomp.policy.common.im.jmx.ComponentAdminMBean;
+import org.onap.policy.common.im.jpa.ResourceRegistrationEntity;
+import org.onap.policy.common.im.jpa.StateManagementEntity;
+import org.onap.policy.common.im.jmx.ComponentAdminMBean;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
@@ -459,7 +459,7 @@ public class Main
connector = JMXConnectorFactory.connect(new JMXServiceURL(jmxUrl));
ComponentAdminMBean admin = JMX.newMXBeanProxy
(connector.getMBeanServerConnection(),
- new ObjectName("ECOMP_POLICY_COMP:name=" + resourceName),
+ new ObjectName("ONAP_POLICY_COMP:name=" + resourceName),
ComponentAdminMBean.class);
if ("lock".equals(arg0))