Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5677

Ambari Views : Ability to handle name + version views and view instances

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None

    Description

      Add 'version' resources under views and above instances. For example ...

      http://c6401.ambari.apache.org:8080/api/v1/views/WEATHER/
      
      {
        "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/WEATHER/",
        "ViewInfo" : {
          "view_name" : "WEATHER"
        },
        "versions" : [
          {
            "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/WEATHER/versions/1.0.0",
            "ViewVersionInfo" : {
              "version" : "1.0.0",
              "view_name" : "WEATHER"
            }
          },
          {
            "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/WEATHER/versions/2.0.0",
            "ViewVersionInfo" : {
              "version" : "2.0.0",
              "view_name" : "WEATHER"
            }
          }
        ]
      }
      

      Attachments

        Issue Links

          Activity

            People

              tbeerbower Tom Beerbower
              tbeerbower Tom Beerbower
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: