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

Group serialization violates declared schema

    Details

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

      Description

      while rebasing D201 I noticed some bits that wouldn't compile any more because Group serialization MUST output PodStatus objects, not Pod objects.

      I'll fix the serialization dissonance for 1.5 with D201, but the code on releases/1.4 is still broken w/ respect to the declared schema.

      code: https://github.com/mesosphere/marathon/blob/fdd8d99238a60a51c65c9dc411a93d640433dedf/src/main/scala/mesosphere/marathon/api/v2/json/Formats.scala#L1471

      If we decide not to fix this for 1.4, then we should at least document it as a known issue.

        Attachments

          Activity

            People

            • Assignee:
              jdef James DeFelice
              Reporter:
              jdef James DeFelice
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: