Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14936

Timing issue on Metadata Tags for Newly Created App

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Applications, Metadata
    • Labels:
      None
    • Rank:
      1|i00laf:

      Description

      There is some timing issue on SYSTEM metadata tags for newly created app. If I publish a pipeline, and after successful creation, if I query for the system tags, I am expecting cdap-data-pipeline to be there, however it is returning empty array.

       /v3/namespaces/default/apps/<pipeline name>/metadata/tags?scope=SYSTEM

       

       

      The problem is very apparent, because the UI will redirect user immediately to the detail page after they publish the pipeline. However, since the tags metadata API returns empty array, then the UI just shows "No tags found" for the tags. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                edwin Edwin Elia
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: