Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1551 Update JAVA DAX API to generate yaml formatted DAX
  3. PM-1669

remove "pegasus: <version>" from tc when inlined in a workflow

    XMLWordPrintable

Details

    Description

      When inline tc is serialized, "pegasus: <version>" needs to be removed. For example, this is how it is currently rendered when inlined in the workflow:

      pegasus: "5.0"
      x-pegasus:
        createdBy: "bamboo"
        createdOn: "today"
        apiLang: "java"
      name: "test"
      hooks:
        shell:
         -
          _on: "start"
          cmd: "cmd"
      metadata:
        wf.api: "java"
      replicaCatalog:
        replicas:
         -
          lfn: "f.a"
          pfns:
           -
            pfn: "file:///scratch/f.a"
            site: "local"
          metadata:
            foo: "bar"
            num: "1"
      transformationCatalog:
        pegasus: "5.0" <---------------- needs to be removed
        transformations:
         -
          namespace: "pegasus"
          name: "analyze"
          version: "1.0"
          requires:
           - "pegasus::preprocess:1.0"

      Attachments

        Activity

          People

            vahi Karan Vahi
            tanaka Ryan Tanaka (Inactive)
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: