Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8889

jq expression not getting analysed inside OpenAPI workitem with array

    XMLWordPrintable

Details

    • 2023 Week 12-14 (from Mar 20)

    Description

      In the example below, machineType values gets resolved based on the expression, but not email neither subnetwork, as these are enclosed into an array.

      - name: StartState
        type: operation
        actions:
          - name: createComputeInstance
            functionRef:
              refName: createComputeInstance
              arguments:
                machineType: "\"zones/\" + $SECRET.gcp_zone + \"/machineTypes/e2-micro\""
                serviceAccounts:
                  - email: "\"kogito-sw-gcp@\" + $SECRET.gcp_project_id + \".iam.gserviceaccount.com\""
                networkInterfaces:
                  - networkTier: STANDARD
                    subnetwork: "\"regions/\" + $SECRET.gcp_region + \"/subnetworks/default\"" 

       

       

      Attachments

        Activity

          People

            ftirados Francisco Javier Tirado Sarti
            cnicolai@redhat.com Cristiano Nicolai
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: