Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-30148

PipelineTasks use wrong label as name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ctrl_mpexec
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      AP S21-6 (May)
    • Team:
      Alert Production
    • Urgent?:
      No

      Description

      Following the merging of DM-30061, ap.association.TransformDiaSourceCatalogTask produces metadata prefixed by "diaSourceSchema" (the first connection) rather than the previous "transformDiaSourceCatalog" (the default name) or the desired "transformDiaSrcCat" (the label in the AP pipeline). I have confirmed that the name argument to the task constructor is faithfully propagated, so the problem must lie farther upstream, possibly in TaskDef. Fix and add suitable tests.

      The same issue does not appear with ap.association.DiaPipelineTask. The problem is not caused by the task label being different from the task's default name; I suspect it is related to the presence or absence of init-inputs.

        Attachments

          Issue Links

            Activity

            Hide
            Parejkoj John Parejko added a comment -

            A few suggestions on the PR, but otherwise this looks good. Thanks for adding a bunch of test coverage for unrelated code, too!

            Show
            Parejkoj John Parejko added a comment - A few suggestions on the PR, but otherwise this looks good. Thanks for adding a bunch of test coverage for unrelated code, too!
            Hide
            krzys Krzysztof Findeisen added a comment -

            Thanks for the emergency review!

            Show
            krzys Krzysztof Findeisen added a comment - Thanks for the emergency review!

              People

              Assignee:
              krzys Krzysztof Findeisen
              Reporter:
              krzys Krzysztof Findeisen
              Reviewers:
              John Parejko
              Watchers:
              Jim Bosch, John Parejko, Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.