Skip to content

Commit

Permalink
Remove unused synapse APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuGayan committed Oct 21, 2024
1 parent b3850cd commit 08c4049
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.wso2.carbon.integration.common.utils.FileManager;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.xml.xpath.XPathExpressionException;

Expand Down Expand Up @@ -116,6 +117,12 @@ public void configureServer() throws AutomationFrameworkException {
+ "deployment" + File.separator + "server" + File.separator + "synapse-configs"
+ File.separator + "default" + File.separator + "api";

try {
FileManager.readFile(synapseApiPath);
} catch (FileNotFoundException e) {
new File(synapseApiPath).mkdirs();
}

FileManager.copyFile(new File(
resourcePath + File.separator + "synapseconfigs" + File.separator + "rest" + File.separator
+ "BackEndSecurity.xml"), synapseApiPath + File.separator + "BackEndSecurity.xml");
Expand Down

0 comments on commit 08c4049

Please sign in to comment.