Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-10586

Hydrator upgrade tool should output full request on error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1
    • Component/s: Pipelines
    • Labels:
      None
    • Release Notes:
      Fixed the Hydrator upgrade tool to correctly write out pipeline configs that failed to upgrade.
    • Rank:
      1|hzzci7:

      Description

      When there is an error upgrading a pipeline, the upgrade tool writes the config to a file for further investigation. Instead of just the config, the tool should output something that is directly usable as the request body to the update app REST endpoint.

      In other words, instead of:

      {
        "stages": [ ... ],
        "connections": [ ... ]
      }
      

      it should output:

      {
        "artifact": { ... },
        "config": {
          "stages": [ ... ],
          "connections": [ ... ]
        }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: