wildfly-extras/prospero

Detect available channels

Opened this issue · 1 comments

Allow prospero to detect channels that the server can subscribe to.

Requirements:

  • The user should be able to execute prospero channel search. The result would be a list of "known" channels including the channel GA, their manifest GA(V)/URL, repositories and (optionally) name/description.
    • Displaying name/description would require resolving all channels - if that's a performance issue, this can be an option in this channel search operation or a new operation channel describe --ga
  • The source of the channels is a channel itself - a manifest deployed to a maven repository
    • The definition of that channel-of-channels (repository and manifest GA) has to be customizable at build time (it is a new channels.yaml file)
    • Each stream in the channel-of-channels corresponds to a -channel artifact GA
    • The version of the channel is an open pattern - newest version of channel should always be used
    • Each listed channel file should contain only a single channel
      • Otherwise it should be ignored and warning should be printed
  • Already subscribed channels are marked as such and/or listed separately

Nice-to-have:

  • Make it possible to subscribe to channels using the channel GA
  • make the source of channel detection customisable by the user.
    • the definition of channel-of-channels would have to be writable at runtime (e.g. in .installation of Prospero)
    • all the above logic would have to work with a list of channels
    • optional: new operations to manage the list of channels-of-channels (otherwise - use vi)
  • detect channels that constitute different versions of subscribed channels (e.g. wildfly-27/wildfly-28)

Is anyone currently working on this issue?