Skip to content

Commit

Permalink
Remove: Unwanted Codes in SynapseArtifactGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
BLasan committed Sep 5, 2024
1 parent 2f67b3b commit 002bf86
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package org.wso2.carbon.apimgt.rest.api.publisher.v1.common;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.Gson;
import org.apache.axiom.om.OMElement;
import org.apache.commons.io.FileUtils;
Expand All @@ -39,7 +38,6 @@
import org.wso2.carbon.apimgt.api.model.SwaggerData;
import org.wso2.carbon.apimgt.api.model.graphql.queryanalysis.GraphqlComplexityInfo;
import org.wso2.carbon.apimgt.impl.APIConstants;
import org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO;
import org.wso2.carbon.apimgt.impl.definitions.GraphQLSchemaDefinition;
import org.wso2.carbon.apimgt.impl.definitions.OAS3Parser;
import org.wso2.carbon.apimgt.impl.dto.APIRuntimeArtifactDto;
Expand All @@ -48,7 +46,6 @@
import org.wso2.carbon.apimgt.impl.gatewayartifactsynchronizer.GatewayArtifactGenerator;
import org.wso2.carbon.apimgt.impl.importexport.utils.CommonUtil;
import org.wso2.carbon.apimgt.impl.utils.APIUtil;
import org.wso2.carbon.apimgt.impl.utils.GatewayUtils;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.common.mappings.APIMappingUtil;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.common.mappings.ImportUtils;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.APIDTO;
Expand All @@ -60,15 +57,10 @@
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLStreamException;

import static org.wso2.carbon.apimgt.impl.utils.APIUtil.handleException;

/**
* This class used to generate Synapse Artifact.
*/
Expand All @@ -81,7 +73,6 @@ public class SynapseArtifactGenerator implements GatewayArtifactGenerator {

private static final Log log = LogFactory.getLog(SynapseArtifactGenerator.class);
private static final String GATEWAY_EXT_SEQUENCE_PREFIX = "WSO2AMGW--Ext";
private static final ApiMgtDAO apiMgtDao = ApiMgtDAO.getInstance();

@Override
public RuntimeArtifactDto generateGatewayArtifact(List<APIRuntimeArtifactDto> apiRuntimeArtifactDtoList)
Expand Down

0 comments on commit 002bf86

Please sign in to comment.