fixing bug

Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/936a4990
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/936a4990
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/936a4990

Branch: refs/heads/develop
Commit: 936a4990f2e660925852437c99b3a4aba4dba237
Parents: 21dee28
Author: scnakandala <[email protected]>
Authored: Thu Jul 14 02:46:52 2016 -0400
Committer: scnakandala <[email protected]>
Committed: Thu Jul 14 02:46:52 2016 -0400

----------------------------------------------------------------------
 .../registry/core/experiment/catalog/resources/GatewayResource.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/936a4990/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/GatewayResource.java
----------------------------------------------------------------------
diff --git 
a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/GatewayResource.java
 
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/GatewayResource.java
index 83ef9aa..619640d 100644
--- 
a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/GatewayResource.java
+++ 
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/GatewayResource.java
@@ -434,6 +434,7 @@ public class GatewayResource extends AbstractExpCatResource 
{
             
gateway.setIdentityServerPasswordToken(identityServerPasswordToken);
             if (existingGateway != null) {
                 existingGateway.setDomain(domain);
+                
existingGateway.setGatewayApprovalStatus(gatewayApprovalStatus);
                 existingGateway.setGatewayName(gatewayName);
                 existingGateway.setEmailAddress(emailAddress);
                 existingGateway.setGatewayAcronym(gatewayAcronym);

Reply via email to