diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-07-28 08:21:14 +0000 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-07-31 08:31:07 -0400 |
commit | f8a620d1ff2b0d33b08a22279058f3e0253bdde1 (patch) | |
tree | 9092df7a6c57a46d36988245f60db0c29a7b1404 /site-manager | |
parent | e7bd0934d383c811b0b7302c42991aa1d61941c4 (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')
-rw-r--r-- | site-manager/pom.xml | 6 | ||||
-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 |
3 files changed, 9 insertions, 9 deletions
diff --git a/site-manager/pom.xml b/site-manager/pom.xml index 2671a848..da0fa471 100644 --- a/site-manager/pom.xml +++ b/site-manager/pom.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- ============LICENSE_START======================================================= - ECOMP Policy Engine - Common Modules + ONAP Policy Engine - Common Modules ================================================================================ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. ================================================================================ @@ -29,7 +29,7 @@ <packaging>jar</packaging> <parent> - <groupId>org.openecomp.policy.common</groupId> + <groupId>org.onap.policy.common</groupId> <artifactId>common-modules</artifactId> <version>1.1.0-SNAPSHOT</version> </parent> @@ -111,7 +111,7 @@ <version>2.1.0</version> </dependency> <dependency> - <groupId>org.openecomp.policy.common</groupId> + <groupId>org.onap.policy.common</groupId> <artifactId>integrity-monitor</artifactId> <version>${project.version}</version> </dependency> 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)) |