Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

namedescriptionrequired?default
nameartifact nameyes 
jarname of jar file in package archive

yes

 
archivelinklink to download 3rd party archivenonone
archivesiglink to get 3rd party archive signaturenonone
scopeartifact scope (implies API to add system artifacts is added in 4.0)nouser
versionartifact version to pass as Artifact-Version headernonone
parentsartifact parents to pass as Artifact-Extends headernonone
pluginsartifact plugins to pass as Artifact-Plugins headernonone

...

Code Block
GET /groups/hydrator-plugins/packages/mysql-jdbc-driver/versions
[
  {
    "name": "mysql-jdbc-driver",
    "label": "MySQL JDBC Driver",
    "description": "JDBC Driver for MySQL databases.",
    "author": "MySQL",
    "org": "Oracle",
    "version": "5.1.3839",
    "created": 1234567899,
    "changelog": [ ],
    "dependencies": { }
  },
  ...
]

...

Code Block
GET /groups/hydrator-plugins/packages/mysql-jdbc-driver/versions/5.1.3839/spec.asc
GET /groups/hydrator-plugins/packages/mysql-jdbc-driver/versions/5.1.3839/spec
{    
  "name": "mysql-jdbc-driver",
  "label": "MySQL JDBC Driver",
  "description": "JDBC Driver for MySQL databases.",
  "author": "MySQL",
  "org": "Oracle",
  "version": "5.1.3839",
  "created": 1234567899,
  "actions": [
    {
      "type": "create_artifact",
      "arguments": [
        {
          "name": "scope",
          "value": "user",
          "canModify": false
        },
        {
          "name": "name",
          "value": "mysql-connector-java",
          "canModify": false
        },
        {
          "name": "version",
          "value": "5.1.3839",
          "canModify": false
        },
        {
          "name": "parents",
          "value": "system:cdap-data-pipeline[3.0.0,10.0.0]/system:cdap-data-streams[3.0.0,10.0.0]",
          "canModify": false
        },
        {
          "name": "jar",
          "value": "mysql-connector-java-5.1.3839-bin.jar", // file in the archive
          "canModify": false
        },
        {
          "name": "pluginsarchivelink",
          "value": "plugins.json", // file in the archivehttps://dev.mysql.com/downloads/file/?id=462849",
          "canModify": false
        },
        {
          "name": "archivesig",
          "value": "https://dev.mysql.com/downloads/gpg/?file=mysql-connector-java-5.1.39.tar.gz"
        }
        {
          "name": "plugins",
          "value": {
            "parents": [ "cdap-data-pipeline[3.0.0,10.0.0]" ],
            "plugins": [
              {
                "name" : "mysql",
                "type" : "jdbc",
                "className" : "com.mysql.jdbc.Driver",
                "description" : "Plugin for MySQL JDBC driver"
              }
            ]
          },
          "canModify": false
        }
      ]
    }
  ]
}

...