airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1185696 - in /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya: experiment/gui/OGCEXRegistryWorkflowPublisherWindow.java experiment/gui/RegistryWorkflowPublisherWindow.java registry/RegistryAccesser.java
Date Tue, 18 Oct 2011 14:48:14 GMT
Author: lahiru
Date: Tue Oct 18 14:48:13 2011
New Revision: 1185696

URL: http://svn.apache.org/viewvc?rev=1185696&view=rev
Log:
 code cleanup of xbaya https://issues.apache.org/jira/browse/AIRAVATA-140.

Added:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/RegistryWorkflowPublisherWindow.java
      - copied, changed from r1185167, incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/OGCEXRegistryWorkflowPublisherWindow.java
Removed:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/OGCEXRegistryWorkflowPublisherWindow.java
Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registry/RegistryAccesser.java

Copied: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/RegistryWorkflowPublisherWindow.java
(from r1185167, incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/OGCEXRegistryWorkflowPublisherWindow.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/RegistryWorkflowPublisherWindow.java?p2=incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/RegistryWorkflowPublisherWindow.java&p1=incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/OGCEXRegistryWorkflowPublisherWindow.java&r1=1185167&r2=1185696&rev=1185696&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/OGCEXRegistryWorkflowPublisherWindow.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/experiment/gui/RegistryWorkflowPublisherWindow.java
Tue Oct 18 14:48:13 2011
@@ -39,7 +39,7 @@ import org.apache.airavata.xbaya.gui.XBa
 import org.apache.airavata.xbaya.gui.XBayaTextField;
 import org.apache.airavata.xbaya.wf.Workflow;
 
-public class OGCEXRegistryWorkflowPublisherWindow {
+public class RegistryWorkflowPublisherWindow {
 
     private XBayaEngine engine;
 
@@ -62,7 +62,7 @@ public class OGCEXRegistryWorkflowPublis
      * 
      * @param engine
      */
-    public OGCEXRegistryWorkflowPublisherWindow(XBayaEngine engine) {
+    public RegistryWorkflowPublisherWindow(XBayaEngine engine) {
         this.engine = engine;
         initGUI();
     }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registry/RegistryAccesser.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registry/RegistryAccesser.java?rev=1185696&r1=1185695&r2=1185696&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registry/RegistryAccesser.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registry/RegistryAccesser.java
Tue Oct 18 14:48:13 2011
@@ -21,12 +21,8 @@
 
 package org.apache.airavata.xbaya.registry;
 
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.StringReader;
 import java.net.URI;
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.Map;
 
 import javax.jcr.Node;
@@ -34,32 +30,18 @@ import javax.jcr.RepositoryException;
 import javax.xml.namespace.QName;
 
 import org.apache.airavata.common.utils.XMLUtil;
-import org.apache.airavata.common.utils.XmlFormatter;
 import org.apache.airavata.registry.api.Registry;
-import org.apache.airavata.registry.api.impl.JCRRegistry;
 import org.apache.airavata.xbaya.XBayaConfiguration;
 import org.apache.airavata.xbaya.XBayaConstants;
 import org.apache.airavata.xbaya.XBayaEngine;
-import org.apache.airavata.xbaya.XBayaRuntimeException;
 import org.apache.airavata.xbaya.component.ComponentException;
 import org.apache.airavata.xbaya.component.registry.JCRComponentRegistry;
-import org.apache.airavata.xbaya.experiment.gui.OGCEXRegistryWorkflowPublisherWindow;
+import org.apache.airavata.xbaya.experiment.gui.RegistryWorkflowPublisherWindow;
 import org.apache.airavata.xbaya.graph.GraphException;
 import org.apache.airavata.xbaya.jython.script.JythonScript;
-import org.apache.airavata.xbaya.myproxy.gui.MyProxyDialog;
-import org.apache.airavata.xbaya.security.SecurityUtil;
-import org.apache.airavata.xbaya.security.XBayaSecurity;
 import org.apache.airavata.common.utils.StringUtil;
 import org.apache.airavata.xbaya.wf.Workflow;
-import org.apache.xmlbeans.XmlException;
 import org.ietf.jgss.GSSCredential;
-import org.ogce.schemas.gfac.beans.ApplicationBean;
-import org.ogce.schemas.gfac.beans.HostBean;
-import org.ogce.schemas.gfac.beans.ServiceBean;
-import org.ogce.schemas.gfac.beans.utils.ApplicationUtils;
-import org.ogce.schemas.gfac.beans.utils.GFacSchemaException;
-import org.ogce.schemas.gfac.beans.utils.HostUtils;
-import org.ogce.schemas.gfac.beans.utils.ServiceUtils;
 import org.xmlpull.infoset.XmlElement;
 
 
@@ -144,7 +126,7 @@ public class RegistryAccesser {
                 this.engine.getErrorWindow().warning(buf.toString());
                 return;
             }
-            OGCEXRegistryWorkflowPublisherWindow registryPublishingWindow = new OGCEXRegistryWorkflowPublisherWindow(
+            RegistryWorkflowPublisherWindow registryPublishingWindow = new RegistryWorkflowPublisherWindow(
                     this.engine);
             registryPublishingWindow.show();
 



Mime
View raw message