Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1093

Scheduler updates should be uniquely identified by jobKey + updateId

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Client, Scheduler, UI
    • None
    • Twitter Aurora Q1'15 Sprint 2, Twitter Aurora Q1'15 Sprint 3
    • 8

    Description

      We should generalize the approach of dealing with scheduler updates by always uniquely identifying them by a new composite key that includes both jobKey and the updateId, e.g.:

      struct JobUpdateKey {
        1: JobKey jobKey
        2: string updateId
      }
      

      The above approach would benefit us long term when it comes to implementing a fully functional REST API. Having both job key and update ID components in the URL will help us logically split authorization and application data layers.

      E.g.: in /api/updates/role/env/name/updateId the /role/env/name may be used for authorization whereas the updateId will remove the ambiguity from the data lookup.

      Attachments

        Issue Links

          Activity

            People

              wfarner Bill Farner
              maximk Maxim Khutornenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: