diff options
Diffstat (limited to 'site-manager/src')
-rw-r--r-- | site-manager/src/main/files/siteManager | 2 | ||||
-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)) |