Versions Compared

Key

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

...

AttributeQualifierCardinalityContentDescription
csarIdM1String

The CSAR identifier is a unique identifier generated

by the Market place.

Delete VNF package by csarId

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId}
Operation TypeDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package

Response:
HTTP Success or Error Code


Download VNF package files 

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId}/files
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR

Sample:
/onapapi/marketplace/v1/csars/78ede6f3-66cc-46ab-b748-38a6c010d272/files?

Response:

CSAR Package


Query VNF package information by csarId

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId}
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package

Response:
CSARPackage
PackageMetaData


AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package
nameM1StringName of package
providerM1StringProvider company name
versionM1Stringversion of the package
createTimeM1Stringcreate time of package
modifyTimeM1Stringmodify time of package
downloadUriM1Stringdownload uri
sizeM1Stringsize of the package
downloadCountM1IntegerNumber of times the package is download from market place.


Sample:

   {
       "csarId":"78ede6f3-66cc-46ab-b748-38a6c010d272",
       "name":"NanocellGateway",
       "provider":"XYZ",
       "version":"V1.0",
       "createTime":"2016-06-29 03:33:15",
       "modifyTime":"2016-06-29 09:33:15",
       "size":"0.93M",
       "downloadUri":"http://msb_ip:msb_port/files/marketplace/CSAR/XYZ/NanocellGW/v1.0/NanocellGateway.csar",
       "type":"CSAR"
   }

Delete VNF package by csarId

...

Request Parameters:

...

Response:
HTTP Success or Error Code

Download VNF package files 

...

Request Parameters:

...

Sample:
/onapapi/marketplace/v1/csars/78ede6f3-66cc-46ab-b748-38a6c010d272/files?

Response:

...