summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOURN-plugin/src/main/java
diff options
context:
space:
mode:
authorxg353y <xg353y@intl.att.com>2017-04-11 13:30:42 +0200
committerxg353y <xg353y@intl.att.com>2017-04-11 15:34:19 +0200
commitb6b7bef8bdcad15af01ac88a038dd763ce59f68f (patch)
tree399d39da23aaa37701e487df064e3e0c27709ef3 /bpmn/MSOURN-plugin/src/main/java
parent19340cad94eeaa1b580f7c0c99531de499e8ca14 (diff)
[MSO-8] Update the maven dependency
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
Diffstat (limited to 'bpmn/MSOURN-plugin/src/main/java')
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/URNMapPlugin.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/URNMapPlugin.java)7
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/MyBatisExtendedSessionFactory.java)2
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisQueryCommandExecutor.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/MyBatisQueryCommandExecutor.java)2
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/URNData.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/URNData.java)2
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/URNService.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/URNService.java)2
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/ProcessInstanceResource.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/ProcessInstanceResource.java)6
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/URNMapPluginRootResource.java)5
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java (renamed from bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/URNResource.java)10
8 files changed, 16 insertions, 20 deletions
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/URNMapPlugin.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/URNMapPlugin.java
index 9a02aa0c38..fc08d2d54e 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/URNMapPlugin.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/URNMapPlugin.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap;
+package org.openecomp.camunda.bpmn.plugin.urnmap;
import java.util.Arrays;
import java.util.HashSet;
@@ -26,8 +26,7 @@ import java.util.List;
import java.util.Set;
import org.camunda.bpm.cockpit.plugin.spi.impl.AbstractCockpitPlugin;
-
-import com.att.camunda.bpm.plugin.urnmap.resources.URNMapPluginRootResource;
+import org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNMapPluginRootResource;
@@ -49,6 +48,6 @@ public class URNMapPlugin extends AbstractCockpitPlugin{
@Override
public List<String> getMappingFiles() {
- return Arrays.asList("com/att/camunda/bpm/plugin/urnmap/queries/urnMap.xml");
+ return Arrays.asList("org/openecomp/camunda/bpm/plugin/urnmap/queries/urnMap.xml");
}
}
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/MyBatisExtendedSessionFactory.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java
index 8a9d136dd6..728042008d 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/MyBatisExtendedSessionFactory.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.db;
+package org.openecomp.camunda.bpmn.plugin.urnmap.db;
import org.camunda.bpm.engine.ProcessEngineConfiguration;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/MyBatisQueryCommandExecutor.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisQueryCommandExecutor.java
index 0bd7d739c5..e7140cd318 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/MyBatisQueryCommandExecutor.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisQueryCommandExecutor.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.db;
+package org.openecomp.camunda.bpmn.plugin.urnmap.db;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.engine.impl.interceptor.Command;
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/URNData.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/URNData.java
index f8396bb223..ac8b2e15ee 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/URNData.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/URNData.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.db;
+package org.openecomp.camunda.bpmn.plugin.urnmap.db;
public class URNData {
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/URNService.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/URNService.java
index 7fd41c131d..3838343aba 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/db/URNService.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/URNService.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.db;
+package org.openecomp.camunda.bpmn.plugin.urnmap.db;
import java.util.List;
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/ProcessInstanceResource.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/ProcessInstanceResource.java
index 44fe47b053..4a155809e5 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/ProcessInstanceResource.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/ProcessInstanceResource.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.resources;
+package org.openecomp.camunda.bpmn.plugin.urnmap.resources;
import java.util.List;
import java.util.StringTokenizer;
@@ -29,10 +29,8 @@ import javax.ws.rs.PUT;
import org.camunda.bpm.cockpit.db.QueryParameters;
import org.camunda.bpm.cockpit.plugin.resource.AbstractPluginResource;
-import com.att.camunda.bpm.plugin.urnmap.db.*;
import org.camunda.bpm.cockpit.db.CommandExecutor;
-
-import com.att.camunda.bpm.plugin.urnmap.db.URNData;
+import org.openecomp.camunda.bpmn.plugin.urnmap.db.*;
public class ProcessInstanceResource extends AbstractPluginResource {
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/URNMapPluginRootResource.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java
index c30eb8d8d7..d31fec66b9 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/URNMapPluginRootResource.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java
@@ -18,14 +18,13 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.resources;
+package org.openecomp.camunda.bpmn.plugin.urnmap.resources;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import org.camunda.bpm.cockpit.plugin.resource.AbstractPluginRootResource;
-
-import com.att.camunda.bpm.plugin.urnmap.URNMapPlugin;
+import org.openecomp.camunda.bpmn.plugin.urnmap.URNMapPlugin;
@SuppressWarnings("deprecation")
@Path("plugin/" + URNMapPlugin.ID)
diff --git a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/URNResource.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java
index 08724db415..5838130a92 100644
--- a/bpmn/MSOURN-plugin/src/main/java/com/att/camunda/bpm/plugin/urnmap/resources/URNResource.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package com.att.camunda.bpm.plugin.urnmap.resources;
+package org.openecomp.camunda.bpmn.plugin.urnmap.resources;
/***
import java.beans.Statement;
import java.sql.DriverManager;
@@ -44,7 +44,7 @@ import org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource;
//import org.camunda.bpm.cockpit.plugin.resource.AbstractPluginResource;
-import com.att.camunda.bpm.plugin.urnmap.db.URNData;
+import org.openecomp.camunda.bpmn.plugin.urnmap.db.URNData;
import org.openecomp.mso.logger.MsoLogger;
@@ -65,7 +65,7 @@ public class URNResource extends AbstractCockpitPluginResource{
conn = getDBConnection();
PreparedStatement psData = conn
- .prepareStatement("select * from ATT_URN_MAPPING order by NAME_");
+ .prepareStatement("select * from MSO_URN_MAPPING order by NAME_");
ResultSet r = psData.executeQuery();
@@ -164,7 +164,7 @@ public class URNResource extends AbstractCockpitPluginResource{
conn = getDBConnection();
PreparedStatement psData = conn
- .prepareStatement("Insert into ATT_URN_MAPPING values ('" + key_ + "', '" + value_ + "', '1')");
+ .prepareStatement("Insert into MSO_URN_MAPPING values ('" + key_ + "', '" + value_ + "', '1')");
psData.executeUpdate();
@@ -189,7 +189,7 @@ public class URNResource extends AbstractCockpitPluginResource{
conn = getDBConnection();
PreparedStatement psData = conn
- .prepareStatement("UPDATE ATT_URN_MAPPING set VALUE_ ='"+ d.getURNValue() + "' WHERE NAME_='" + d.getURNName() + "'");
+ .prepareStatement("UPDATE MSO_URN_MAPPING set VALUE_ ='"+ d.getURNValue() + "' WHERE NAME_='" + d.getURNName() + "'");
psData.executeUpdate();