-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: federated catalog node resolver sample #346
feat: federated catalog node resolver sample #346
Conversation
...et-node-resolver/src/main/java/org/eclipse/edc/sample/extension/fc/CatalogNodeDirectory.java
Outdated
Show resolved
Hide resolved
...esolver/src/main/java/org/eclipse/edc/sample/extension/fc/CatalogNodeDirectoryExtension.java
Outdated
Show resolved
Hide resolved
...esolver/src/main/java/org/eclipse/edc/sample/extension/fc/CatalogNodeDirectoryExtension.java
Outdated
Show resolved
Hide resolved
system-tests/build.gradle.kts
Outdated
tasks.test { | ||
workingDir = rootProject.projectDir | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed the implementation a little bit and as part of that I have removed this code block.
|
||
@EndToEndTest | ||
class Policy01BasicTest { | ||
|
||
private static final Duration TIMEOUT = Duration.ofSeconds(90); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this used? looks a bit out of scope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously the Policy01BasicTest
was using the TIMEOUT
defined in TransferUtil
which is 30 seconds. As the test was failing pipeline, the TIMEOUT
has been defined locally with a increased time duration.
…typeManager in Extension file
…DirectoryExtension.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a single nit, then we're ready to merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR changes/adds
This PR adds a new sample:
fc-03-static-node-resolver
in thefederated-catalog
sample module. It includes demonstration of a catalog node resolver that implements theTargetNodeDirectory
, and resolves the target nodes to crawl from a static participants file.Why it does that
To illustrate how we can implement
TargetNodeDirectory
to resolve the target nodes in a dataspace. And then how this can be used with both standalone and embedded versions of federated catalog.Further notes
Projects and libraries have been added in settings.gradle.kts.
In system-tests->build.gradle.kts working directory has been set to project directory.
Linked Issue(s)
Contributes to #296
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.