Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-5406

[capabilities] Dynamic source for selections for combos

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: Capabilities
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Sprint 2

      Description

      Dynamic source for selections = be able to define that the source for a combo or (multi)selection lists.

      The field definition will have an ID or rest path to be called to get the list to be displayed. On server side there should be a rest resource that will respond with a generic list of key/value pairs.
      Once this is done also the js of capabilities and tasks can be simplified by removing the internal hardcoded repositories combo handling.
      Advantages are that specific lists can be done for example to only select proxy repositories/groups/...

      We should consider also including some eventual filter beside of type so we do not have to define multiple sources when they return same kind of data just filtered as for example the repositories groups/proxy example.

      In case of yum capabilities this will allow selection of "Repository targets" to be included in views concept.
      In case of SP plugin this could be used to allow only proxies for Subscribe capability or select the format of File Sink.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cstamas Tamás Cservenák
              Reporter:
              alin Alin Dreghiciu
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title