airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patanac...@apache.org
Subject svn commit: r1166377 [1/2] - in /incubator/airavata/trunk/modules: commons/gfac-schema/src/main/java/org/apache/airavata/commons/ commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/ commons/gfac-schema/src/main/java/org/apache/airavata/...
Date Wed, 07 Sep 2011 20:16:13 GMT
Author: patanachai
Date: Wed Sep  7 20:16:10 2011
New Revision: 1166377

URL: http://svn.apache.org/viewvc?rev=1166377&view=rev
Log:
Clean up and change packages as suggest in REVIEW

Added:
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/REVIEW.txt
      - copied unchanged from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/REVIEW.txt
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Axis2Registry.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Axis2Registry.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Registry.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Registry.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/impl/
      - copied from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/impl/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ApplicationDeploymentDescription.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ApplicationDeploymentDescription.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/DataType.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/DataType.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/HostDescription.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/HostDescription.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Parameter.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Parameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ServiceDescription.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ServiceDescription.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Type.java
      - copied, changed from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Type.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/
      - copied from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/app/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/
      - copied from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/host/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/
      - copied from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/parameter/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/util/
      - copied from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/util/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionContext.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/ExecutionContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionDescription.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/InvocationContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionContext.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ExecutionContextImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionDescription.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/GFACContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultInvocationContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/MessageContext.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/MessageContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/impl/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/impl/ParameterContextImpl.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ParameterContextImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/SecurityContext.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/SecurityContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/AmazonSecurityContext.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/AmazonSecurityContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/GSISecurityContext.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/GSISecurityContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/SSHSecurityContextImpl.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/SSHSecurityContextImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/utils/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/utils/MyProxyManager.java
      - copied, changed from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/utils/MyProxyManager.java
Modified:
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/impl/JCRRegistry.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/AbstractParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/BooleanParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/DoubleParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FileParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FloatParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/IntegerParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/StringParameter.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/util/SchemaUtil.java
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/REVIEW.txt
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/
    incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/
    incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java
    incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java
    incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/ExecutionContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/GFACContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/InvocationContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/MessageContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/SecurityContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/AmazonSecurityContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ExecutionContextImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/GSISecurityContext.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ParameterContextImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/SSHSecurityContextImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/utils/
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/Chain.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/ExitableChain.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/data/RegistryDataService.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/post/GridFtpOutputStaging.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/pre/GridFtpInputStaging.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/pre/HttpInputStaging.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/external/GridFtp.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/factory/EchoLocalServiceFactory.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/NotificationService.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DummyNotification.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/LoggingNotification.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/StandardOutNotification.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/WorkflowTrackingNotification.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/EC2Provider.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/GramProvider.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/LocalProvider.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/Provider.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/SSHProvider.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/JobSubmissionListener.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/scheduler/Scheduler.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/scheduler/impl/POJOSchedulerImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/scheduler/impl/SchedulerImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/GenericService.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/AbstractSimpleService.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/POJOServiceImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/utils/GFacConstants.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/utils/GfacUtils.java
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/utils/OutputUtils.java
    incubator/airavata/trunk/modules/gfac-core/src/main/resources/service.properties
    incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java
    incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImplTest.java
    incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/type/StringParameterTest.java
    incubator/airavata/trunk/modules/gfac-core/src/test/resources/service.properties

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Axis2Registry.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Axis2Registry.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Axis2Registry.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Axis2Registry.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Axis2Registry.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Axis2Registry.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Axis2Registry.java Wed Sep  7 20:16:10 2011
@@ -20,9 +20,9 @@
  */
 
 
-package org.apache.airavata.core.gfac.api;
+package org.apache.airavata.commons.gfac.api;
 
