@@ -0,0 +1,2047 @@
+package org.apache.airavata.service.profile.handlers;%0A%0Aimport org.apache.airavata.model.workspace.Gateway;%0Aimport org.apache.airavata.service.profile.gateway.cpi.GatewayProfileService;%0Aimport org.apache.airavata.service.profile.gateway.cpi.exception.GatewayProfileServiceException;%0Aimport org.apache.airavata.service.profile.gateway.cpi.profile_gateway_cpiConstants;%0Aimport org.apache.thrift.TException;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport java.util.List;%0A%0A/**%0A * Created by goshenoy on 3/6/17.%0A */%0Apublic class GatewayProfileServiceHandler implements GatewayProfileService.Iface %7B%0A%0A    private final static Logger logger = LoggerFactory.getLogger(GatewayProfileServiceHandler.class);%0A%0A    @Override%0A    public String getAPIVersion() throws GatewayProfileServiceException %7B%0A        try %7B%0A            return profile_gateway_cpiConstants.GATEWAY_PROFILE_CPI_VERSION;%0A        %7D catch (Exception ex) %7B%0A            logger.error(%22Error getting API version, reason: %22 + ex.getMessage(), ex);%0A            GatewayProfileServiceException exception = new GatewayProfileServiceException();%0A            exception.setMessage(%22Error getting API version, reason: %22 + ex.getMessage());%0A            throw ex;%0A        %7D%0A    %7D%0A%0A    @Override%0A    public String addGateway(Gateway gateway) throws GatewayProfileServiceException %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public boolean updateGateway(String gatewayId, Gateway updatedGateway) throws GatewayProfileServiceException %7B%0A        return false;%0A    %7D%0A%0A    @Override%0A    public Gateway getGateway(String gatewayId) throws GatewayProfileServiceException %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public boolean deleteGateway(String gatewayId) throws GatewayProfileServiceException %7B%0A        return false;%0A    %7D%0A%0A    @Override%0A    public List%3CGateway%3E getAllGateways() throws GatewayProfileServiceException %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    public boolean isGatewayExist(String gatewayId) throws GatewayProfileServiceException %7B%0A        return false;%0A    %7D%0A%7D%0A

Add GatewayProfileService thrift handler