When you query the details of an application, using the CMD in section "Details of a Deployed Application", you get back a list that contains "programs". Inside of Programs the program-types appears as Workflow, Flow, etc.
However, these program-types are not consistent with your "Details of a Program" section. Those expect program-type of workflows, flows, etc.
So as a workdaround I have to have a case statement that converts from Workflows->workflows, Flow-flows, etc.
This should be fixed in one of the two APIs so they can be used together.
Release Notes
None
Activity
Show:
NitinMJune 9, 2020 at 1:40 AM
Closing jiras older than 2+ years of not being updated.
This relates to: http://docs.cask.co/cdap/current/en/reference-manual/http-restful-api/lifecycle.html#details-of-a-deployed-application
When you query the details of an application, using the CMD in section "Details of a Deployed Application", you get back a list that contains "programs". Inside of Programs the program-types appears as Workflow, Flow, etc.
However, these program-types are not consistent with your "Details of a Program" section. Those expect program-type of workflows, flows, etc.
So as a workdaround I have to have a case statement that converts from Workflows->workflows, Flow-flows, etc.
This should be fixed in one of the two APIs so they can be used together.