Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2664 Artifact Repository
  3. CDAP-2763

REST APIs for artifact repository

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: App Fabric
    • Labels:
      None
    • Release Notes:
      Added RESTful APIs for managing artifacts
    • Rank:
      1|hzyulz:

      Description

      Existing APIs are related to plugins:

      GET /templates/<template-id>/extensions/<plugin-type>
      [
        {
          "template": template,
          "source": { jar information },
          "type": plugin-type,
          "name": name,
          "description": description
        },
        ... 
      ]
      
      GET /templates/<template-id>/extensions/<plugin-type>/plugins/<plugin-name>
      [ 
        {
          "className": className,
          "properties": {
            prop1: {
              "name": name,
              "description": description,
              "type": type
              "required": true | false
            }
          }
        }
      ]
      

      templates are going away, so that section in the path will be removed. We probably want to make version part of the api as well.

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: