tests.system.google.cloud.workflows.example_workflows

Attributes

ENV_ID

PROJECT_ID

DAG_ID

LOCATION

WORKFLOW_ID

WORKFLOW_CONTENT

WORKFLOW

EXECUTION

SLEEP_WORKFLOW_ID

SLEEP_WORKFLOW_CONTENT

SLEEP_WORKFLOW

create_workflow

test_run

Module Contents

tests.system.google.cloud.workflows.example_workflows.ENV_ID[source]
tests.system.google.cloud.workflows.example_workflows.PROJECT_ID[source]
tests.system.google.cloud.workflows.example_workflows.DAG_ID = 'cloud_workflows'[source]
tests.system.google.cloud.workflows.example_workflows.LOCATION = 'us-central1'[source]
tests.system.google.cloud.workflows.example_workflows.WORKFLOW_ID[source]
tests.system.google.cloud.workflows.example_workflows.WORKFLOW_CONTENT = Multiline-String[source]
Show Value
"""
- getLanguage:
    assign:
        - inputLanguage: "English"
- readWikipedia:
    call: http.get
    args:
        url: https://www.wikipedia.org/
        query:
            action: opensearch
            search: ${inputLanguage}
    result: wikiResult
- returnResult:
    return: ${wikiResult}
"""
tests.system.google.cloud.workflows.example_workflows.WORKFLOW[source]
tests.system.google.cloud.workflows.example_workflows.EXECUTION[source]
tests.system.google.cloud.workflows.example_workflows.SLEEP_WORKFLOW_ID[source]
tests.system.google.cloud.workflows.example_workflows.SLEEP_WORKFLOW_CONTENT = Multiline-String[source]
Show Value
"""
- someSleep:
    call: sys.sleep
    args:
        seconds: 200
"""
tests.system.google.cloud.workflows.example_workflows.SLEEP_WORKFLOW[source]
tests.system.google.cloud.workflows.example_workflows.create_workflow[source]
tests.system.google.cloud.workflows.example_workflows.test_run[source]

Was this entry helpful?