Skip to content

Commit

Permalink
Add build.yml fix range cache
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko committed Mar 19, 2024
1 parent 93b5beb commit e6ad46c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,16 @@ public void addConnectorInfo(LocalConnectorInfoImpl connectorInfo) {
}

public void addConnectorBundle(Collection<URL> connectorBundleURLs) {
logger.info("add {0}",connectorBundleURLs);
final List<WorkingBundleInfo> workingInfo = new ArrayList<WorkingBundleInfo>();
for (URL url : connectorBundleURLs) {
WorkingBundleInfo info = null;
try {
if ("file".equals(url.getProtocol())) {
final File file = new File(url.toURI());
logger.info("file {0}",file);
if (file.isDirectory()) {
logger.info("isDirectory {0}",file);
info = processDirectory(file);
}
}
Expand All @@ -81,6 +84,7 @@ public void addConnectorBundle(Collection<URL> connectorBundleURLs) {
} catch (URISyntaxException e) {
throw new ConfigurationException("Invalid bundleURL: " + url.toExternalForm(), e);
}
logger.info("workingInfo {0}",info);
workingInfo.add(info);
}
WorkingBundleInfo.resolve(workingInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ public void testConnectorBundleRange() throws Exception {
"org.identityconnectors.testconnector.TstConnector").setBundleVersion(
"[1.0,2.0)").build());
System.out.println("2");
System.out.println(manager);
System.out.println(bundle10);
manager.addConnectorBundle(bundle10);
System.out.println("3");
Assert.assertFalse(keyRangePromise.isCancelled());
Expand Down

0 comments on commit e6ad46c

Please sign in to comment.