Preview should list macro args just like when running a real pipeline

Description

Right now, preview does not show the macro args that are used in the plugin like it does when you run a pipeline. This causes issues because a user has to remember those. They should be automatically populated.

Also, if there are namespace or cdap preferences for the value, they should be auto populated.

Release Notes

Added feature where macro arguments are also listed in the runtime arguments of preview mode, just like when running a new pipeline.

Activity

Show:
Yaojie Feng
April 28, 2017, 7:02 PM
Edited

For real pipelines, the UI is using

to get the PluginInstanceDetail from the appSpec for each stage. Preview cannot do the same because backend does not have the pipeline config or the app spec until you start the preview. So backend can hardly have a way to figure out the macros for a preview.

Tony Bach
April 28, 2017, 9:56 PM
Fixed

Assignee

Tony Bach

Reporter

Russ Savage

Labels

Docs Impact

None

UX Impact

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure