Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29624

Improve rest upload of explorer distributions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: explorer-20.0.0
    • Component/s: Explorer
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Changed import API to include distribution properties

      Show
      Changed import API to include distribution properties
    • Team:
      AT
    • Sprint:
      nxAT 11.1.24, nxAT 11.1.25, nxAT 11.1.26
    • Story Points:
      2

      Description

      Working on automation (NXP-29371), it appears that current rest api is not easy to use to upload a distribution in "one shot" while setting up the distribution name, version, aliases, etc...: only the export content is taken into account for now.

      Note when uploading in the UI, there is a "validation" step, error-prone, as even before validation, the distribution is visible to users. Reserved distribution names are not checked at this moment, and not all available properties can be edited in the API -> factor this out with the update API.

      Also check the "override" mechanism when saving or uploading a distribution: saving with the same name overrides, while uploading does not, and it should be made consistent (not overriding: better use the delete api to do so).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 30 minutes
                  1d 4h 30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.