diff --git a/edexOsgi/com.raytheon.edex.adaptersrv/.classpath b/edexOsgi/com.raytheon.edex.adaptersrv/.classpath
deleted file mode 100644
index 1fa3e6803d..0000000000
--- a/edexOsgi/com.raytheon.edex.adaptersrv/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- * - *
- * SOFTWARE HISTORY - * Date Ticket# Engineer Description - * ------------ ---------- ----------- -------------------------- - * 09August2006 17 Phillippe Initial Creation - * 10August2006 17 Phillippe Output is now persisted as XML in - * ..\opt\data\output - * 1Sept2006 17 Phillippe Modified to use JiBX to create XML output - * 12Feb2007 TO5 MW Fegan Modified to return program output as XML. - * 26Nov2008 chammack Camel refactor - * 19Sep2011 10955 rferrel make sure process destroy is called. - *- * - * - * @author bphillip - * - */ -public class AdapterSrv { - - protected String process(String msg) throws EdexException { - Command command = null; - ArrayList
- * - * SOFTWARE HISTORY - * - * Date Ticket# Engineer Description - * ------------ ---------- ----------- -------------------------- - * 09August2006 17 Phillippe Initial Creation - * - *- * - * @author bphillip - * @version 1 - */ - -/** - * Classes for implementing the external program Adapter Service - */ -package com.raytheon.edex.adapterSrv; \ No newline at end of file diff --git a/edexOsgi/com.raytheon.edex.uengine/src/com/raytheon/edex/uengine/tasks/process/TableUpdate.java b/edexOsgi/com.raytheon.edex.uengine/src/com/raytheon/edex/uengine/tasks/process/TableUpdate.java deleted file mode 100644 index 11bd7398aa..0000000000 --- a/edexOsgi/com.raytheon.edex.uengine/src/com/raytheon/edex/uengine/tasks/process/TableUpdate.java +++ /dev/null @@ -1,99 +0,0 @@ -/** - * This software was developed and / or modified by Raytheon Company, - * pursuant to Contract DG133W-05-CQ-1067 with the US Government. - * - * U.S. EXPORT CONTROLLED TECHNICAL DATA - * This software product contains export-restricted data whose - * export/transfer/disclosure is restricted by U.S. law. Dissemination - * to non-U.S. persons whether in the United States or abroad requires - * an export license or other authorization. - * - * Contractor Name: Raytheon Company - * Contractor Address: 6825 Pine Street, Suite 340 - * Mail Stop B8 - * Omaha, NE 68106 - * 402.291.0100 - * - * See the AWIPS II Master Rights File ("Master Rights File.pdf") for - * further licensing information. - **/ - -package com.raytheon.edex.uengine.tasks.process; - -import com.raytheon.edex.uengine.tasks.ScriptTask; -import com.raytheon.uf.common.dataplugin.persist.PersistableDataObject; -import com.raytheon.uf.common.message.response.AbstractResponseMessage; -import com.raytheon.uf.common.message.response.ResponseMessageError; -import com.raytheon.uf.common.message.response.ResponseMessageGeneric; -import com.raytheon.uf.common.serialization.SerializationUtil; -import com.raytheon.uf.edex.database.dao.CoreDao; -import com.raytheon.uf.edex.database.dao.DaoConfig; - -/** - * Updates a row in the database by unmarshalling an xml String and then storing - * the equivalent object in the correct table. - * - *
- * SOFTWARE HISTORY - * Date Ticket# Engineer Description - * ------------ ---------- ----------- -------------------------- - * 9/25/2007 njensen Initial creation. - * 10/17/2007 482 grichard Changed method to dao.saveOrUpdate(). - * 12/17/2007 639 grichard Restored method call dao.saveOrUpdate(). - * - *- * - * @author njensen - */ -public class TableUpdate extends ScriptTask { - - private final String className; - - private final String xml; - - private final String database; - - /** - * Constructor - * - * @param aClassName - * the class name of the object to update - * @param aXml - * the xml representation of the object - */ - public TableUpdate(String database, String aClassName, String aXml) { - this.database = database; - className = aClassName; - xml = aXml; - } - - /* - * (non-Javadoc) - * - * @see com.raytheon.edex.uengine.tasks.ScriptTask#execute() - */ - @Override - public Object execute() { - CoreDao dao = null; - - AbstractResponseMessage msg = null; - try { - System.out.println(xml); - PersistableDataObject obj = (PersistableDataObject) SerializationUtil - .unmarshalFromXml(xml); - System.out.println(obj); - dao = new CoreDao( - DaoConfig.forClass(database, className)); - dao.saveOrUpdate(obj); - } catch (Exception e) { - msg = ResponseMessageError.generateErrorResponse( - "Error updating row in the database.", e); - } - - if (msg == null) { - msg = new ResponseMessageGeneric("Row successfully updated."); - } - - return msg; - } -} diff --git a/edexOsgi/com.raytheon.edex.uengine/utility/edex_static/base/python/TableResponse.py b/edexOsgi/com.raytheon.edex.uengine/utility/edex_static/base/python/TableResponse.py deleted file mode 100644 index 0391660f3a..0000000000 --- a/edexOsgi/com.raytheon.edex.uengine/utility/edex_static/base/python/TableResponse.py +++ /dev/null @@ -1,57 +0,0 @@ -## -# This software was developed and / or modified by Raytheon Company, -# pursuant to Contract DG133W-05-CQ-1067 with the US Government. -# -# U.S. EXPORT CONTROLLED TECHNICAL DATA -# This software product contains export-restricted data whose -# export/transfer/disclosure is restricted by U.S. law. Dissemination -# to non-U.S. persons whether in the United States or abroad requires -# an export license or other authorization. -# -# Contractor Name: Raytheon Company -# Contractor Address: 6825 Pine Street, Suite 340 -# Mail Stop B8 -# Omaha, NE 68106 -# 402.291.0100 -# -# See the AWIPS II Master Rights File ("Master Rights File.pdf") for -# further licensing information. -## - -from java.util import ArrayList -from com.raytheon.edex.uengine.tasks.process import TableUpdate -from com.raytheon.uf.common.message.response import ResponseMessageGeneric - -# -# Update of table data -# -# -# SOFTWARE HISTORY -# -# Date Ticket# Engineer Description -# ------------ ---------- ----------- -------------------------- -# 04/17/08 njensen Initial Creation. -# -# - -class TableResponse(): - - def __init__(self, db, table, row): - self.__database = db - self.__tableName = table - self.__rowName = row - self.__updateResults = None - self.__update = TableUpdate(self.__database, self.__tableName, self.__rowName) - - def execute(self): - self.__updateResults = self.__update.execute() - return self.__updateResults - - def makeXmlResponse(self): - size = self.__updateResults.size() - response = ArrayList() - for i in range(size): - makeResponse = ResponseMessageGeneric(self.__updateResults.get(i)) - response.add(makeResponse.execute()) - return response - \ No newline at end of file diff --git a/edexOsgi/com.raytheon.uf.edex.core.feature/feature.xml b/edexOsgi/com.raytheon.uf.edex.core.feature/feature.xml index 0261d31be8..3242e38af2 100644 --- a/edexOsgi/com.raytheon.uf.edex.core.feature/feature.xml +++ b/edexOsgi/com.raytheon.uf.edex.core.feature/feature.xml @@ -20,14 +20,7 @@