Skip to content
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

Ability to list the ChannelManifest and Streams present in a ChannelSession #287

Closed
jfdenise opened this issue Sep 3, 2024 · 2 comments · Fixed by #294
Closed

Ability to list the ChannelManifest and Streams present in a ChannelSession #287

jfdenise opened this issue Sep 3, 2024 · 2 comments · Fixed by #294
Labels
enhancement New feature or request

Comments

@jfdenise
Copy link
Collaborator

jfdenise commented Sep 3, 2024

The current ChannelSession API lakes the ability to discover streams located in manifests. We need the following method:

public List<ChannelManifest> getManifests();

Allowing then to navigate to the Streams, for example:

for (ChannelManifest manifest : session.getManifests()) {
  for (Stream stream : manifest.getStreams()) {
...
@jfdenise jfdenise added the enhancement New feature or request label Sep 3, 2024
jfdenise added a commit to jfdenise/wildfly-channel that referenced this issue Sep 20, 2024
@spyrkob
Copy link
Contributor

spyrkob commented Oct 1, 2024

@jfdenise I'm not sure on the use case, but the channel session can resolve artifacts not listed in the streams (via resolve-if-no-stream), so if the goal is to list artifacts that can be resolved, this might not be enough

@jfdenise
Copy link
Collaborator Author

jfdenise commented Oct 1, 2024

@spyrkob , the goal is to get the streams that are configured in the set of channel manifests. No dynamic resolution is needed.

jmesnil added a commit that referenced this issue Oct 22, 2024
Fix Issue #287, Ability to list the ChannelManifest and Streams present in a ChannelSession
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants