turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
327 stars 9 forks source link

Get the name of the pipeline being used in the step if `step_type` is `pipeline` #731

Open karanpopat opened 4 months ago

karanpopat commented 4 months ago

when running the Flowpipe, pipeline introspection API, can we get the pipeline name that is being called if the step_type is pipeline?

Currently, it returns

{
            "name": "list_on_calls1",
            "step_type": "pipeline",
            "pipeline_name": "notify_on_call_engineer_with_pagerduty.pipeline.notify_on_call_engineer_with_pagerduty",
            "file_name": "/Users/karanpopat/work/flowpipe/samples/flowpipe-samples/incident_response/notify_on_call_engineer_with_pagerduty/notify_on_call_engineer_with_pagerduty.fp",
            "start_line_number": 54,
            "end_line_number": 59,
            "args": null
        },

which does not include the pipeline that is being called in the step. the pipeline_name here is the name of the parent pipeline

Eg. Request: http://127.0.0.1:7103/api/v0/pipeline/notify_on_call_engineer_with_pagerduty.pipeline.notify_on_call_engineer_with_pagerduty

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.