airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject svn commit: r1140314 - in /incubator/airavata/services/trunk/gfac-axis2: ./ src/main/java/org/apache/airavata/services/gfac/axis2/ src/main/java/org/apache/airavata/services/gfac/axis2/handlers/
Date Mon, 27 Jun 2011 20:56:31 GMT
Author: smarru
Date: Mon Jun 27 20:56:31 2011
New Revision: 1140314

URL: http://svn.apache.org/viewvc?rev=1140314&view=rev
Log:
Updating package names and the ambiguity in messagecontext

Modified:
    incubator/airavata/services/trunk/gfac-axis2/   (props changed)
    incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/GFacService.java
    incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java
    incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java

Propchange: incubator/airavata/services/trunk/gfac-axis2/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Jun 27 20:56:31 2011
@@ -0,0 +1 @@
+target

Modified: incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/GFacService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/GFacService.java?rev=1140314&r1=1140313&r2=1140314&view=diff
==============================================================================
--- incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/GFacService.java
(original)
+++ incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/GFacService.java
Mon Jun 27 20:56:31 2011
@@ -27,6 +27,13 @@ import java.util.Map;
 
 import javax.xml.namespace.QName;
 
+import org.apache.airavata.core.gfac.context.InvocationContext;
+import org.apache.airavata.core.gfac.context.SecurityContext;
+import org.apache.airavata.core.gfac.context.impl.ExecutionContextImpl;
+import org.apache.airavata.core.gfac.context.impl.ParameterContextImpl;
+import org.apache.airavata.core.gfac.factory.PropertyServiceFactory;
+import org.apache.airavata.core.gfac.notification.DummyNotification;
+import org.apache.airavata.core.gfac.services.GenericService;
 import org.apache.airavata.services.gfac.axis2.handlers.AmazonSecurityHandler;
 import org.apache.airavata.services.gfac.axis2.handlers.MyProxySecurityHandler;
 import org.apache.axiom.om.OMAbstractFactory;
@@ -39,13 +46,6 @@ import org.apache.axis2.description.Axis
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.engine.ServiceLifeCycle;
-import org.ogce.gfac.context.InvocationContext;
-import org.ogce.gfac.context.SecurityContext;
-import org.ogce.gfac.context.impl.ExecutionContextImpl;
-import org.ogce.gfac.context.impl.ParameterContextImpl;
-import org.ogce.gfac.factory.PropertyServiceFactory;
-import org.ogce.gfac.notification.DummyNotification;
-import org.ogce.gfac.services.GenericService;
 
 public class GFacService implements ServiceLifeCycle {
 
@@ -105,7 +105,7 @@ public class GFacService implements Serv
 				String type = element.getAttribute(new QName("type")).getAttributeValue();
 				String value = element.getText();
 				
-				ParameterContextImpl x = new ParameterContextImpl();
+				org.apache.airavata.core.gfac.context.MessageContext x = new ParameterContextImpl();
 				x.addParameter(name, type, value);	
 				ct.addMessageContext("input", x);	
 			}
@@ -126,7 +126,7 @@ public class GFacService implements Serv
 	        OMNamespace omNs = fac.createOMNamespace("http://ws.apache.org/axis2/xsd", "ns1");
 	        output = fac.createOMElement("output", omNs);	        
 		
-			org.ogce.gfac.context.MessageContext context = ct.getMessageContext("output");
+	        org.apache.airavata.core.gfac.context.MessageContext context = ct.getMessageContext("output");
 			for (Iterator<String> iterator = context.getParameterNames(); iterator.hasNext();)
{
 				String name = iterator.next();
 				OMElement ele = fac.createOMElement(name, omNs);

Modified: incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java?rev=1140314&r1=1140313&r2=1140314&view=diff
==============================================================================
--- incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java
(original)
+++ incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java
Mon Jun 27 20:56:31 2011
@@ -25,6 +25,7 @@ import java.util.Iterator;
 
 import javax.xml.namespace.QName;
 
+import org.apache.airavata.core.gfac.context.impl.AmazonSecurityContext;
 import org.apache.airavata.services.gfac.axis2.GFacService;
 import org.apache.airavata.services.gfac.axis2.utils.MessageContextUtil;
 import org.apache.axiom.om.OMElement;
@@ -34,7 +35,6 @@ import org.apache.axiom.soap.SOAPHeaderB
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.handlers.AbstractHandler;
-import org.ogce.gfac.context.impl.AmazonSecurityContext;
 
 public class AmazonSecurityHandler extends AbstractHandler {
 

Modified: incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java?rev=1140314&r1=1140313&r2=1140314&view=diff
==============================================================================
--- incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java
(original)
+++ incubator/airavata/services/trunk/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java
Mon Jun 27 20:56:31 2011
@@ -25,6 +25,7 @@ import java.util.Iterator;
 
 import javax.xml.namespace.QName;
 
+import org.apache.airavata.core.gfac.context.impl.GSISecurityContext;
 import org.apache.airavata.services.gfac.axis2.GFacService;
 import org.apache.airavata.services.gfac.axis2.utils.MessageContextUtil;
 import org.apache.axiom.om.OMElement;
@@ -34,7 +35,6 @@ import org.apache.axiom.soap.SOAPHeaderB
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.handlers.AbstractHandler;
-import org.ogce.gfac.context.impl.GSISecurityContext;
 
 public class MyProxySecurityHandler extends AbstractHandler {
 



Mime
View raw message