-import org.apache.airavata.core.gfac.type.ServiceDescription;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
 
 
 public interface Axis2Registry extends Registry {

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Registry.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Registry.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Registry.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Registry.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Registry.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/api/Registry.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/Registry.java Wed Sep  7 20:16:10 2011
@@ -19,13 +19,13 @@
  *
  */
 
-package org.apache.airavata.core.gfac.api;
+package org.apache.airavata.commons.gfac.api;
 
 import java.util.List;
 
-import org.apache.airavata.core.gfac.type.ApplicationDeploymentDescription;
-import org.apache.airavata.core.gfac.type.HostDescription;
-import org.apache.airavata.core.gfac.type.ServiceDescription;
+import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
+import org.apache.airavata.commons.gfac.type.HostDescription;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
 
 public interface Registry {
 	/**

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/impl/JCRRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/impl/JCRRegistry.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/impl/JCRRegistry.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/api/impl/JCRRegistry.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.api.impl;
+package org.apache.airavata.commons.gfac.api.impl;
 
 import java.lang.reflect.Constructor;
 import java.util.ArrayList;
@@ -38,11 +38,11 @@ import javax.jcr.Session;
 import javax.jcr.SimpleCredentials;
 import javax.jcr.Value;
 
-import org.apache.airavata.core.gfac.api.Axis2Registry;
-import org.apache.airavata.core.gfac.type.ApplicationDeploymentDescription;
-import org.apache.airavata.core.gfac.type.HostDescription;
-import org.apache.airavata.core.gfac.type.ServiceDescription;
-import org.apache.airavata.core.gfac.type.util.SchemaUtil;
+import org.apache.airavata.commons.gfac.api.Axis2Registry;
+import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
+import org.apache.airavata.commons.gfac.type.HostDescription;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
+import org.apache.airavata.commons.gfac.type.util.SchemaUtil;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ApplicationDeploymentDescription.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ApplicationDeploymentDescription.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ApplicationDeploymentDescription.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ApplicationDeploymentDescription.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ApplicationDeploymentDescription.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ApplicationDeploymentDescription.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ApplicationDeploymentDescription.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type;
+package org.apache.airavata.commons.gfac.type;
 
 public class ApplicationDeploymentDescription implements Type {
 

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/DataType.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/DataType.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/DataType.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/DataType.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/DataType.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/DataType.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/DataType.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type;
+package org.apache.airavata.commons.gfac.type;
 
 public enum DataType{
 	String,

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/HostDescription.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/HostDescription.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/HostDescription.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/HostDescription.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/HostDescription.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/HostDescription.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/HostDescription.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type;
+package org.apache.airavata.commons.gfac.type;
 
 public class HostDescription implements Type {
 

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Parameter.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Parameter.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Parameter.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Parameter.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Parameter.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Parameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Parameter.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type;
+package org.apache.airavata.commons.gfac.type;
 
 public class Parameter implements Type{
     private String name;

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ServiceDescription.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ServiceDescription.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ServiceDescription.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ServiceDescription.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ServiceDescription.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/ServiceDescription.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ServiceDescription.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type;
+package org.apache.airavata.commons.gfac.type;
 
 import java.util.List;
 

Copied: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Type.java (from r1166236, incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Type.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Type.java?p2=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Type.java&p1=incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Type.java&r1=1166236&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/core/gfac/type/Type.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/Type.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type;
+package org.apache.airavata.commons.gfac.type;
 
 import java.io.Serializable;
 

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/GramApplicationDeployment.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.app;
+package org.apache.airavata.commons.gfac.type.app;
 
 public class GramApplicationDeployment extends ShellApplicationDeployment {
     private String projectName;

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/app/ShellApplicationDeployment.java Wed Sep  7 20:16:10 2011
@@ -19,11 +19,11 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.app;
+package org.apache.airavata.commons.gfac.type.app;
 
 import java.util.Map;
 
-import org.apache.airavata.core.gfac.type.ApplicationDeploymentDescription;
+import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
 
 public class ShellApplicationDeployment extends ApplicationDeploymentDescription {    
     private String executable;

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/host/GlobusHost.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.host;
+package org.apache.airavata.commons.gfac.type.host;
 
-import org.apache.airavata.core.gfac.type.HostDescription;
+import org.apache.airavata.commons.gfac.type.HostDescription;
 
 public class GlobusHost extends HostDescription {
     private String gridFTPEndPoint;

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/AbstractParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/AbstractParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/AbstractParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/AbstractParameter.java Wed Sep  7 20:16:10 2011
@@ -19,10 +19,10 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
-import org.apache.airavata.core.gfac.type.DataType;
-import org.apache.airavata.core.gfac.type.Parameter;
+import org.apache.airavata.commons.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.Parameter;
 
 public abstract class AbstractParameter extends Parameter {
 	public abstract DataType getType();

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/BooleanParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/BooleanParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/BooleanParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/BooleanParameter.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
-import org.apache.airavata.core.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.DataType;
 
 public class BooleanParameter extends AbstractParameter {
 

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/DoubleParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/DoubleParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/DoubleParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/DoubleParameter.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
-import org.apache.airavata.core.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.DataType;
 
 public class DoubleParameter extends AbstractParameter {
 	

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FileParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FileParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FileParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FileParameter.java Wed Sep  7 20:16:10 2011
@@ -19,11 +19,11 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
 import java.net.URI;
 
-import org.apache.airavata.core.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.DataType;
 
 public class FileParameter extends AbstractParameter {
 

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FloatParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FloatParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FloatParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/FloatParameter.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
-import org.apache.airavata.core.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.DataType;
 
 public class FloatParameter extends AbstractParameter {   
 	

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/IntegerParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/IntegerParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/IntegerParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/IntegerParameter.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
-import org.apache.airavata.core.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.DataType;
 
 public class IntegerParameter extends AbstractParameter {
 	

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/StringParameter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/StringParameter.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/StringParameter.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/parameter/StringParameter.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.parameter;
+package org.apache.airavata.commons.gfac.type.parameter;
 
-import org.apache.airavata.core.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.DataType;
 
 
 public class StringParameter extends AbstractParameter {

Modified: incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/util/SchemaUtil.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/util/SchemaUtil.java?rev=1166377&r1=1166236&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/util/SchemaUtil.java (original)
+++ incubator/airavata/trunk/modules/commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/util/SchemaUtil.java Wed Sep  7 20:16:10 2011
@@ -19,22 +19,22 @@
  *
  */
 
-package org.apache.airavata.core.gfac.type.util;
+package org.apache.airavata.commons.gfac.type.util;
 
 import java.beans.XMLDecoder;
 import java.beans.XMLEncoder;
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 
-import org.apache.airavata.core.gfac.type.DataType;
-import org.apache.airavata.core.gfac.type.Type;
-import org.apache.airavata.core.gfac.type.parameter.AbstractParameter;
-import org.apache.airavata.core.gfac.type.parameter.BooleanParameter;
-import org.apache.airavata.core.gfac.type.parameter.DoubleParameter;
-import org.apache.airavata.core.gfac.type.parameter.FileParameter;
-import org.apache.airavata.core.gfac.type.parameter.FloatParameter;
-import org.apache.airavata.core.gfac.type.parameter.IntegerParameter;
-import org.apache.airavata.core.gfac.type.parameter.StringParameter;
+import org.apache.airavata.commons.gfac.type.DataType;
+import org.apache.airavata.commons.gfac.type.Type;
+import org.apache.airavata.commons.gfac.type.parameter.AbstractParameter;
+import org.apache.airavata.commons.gfac.type.parameter.BooleanParameter;
+import org.apache.airavata.commons.gfac.type.parameter.DoubleParameter;
+import org.apache.airavata.commons.gfac.type.parameter.FileParameter;
+import org.apache.airavata.commons.gfac.type.parameter.FloatParameter;
+import org.apache.airavata.commons.gfac.type.parameter.IntegerParameter;
+import org.apache.airavata.commons.gfac.type.parameter.StringParameter;
 
 public class SchemaUtil {
 	public static Type parseFromXML(String xml) {

Modified: incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java?rev=1166377&r1=1166376&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java (original)
+++ incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/AmazonSecurityHandler.java Wed Sep  7 20:16:10 2011
@@ -25,7 +25,7 @@ import java.util.Iterator;
 
 import javax.xml.namespace.QName;
 
-import org.apache.airavata.core.gfac.context.impl.AmazonSecurityContext;
+import org.apache.airavata.core.gfac.context.security.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;

Modified: incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java?rev=1166377&r1=1166376&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java (original)
+++ incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/handlers/MyProxySecurityHandler.java Wed Sep  7 20:16:10 2011
@@ -25,7 +25,7 @@ import java.util.Iterator;
 
 import javax.xml.namespace.QName;
 
-import org.apache.airavata.core.gfac.context.impl.GSISecurityContext;
+import org.apache.airavata.core.gfac.context.security.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;

Modified: incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java?rev=1166377&r1=1166376&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java (original)
+++ incubator/airavata/trunk/modules/gfac-axis2/src/main/java/org/apache/airavata/services/gfac/axis2/reciever/GFacMessageReciever.java Wed Sep  7 20:16:10 2011
@@ -23,33 +23,30 @@ package org.apache.airavata.services.gfa
 
 import java.io.ByteArrayInputStream;
 import java.io.StringReader;
-import java.text.BreakIterator;
 import java.util.Iterator;
 import java.util.List;
-import java.util.Map;
 
 import javax.jcr.Credentials;
 import javax.jcr.Repository;
 import javax.wsdl.Definition;
-import javax.wsdl.PortType;
 import javax.wsdl.factory.WSDLFactory;
 import javax.wsdl.xml.WSDLReader;
-import javax.wsdl.xml.WSDLWriter;
 import javax.xml.namespace.QName;
 import javax.xml.stream.XMLInputFactory;
 import javax.xml.stream.XMLStreamReader;
 
-import org.apache.airavata.core.gfac.api.Registry;
-import org.apache.airavata.core.gfac.api.impl.JCRRegistry;
-import org.apache.airavata.core.gfac.context.InvocationContext;
-import org.apache.airavata.core.gfac.context.impl.ExecutionContextImpl;
-import org.apache.airavata.core.gfac.context.impl.ParameterContextImpl;
+import org.apache.airavata.commons.gfac.api.Registry;
+import org.apache.airavata.commons.gfac.api.impl.JCRRegistry;
+import org.apache.airavata.commons.gfac.type.Parameter;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
+import org.apache.airavata.commons.gfac.type.parameter.AbstractParameter;
+import org.apache.airavata.commons.gfac.type.util.SchemaUtil;
+import org.apache.airavata.core.gfac.context.invocation.InvocationContext;
+import org.apache.airavata.core.gfac.context.invocation.impl.DefaultExecutionContext;
+import org.apache.airavata.core.gfac.context.invocation.impl.DefaultInvocationContext;
+import org.apache.airavata.core.gfac.context.message.impl.ParameterContextImpl;
 import org.apache.airavata.core.gfac.factory.PropertyServiceFactory;
 import org.apache.airavata.core.gfac.services.GenericService;
-import org.apache.airavata.core.gfac.type.Parameter;
-import org.apache.airavata.core.gfac.type.ServiceDescription;
-import org.apache.airavata.core.gfac.type.parameter.AbstractParameter;
-import org.apache.airavata.core.gfac.type.util.SchemaUtil;
 import org.apache.airavata.services.gfac.axis2.utils.GFacServiceOperations;
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMElement;
@@ -136,8 +133,8 @@ public class GFacMessageReciever impleme
 
             Registry regis = new JCRRegistry(repository, credentials);
 
-            InvocationContext ct = new InvocationContext();
-            ct.setExecutionContext(new ExecutionContextImpl());
+            DefaultInvocationContext ct = new DefaultInvocationContext();
+            ct.setExecutionContext(new DefaultExecutionContext());
             ct.setServiceName(serviceName);
             ct.getExecutionContext().setRegistryService(regis);
 
@@ -160,7 +157,7 @@ public class GFacMessageReciever impleme
 
                 AbstractParameter param = SchemaUtil.mapFromType(parameter.getType());
                 param.parseStringVal(element.getText());
-                inputParam.addParameter(parameter.getName(), param);
+                inputParam.add(parameter.getName(), param);
             }
 
             /*
@@ -169,7 +166,7 @@ public class GFacMessageReciever impleme
             ParameterContextImpl outputParam = new ParameterContextImpl();
             List<Parameter> outputs = serviceDescription.getOutputParameters();
             for (Parameter parameter : outputs) {
-                inputParam.addParameter(parameter.getName(), SchemaUtil.mapFromType(parameter.getType()));
+                inputParam.add(parameter.getName(), SchemaUtil.mapFromType(parameter.getType()));
             }
 
             ct.addMessageContext("input", inputParam);
@@ -189,12 +186,12 @@ public class GFacMessageReciever impleme
             OMNamespace omNs = fac.createOMNamespace("http://ws.apache.org/axis2/xsd", "ns1");
             outputElement = fac.createOMElement("output", omNs);
 
-            ParameterContextImpl paramContext = (ParameterContextImpl) ct.getMessageContext("output");
-            for (Iterator<String> iterator = paramContext.getParameterNames(); iterator.hasNext();) {
+            ParameterContextImpl paramContext = (ParameterContextImpl)ct.<AbstractParameter>getMessageContext("output");
+            for (Iterator<String> iterator = paramContext.getNames(); iterator.hasNext();) {
                 String name = iterator.next();
                 OMElement ele = fac.createOMElement(name, omNs);
-                ele.addAttribute("type", paramContext.getParameterValue(name).getType().toString(), omNs);
-                ele.setText(paramContext.getParameterValue(name).toStringVal());
+                ele.addAttribute("type", paramContext.getValue(name).getType().toString(), omNs);
+                ele.setText(paramContext.getValue(name).toStringVal());
                 outputElement.addChild(ele);
             }
 

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionContext.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/ExecutionContext.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionContext.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionContext.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/ExecutionContext.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/ExecutionContext.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionContext.java Wed Sep  7 20:16:10 2011
@@ -19,18 +19,47 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context;
+package org.apache.airavata.core.gfac.context.invocation;
 
-import org.apache.airavata.core.gfac.api.Registry;
+import org.apache.airavata.commons.gfac.api.Registry;
 import org.apache.airavata.core.gfac.notification.NotificationService;
 
+/**
+ * The Execution Context is used for passing information around the whole
+ * service. It keeps information about general execution step. For example,
+ * notification service, registry service.
+ * 
+ */
 public interface ExecutionContext {
 
-    NotificationService getNotificationService();
-
-    void setNotificationService(NotificationService service);    
-
-    Registry getRegistryService();
-
-    void setRegistryService(Registry registryService);
+    /**
+     * Get NotificationService object to used for notification.
+     * 
+     * @return NotificationService to be used.
+     */
+    public NotificationService getNotificationService();
+
+    /**
+     * Set NotificationService object.
+     * 
+     * @param NotificationService
+     *            object to used
+     */
+    public <T extends NotificationService> void setNotificationService(T value);
+
+    /**
+     * Get Registry object. It is used to retrieve important information about
+     * application execution.
+     * 
+     * @return Registry object
+     */
+    public Registry getRegistryService();
+
+    /**
+     * Set Registry object.
+     * 
+     * @param Registry
+     *            object to used.
+     */
+    public <T extends Registry> void setRegistryService(T value);
 }

Added: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionDescription.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionDescription.java?rev=1166377&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionDescription.java (added)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/ExecutionDescription.java Wed Sep  7 20:16:10 2011
@@ -0,0 +1,77 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.airavata.core.gfac.context.invocation;
+
+import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
+import org.apache.airavata.commons.gfac.type.HostDescription;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
+
+/**
+ * ExecutionDescription represents an application description which is used to
+ * determine how to invoke an application. For example, host where an
+ * application is deployed, service name, service parameters, etc.
+ * 
+ */
+public interface ExecutionDescription {
+    
+    /**
+     * Get HostDescription
+     * 
+     * @return HostDescription
+     */
+    public HostDescription getHost();
+
+    /**
+     * Set HostDescription
+     * 
+     * @param host
+     */
+    public <T extends HostDescription> void setHost(T host);
+
+    /**
+     * Get ApplicationDeploymentDescription
+     * 
+     * @return ApplicationDeploymentDescription
+     */
+    public ApplicationDeploymentDescription getApp();
+
+    /**
+     * Set ApplicationDeploymentDescription
+     * 
+     * @param app
+     */
+    public <T extends ApplicationDeploymentDescription> void setApp(T app);
+
+    /**
+     * Get ServiceDescription
+     * 
+     * @return service
+     */
+    public ServiceDescription getService();
+
+    /**
+     * Set ServiceDescription
+     * 
+     * @param service
+     */
+    public <T extends ServiceDescription> void setService(T service);
+}
\ No newline at end of file

Added: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/InvocationContext.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/InvocationContext.java?rev=1166377&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/InvocationContext.java (added)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/InvocationContext.java Wed Sep  7 20:16:10 2011
@@ -0,0 +1,101 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.airavata.core.gfac.context.invocation;
+
+import org.apache.airavata.core.gfac.context.message.MessageContext;
+import org.apache.airavata.core.gfac.context.security.SecurityContext;
+
+/**
+ * InvocationContext is the main context contains other contexts. It is used (per invocation) as
+ * a parameter to pass to all modules in the Gfac service.
+ * 
+ */
+public interface InvocationContext {
+    
+    /**
+     * Get ServiceName for the invocation
+     * 
+     * @return
+     */
+    public String getServiceName();
+
+    /**
+     * Get ExecutionDescription
+     * 
+     * @return ExecutionDescription
+     */
+    public ExecutionDescription getExecutionDescription();
+
+    /**
+     * Set ExecutionDescription
+     * 
+     * @param value
+     */
+    public <T extends ExecutionDescription> void setExecutionDescription(T value);
+
+    /**
+     * Get ExecutionContext
+     * 
+     * @return ExecutionContext
+     */
+    public ExecutionContext getExecutionContext();
+
+    /**
+     * Set ExecutionContext
+     * 
+     * @param value
+     */
+    public <T extends ExecutionContext> void setExecutionContext(T value);
+
+    /**
+     * Get MessageContext
+     * 
+     * @param name
+     * @return MessageContext
+     */
+    public <T> MessageContext<T> getMessageContext(String name);
+
+    /**
+     * Add MessageContext to the invocation with specific name.
+     * 
+     * @param name
+     * @param value
+     */
+    public <T extends MessageContext<?>> void addMessageContext(String name, T value);
+
+    /**
+     * Get SecurityContext
+     * 
+     * @param name
+     * @return
+     */
+    public SecurityContext getSecurityContext(String name);
+    
+    /**
+     * Add SecurityContext to the invocation with specific name.
+     * 
+     * @param name
+     * @param value
+     */
+    public <T extends SecurityContext> void addSecurityContext(String name, T value);
+
+}

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionContext.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ExecutionContextImpl.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionContext.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionContext.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ExecutionContextImpl.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ExecutionContextImpl.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionContext.java Wed Sep  7 20:16:10 2011
@@ -19,13 +19,13 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context.impl;
+package org.apache.airavata.core.gfac.context.invocation.impl;
 
-import org.apache.airavata.core.gfac.api.Registry;
-import org.apache.airavata.core.gfac.context.ExecutionContext;
+import org.apache.airavata.commons.gfac.api.Registry;
+import org.apache.airavata.core.gfac.context.invocation.ExecutionContext;
 import org.apache.airavata.core.gfac.notification.NotificationService;
 
-public class ExecutionContextImpl implements ExecutionContext {
+public class DefaultExecutionContext implements ExecutionContext {
 
     private NotificationService notificationService;
     private Registry registryService;
@@ -36,7 +36,6 @@ public class ExecutionContextImpl implem
 
     public void setNotificationService(NotificationService service) {
         this.notificationService = service;
-
     }
 
     public Registry getRegistryService() {

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionDescription.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/GFACContext.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionDescription.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionDescription.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/GFACContext.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/GFACContext.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultExecutionDescription.java Wed Sep  7 20:16:10 2011
@@ -19,18 +19,19 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context;
+package org.apache.airavata.core.gfac.context.invocation.impl;
 
-import org.apache.airavata.core.gfac.type.ApplicationDeploymentDescription;
-import org.apache.airavata.core.gfac.type.HostDescription;
-import org.apache.airavata.core.gfac.type.ServiceDescription;
+import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
+import org.apache.airavata.commons.gfac.type.HostDescription;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
+import org.apache.airavata.core.gfac.context.invocation.ExecutionDescription;
 
 
 /**
  * This class provides access to the Host, Application Deployment, and Service descriptions, which
  * are XML<->JavaBean serializations. 
  */ 
-public class GFACContext{
+public class DefaultExecutionDescription implements ExecutionDescription{
     private HostDescription host;
     private ApplicationDeploymentDescription app;
     private ServiceDescription service;

Added: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultInvocationContext.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultInvocationContext.java?rev=1166377&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultInvocationContext.java (added)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/invocation/impl/DefaultInvocationContext.java Wed Sep  7 20:16:10 2011
@@ -0,0 +1,87 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.airavata.core.gfac.context.invocation.impl;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.airavata.core.gfac.context.invocation.ExecutionContext;
+import org.apache.airavata.core.gfac.context.invocation.ExecutionDescription;
+import org.apache.airavata.core.gfac.context.invocation.InvocationContext;
+import org.apache.airavata.core.gfac.context.message.MessageContext;
+import org.apache.airavata.core.gfac.context.security.SecurityContext;
+
+/**
+ * Main context that is used throughout the service
+ * 
+ * 
+ */
+public class DefaultInvocationContext implements InvocationContext{
+
+    private String serviceName;
+    private ExecutionContext executionContext;
+    private ExecutionDescription gfacContext;
+   	private Map<String, MessageContext<?>> messageContextMap = new HashMap<String, MessageContext<?>>();
+    private Map<String, SecurityContext> securityContextMap = new HashMap<String, SecurityContext>();
+        
+    
+    public void setServiceName(String name){
+        this.serviceName = name;
+    }
+    
+    public String getServiceName() {
+        return this.serviceName;
+    }
+    
+    public ExecutionDescription getExecutionDescription() {
+        return this.gfacContext;
+    }
+    
+    public <T extends ExecutionDescription> void setExecutionDescription(T value) {
+        this.gfacContext = value;
+    }
+    
+    public ExecutionContext getExecutionContext() {
+        return this.executionContext;
+    }
+    
+    public <T extends ExecutionContext> void setExecutionContext(T value) {
+        this.executionContext = value;        
+    }
+    
+    public <T> MessageContext<T> getMessageContext(String name) {
+        return (MessageContext<T>) this.messageContextMap.get(name);
+    }
+    
+    public SecurityContext getSecurityContext(String name) {
+        return this.securityContextMap.get(name);
+    }
+    
+    public <T extends MessageContext<?>> void addMessageContext(String name, T value) {
+        this.messageContextMap.put(name, value);
+    }
+
+    @Override
+    public <T extends SecurityContext> void addSecurityContext(String name, T value) {
+        this.securityContextMap.put(name, value);        
+    };    
+}

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/MessageContext.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/MessageContext.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/MessageContext.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/MessageContext.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/MessageContext.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/MessageContext.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/MessageContext.java Wed Sep  7 20:16:10 2011
@@ -19,19 +19,58 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context;
+package org.apache.airavata.core.gfac.context.message;
 
 import java.util.Iterator;
 
+/**
+ * 
+ * MessageContext represents a message that could be used by all provider or in
+ * specific provider. Mostly, this context will be stored in the format of <key,
+ * value> pair. For example, MessageContext<AbstractParameter> represents a
+ * message for input or output as a parameter to the service.
+ * 
+ * @param <T>
+ *            class that associate with this message
+ */
 public interface MessageContext<T> {
 
-    public Iterator<String> getParameterNames();
-
-    public T getParameterValue(String name);
-
-    public String getStringParameterValue(String name);
-
-    public void addParameter(String name, T value);
-
+    /**
+     * Get list of names in the context
+     * 
+     * @return
+     */
+    public Iterator<String> getNames();
+
+    /**
+     * Return value associated with the key
+     * 
+     * @param name
+     * @return value
+     */
+    public T getValue(String name);
+
+    /**
+     * Return value associated with the key as a String object
+     * 
+     * @param name
+     * @return string represents value
+     */
+    public String getStringValue(String name);
+
+    /**
+     * Add new object associated with the key
+     * 
+     * @param name
+     * @param value
+     */
+    public void add(String name, T value);
+
+    /**
+     * Update the current value associated with the key
+     * 
+     * @param name
+     * @param value
+     */
     public void setValue(String name, T value);
 }

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/impl/ParameterContextImpl.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ParameterContextImpl.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/impl/ParameterContextImpl.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/impl/ParameterContextImpl.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ParameterContextImpl.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/ParameterContextImpl.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/message/impl/ParameterContextImpl.java Wed Sep  7 20:16:10 2011
@@ -19,14 +19,14 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context.impl;
+package org.apache.airavata.core.gfac.context.message.impl;
 
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
 
-import org.apache.airavata.core.gfac.context.MessageContext;
-import org.apache.airavata.core.gfac.type.parameter.AbstractParameter;
+import org.apache.airavata.commons.gfac.type.parameter.AbstractParameter;
+import org.apache.airavata.core.gfac.context.message.MessageContext;
 
 public class ParameterContextImpl implements MessageContext<AbstractParameter> {
 
@@ -36,22 +36,22 @@ public class ParameterContextImpl implem
         this.value = new HashMap<String, AbstractParameter>();
     }
 
-    public Iterator<String> getParameterNames() {
+    public Iterator<String> getNames() {
         return this.value.keySet().iterator();
     }
 
-    public AbstractParameter getParameterValue(String name) {
+    public AbstractParameter getValue(String name) {
         return this.value.get(name);
     }
 
-    public String getStringParameterValue(String name) {
+    public String getStringValue(String name) {
         if (this.value.containsKey(name))
             return this.value.get(name).toStringVal();
         else
             return null;
     }
 
-    public void addParameter(String name, AbstractParameter value) {
+    public void add(String name, AbstractParameter value) {
         this.value.put(name, value);
     }
 

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/SecurityContext.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/SecurityContext.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/SecurityContext.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/SecurityContext.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/SecurityContext.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/SecurityContext.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/SecurityContext.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,11 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context;
+package org.apache.airavata.core.gfac.context.security;
 
+/**
+ * SecurityContext is the representation of security object used by providers.
+ *
+ */
 public interface SecurityContext {
 }

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/AmazonSecurityContext.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/AmazonSecurityContext.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/AmazonSecurityContext.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/AmazonSecurityContext.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/AmazonSecurityContext.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/AmazonSecurityContext.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/AmazonSecurityContext.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context.impl;
+package org.apache.airavata.core.gfac.context.security.impl;
 
-import org.apache.airavata.core.gfac.context.SecurityContext;
+import org.apache.airavata.core.gfac.context.security.SecurityContext;
 
 public class AmazonSecurityContext implements SecurityContext {
 

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/GSISecurityContext.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/GSISecurityContext.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/GSISecurityContext.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/GSISecurityContext.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/GSISecurityContext.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/GSISecurityContext.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/GSISecurityContext.java Wed Sep  7 20:16:10 2011
@@ -19,10 +19,10 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context.impl;
+package org.apache.airavata.core.gfac.context.security.impl;
 
-import org.apache.airavata.core.gfac.context.SecurityContext;
-import org.apache.airavata.core.gfac.context.impl.utils.MyProxyManager;
+import org.apache.airavata.core.gfac.context.security.SecurityContext;
+import org.apache.airavata.core.gfac.context.security.impl.utils.MyProxyManager;
 import org.apache.airavata.core.gfac.exception.GfacException;
 import org.apache.airavata.core.gfac.exception.GfacException.FaultCode;
 import org.globus.tools.MyProxy;
@@ -61,7 +61,7 @@ public class GSISecurityContext implemen
                     gssCredentails = proxyRenewer.renewProxy();
                 } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                     this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
-                            myproxyLifetime, myproxyServer, trustedCertLoc);
+                            myproxyLifetime, myproxyServer);
                     log.info("loaded credentails from Proxy server");
                     gssCredentails = this.proxyRenewer.renewProxy();
                 }

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/SSHSecurityContextImpl.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/SSHSecurityContextImpl.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/SSHSecurityContextImpl.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/SSHSecurityContextImpl.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/SSHSecurityContextImpl.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/SSHSecurityContextImpl.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/SSHSecurityContextImpl.java Wed Sep  7 20:16:10 2011
@@ -19,9 +19,9 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context.impl;
+package org.apache.airavata.core.gfac.context.security.impl;
 
-import org.apache.airavata.core.gfac.context.SecurityContext;
+import org.apache.airavata.core.gfac.context.security.SecurityContext;
 
 public class SSHSecurityContextImpl implements SecurityContext {
 

Copied: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/utils/MyProxyManager.java (from r1166224, incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/utils/MyProxyManager.java)
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/utils/MyProxyManager.java?p2=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/utils/MyProxyManager.java&p1=incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/utils/MyProxyManager.java&r1=1166224&r2=1166377&rev=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/impl/utils/MyProxyManager.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/context/security/impl/utils/MyProxyManager.java Wed Sep  7 20:16:10 2011
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.core.gfac.context.impl.utils;
+package org.apache.airavata.core.gfac.context.security.impl.utils;
 
 import java.io.File;
 import java.io.FileNotFoundException;
@@ -51,7 +51,6 @@ public class MyProxyManager {
 
     public MyProxyManager(final String username, final String password, final int port, final int lifetime,
             final String hostname) {
-        super();
         this.username = username;
         this.password = password;
         this.port = port;
@@ -61,7 +60,6 @@ public class MyProxyManager {
 
     public MyProxyManager(final String username, final String password, final int port, final int lifetime,
             final String hostname, String trustedCertsLoc) {
-        super();
         this.username = username;
         this.password = password;
         this.port = port;
@@ -70,15 +68,6 @@ public class MyProxyManager {
         this.trustedCertsLoc = trustedCertsLoc;
     }
 
-    public MyProxyManager(String username, String password, int lifetime) {
-        super();
-        this.username = username;
-        this.password = password;
-        this.lifetime = lifetime;
-        hostname = "rainier.extreme.indiana.edu";
-        this.port = MyProxy.DEFAULT_PORT;
-    }
-
     private void init() {
         if (trustedCertsLoc != null) {
             TrustedCertificates certificates = TrustedCertificates.load(trustedCertsLoc);

Modified: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/Chain.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/Chain.java?rev=1166377&r1=1166376&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/Chain.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/Chain.java Wed Sep  7 20:16:10 2011
@@ -21,7 +21,7 @@
 
 package org.apache.airavata.core.gfac.extension;
 
-import org.apache.airavata.core.gfac.context.InvocationContext;
+import org.apache.airavata.core.gfac.context.invocation.InvocationContext;
 import org.apache.airavata.core.gfac.exception.GfacException;
 
 public abstract class Chain<T> {

Modified: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/ExitableChain.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/ExitableChain.java?rev=1166377&r1=1166376&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/ExitableChain.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/ExitableChain.java Wed Sep  7 20:16:10 2011
@@ -21,7 +21,7 @@
 
 package org.apache.airavata.core.gfac.extension;
 
-import org.apache.airavata.core.gfac.context.InvocationContext;
+import org.apache.airavata.core.gfac.context.invocation.InvocationContext;
 import org.apache.airavata.core.gfac.exception.GfacException;
 
 public abstract class ExitableChain extends Chain<ExitableChain> {

Modified: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/data/RegistryDataService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/data/RegistryDataService.java?rev=1166377&r1=1166376&r2=1166377&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/data/RegistryDataService.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/extension/data/RegistryDataService.java Wed Sep  7 20:16:10 2011
@@ -25,22 +25,22 @@ import java.io.File;
 import java.util.Date;
 import java.util.UUID;
 
-import org.apache.airavata.core.gfac.context.InvocationContext;
+import org.apache.airavata.commons.gfac.type.ApplicationDeploymentDescription;
+import org.apache.airavata.commons.gfac.type.HostDescription;
+import org.apache.airavata.commons.gfac.type.ServiceDescription;
+import org.apache.airavata.commons.gfac.type.app.ShellApplicationDeployment;
+import org.apache.airavata.core.gfac.context.invocation.InvocationContext;
 import org.apache.airavata.core.gfac.exception.GfacException;
 import org.apache.airavata.core.gfac.exception.GfacException.FaultCode;
 import org.apache.airavata.core.gfac.extension.DataServiceChain;
-import org.apache.airavata.core.gfac.type.ApplicationDeploymentDescription;
-import org.apache.airavata.core.gfac.type.HostDescription;
-import org.apache.airavata.core.gfac.type.ServiceDescription;
-import org.apache.airavata.core.gfac.type.app.ShellApplicationDeployment;
 
 public class RegistryDataService extends DataServiceChain {
 
 	public boolean execute(InvocationContext context) throws GfacException {
 
-		ServiceDescription serviceDesc = context.getGfacContext().getService();
-		HostDescription hostDesc = context.getGfacContext().getHost();
-		ApplicationDeploymentDescription appDesc = context.getGfacContext()
+		ServiceDescription serviceDesc = context.getExecutionDescription().getService();
+		HostDescription hostDesc = context.getExecutionDescription().getHost();
+		ApplicationDeploymentDescription appDesc = context.getExecutionDescription()
 				.getApp();
 		if (serviceDesc != null && hostDesc != null && appDesc != null) {
 			/*



Mime
View raw message