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

Fixes MGI-3241 - consistent JSON error output.

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Fixes MGI-3241 applying following changes to JSON output of errors:
      1. attribute field renamed to path
      2. error field renamed to errors
      3. errors field contains a list of errors caused by an attribute, which location can be found in path
      4. root path information is no longer labeled as value, but as self
      5. .value should never terminate a path (e.g. apps[0].value is replaced by apps[0])
      6. "path": "self" if there is no description about the point of failure at all

        Attachments

          Activity

            People

            • Assignee:
              matthias Matthias Veit (Inactive)
              Reporter:
              GitHub_zunder Alex Weber (Inactive)
              Team:
              Orchestration Team
              Watchers:
              Marco Monaco
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: