Compare commits

..

No commits in common. "66b46259b20001e24092a91e5ff365598cbb0256" and "3107c62627b1853b61926fcb9f003f47fd9f24f3" have entirely different histories.

2 changed files with 1 additions and 24 deletions

View File

@ -68,7 +68,7 @@ public class ExportApisToWso2FromV32 extends AbstractProcess {
int maxThreads = config.getMaxThreads();
//ExecutorService executor = Executors.newFixedThreadPool(maxThreads);
int skipCount = 9;
int skipCount = 0;
for (SearchedArtifact api : sortedArtifacts) {
final int index = apiCounter.getAndIncrement();

View File

@ -1,6 +1,5 @@
package cz.trask.migration.mapper;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
@ -184,17 +183,6 @@ public class ApiDefinitionMapper32to45 {
endpointProd.remove("config");
}
}
if (endpointProd != null && endpointProd.containsKey("url") && endpointProd.get("url") != null) {
String url = endpointProd.get("url").toString();
try {
URL u = new URL(url);
} catch (Exception e) {
url = url.replaceAll("\\{\\{.*?\\}\\}", "");
if (!url.startsWith("http"))
url = "http://" + url;
endpointProd.put("url", url);
}
}
}
if (endpointConfig.get("sandbox_endpoints") != null && (endpointConfig.get("sandbox_endpoints") instanceof Map)) {
@ -205,17 +193,6 @@ public class ApiDefinitionMapper32to45 {
endpointSand.remove("config");
}
}
if (endpointSand != null && endpointSand.containsKey("url") && endpointSand.get("url") != null) {
String url = endpointSand.get("url").toString();
try {
URL u = new URL(url);
} catch (Exception e) {
url = url.replaceAll("\\{\\{.*?\\}\\}", "");
if (!url.startsWith("http"))
url = "http://" + url;
endpointSand.put("url", url);
}
}
}
if (endpointConfig.get("endpoint_security") != null && (endpointConfig.get("endpoint_security") instanceof Map)) {