Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-6936

Send only editable attributes when updating an App

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Backbone sends all model attributes by default when a model is saved. In
      an App's case, that includes immutable values like "tasksRunning" and
      "tasksStaged" and the "version" value, which prevents any change from
      happening.

      Add a "editable attributes" list that is a whitelist of attributes that
      should be sent to the server on save.

      Fixes MGI-198.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_ssorallen Ross Allen (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: