Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Offered APIs

Etsicatalog provides the followed APIs:

NS package management interface

Provides runtime NS package management interface which aligns with SOL005 - NSD Management interface.

URLMethodDescription
/api/nsd/v1/ns_descriptorsPOSTCreate a new NS descriptor resource.
/api/nsd/v1/ns_descriptorsGETQuery information about multiple NS descriptor resources.
/api/nsd/v1/ns_descriptors/{{nsdInfoId}}GETRead information about an individual NS descriptor resource.
/api/nsd/v1/ns_descriptors/{{nsdInfoId}}/nsd_contentPUTUpload the content of a NSD.
/api/nsd/v1/ns_descriptors/{{nsdInfoId}}/nsd_contentGETFetch the content of a NSD.
/api/nsd/v1/ns_descriptors/{{nsdInfoId}}DELETEDelete an individual NS descriptor resource.
/api/nsd/v1/pnf_descriptorsPOSTCreate a new PNF descriptor resource.
/api/nsd/v1/pnf_descriptorsGETQuery information about multiple PNF descriptor resources.
/api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}GETRead an individual PNFD resource.
/api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}/pnfd_contentPUTUpload the content of a PNFD.
/api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}/pnfd_contentGETFetch the content of a PNFD.
/api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}DELETEDelete an individual PNF descriptor resource.

VNF package management interface

Provides runtime VNF package management interface which aligns with SOL003 - VNF Package Management interface.

URLMethodDescription
/api/vnfpkgm/v1/vnf_packagesPOSTCreate a new individual VNF package resource
/api/vnfpkgm/v1/vnf_packagesGETQuery VNF packages information
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}GETRead information about an individual VNF package
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_contentPUTUpload a VNF package by providing the content of the VNF package
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_content/upload_from_uriPUTUpload a VNF package by providing the address information of the VNF package
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_contentGETFetch an on-boarded VNF package
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/vnfdGETRead VNFD of an on-boarded VNF package
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/artifacts/{{artifactPath}}GETFetch individual VNF package artifact
/api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}DELETEDelete an individual VNF package
/api/vnfpkgm/v1/subscriptionsPOSTSubscribe to notifications related to on-boarding and/or changes of VNF packages
/api/vnfpkgm/v1/subscriptionsGETQuery multiple subscriptions
/api/vnfpkgm/v1/subscriptions/{{subscriptionId}}GETRead an individual subscription resource
/api/vnfpkgm/v1/subscriptions/{{subscriptionId}}DELETETerminate a subscription

Catalog interface

Provides APIs to query/fetch package from SDC catalog.

URLMethodDescription
/api/catalog/v1/nspackagesPOSTFetch NS package from SDC catalog
/api/catalog/v1/vnfpackagesPOSTFetch NVF package from SDC catalog
/api/catalog/v1/service_packagesPOSTFetch Service package from SDC catalog

Parser interface

Provide APIs to parser VNF/PNF/NS/Service package.

URLMethodDescription
/api/parser/v1/parserpnfdPOSTParse PNF package
/api/parser/v1/parservnfdPOSTParse VNF package
/api/parser/v1/parsernsdPOSTParse NS package
/api/parser/v1/parserPOSTParse package


You can download the following API yaml file and paste the content into the swagger tool: https://editor.swagger.io to view whole detail of APIs.

etsicatalog_API_v1.yaml

Consumed APIs

Etsicatalog consumes the followed APIs of other ONAP components:

SDC

Etsicatalog invokes SDC APIs to query/fetch package from SDC catalog.

URLMethodDescription
/api/sdc/v1/catalog/services/GETGet service list
/api/sdc/v1/catalog/services/{{csarId}}/metadataGETGet a service metadata
/api/sdc/v1/catalog/resourcesGETGet resource list
/api/sdc/v1/catalog/resources/{{csarId}}/metadataGETGet a resource metadata
/api/sdc/v1/catalog/services/{{csarId}}/toscaModelGETDownload a service package
/api/sdc/v1/registerForDistributionPOSTRegister from sdc
/api/sdc2/rest/v1/consumersPOSTCreate consumer for sdc

note: Etsicatalog invokes SDC APIs through MSB.

Dmaap

Etsicatalog invokes Dmaap APIs to create/get apiKeys for sdc topics

URLMethodDescription
/api/events/{topic}/{group}/{sonsumer_id}GETCall dmaap
/api/apiKets/createPOST

Create apiKey

/api/apiKeys/{apikey}GETGet apiKeys

Micro Service Bus

Etsicatalog invokes Micro Service Bus APIs to register service to MSB.

URLMethodDescription
/api/microservices/v1/servicesPOSTRegister service to the Microservice Bus
  • No labels