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 3 Current »

this table was created to map all the SDC dependencies

ComponentAPI name/URI

Type

Direction (incoming/outgoing)Adjacent module(s)

Information expected

Information provided

VID/sdc/v1/catalog/servicesGETincomingSDC
a list of all the SERVICES in DCS

/sdc/v1/catalog/resources/{uuid}/toscaModelGETincomingSDCuuid of the servicethe csar for the requested uuid

using parser
Dependencysdc-toscausing the parser API's to retrieve information from the csardifrent parts of the CSAR according to the API call
SOSdcDistributionClient subscribed to DMaaP (SDC-NOTIF-TOPIC and
SDC-DISTR-STATUS-TOPIC
)
GET/POSTDependencyDmaap and SDCthe distribution client subscribes to topics in Dmaap. After the subscription a notification from SDC will be consumed by SO

based on the notification SO downloads the artifact it needs from the SDC catalog.

the artifacts used by SO are

  • HEAT
  • HEAT_ENV
  • HEAT_VOL
  • HEAT_NESTED,
  • HEAT_ARTIFACT
  • VF_MODULES_METADATA

from Resource instance. 


/sdc/v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName}GETincommingSDCservice infothe artifact file requested
APPCSdcDistributionClient subscribed to DMaaP (SDC-NOTIF-TOPIC and
SDC-DISTR-STATUS-TOPIC
)
GET/POSTDependencyDmaap and SDCthe distribution client subscribes to topics in Dmaap. After the subscription a notification from SDC will be consumed by APPC

based on the notification APPC downloads the artifact it needs from the APPC catalog.

the artifacts used by APPC are

  • APPC_CONFIG

from Resource instance.


/sdc/v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName}GET/POSTincommingSDCservice infothe artifact file requested
A&AISdcDistributionClient subscribed to DMaaP (SDC-NOTIF-TOPIC and
SDC-DISTR-STATUS-TOPIC
)
GETDependencyDmaap and SDCthe distribution client subscribes to topics in Dmaap. After the subscription a notification from SDC will be consumed by A&AI

based on the notification A&AI downloads the artifact it needs from the A&AI catalog.

the artifacts used by A&AI are

  • MODEL_INVENTORY_PROFILE
  • TOSCA_CSAR

from Resource instance.


/sdc/v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName}GETincommingSDCservice infothe artifact file requested

using parser
Dependencysdc-toscausing the parser API's to retrieve information from the csardifrent parts of the CSAR according to the API call
SDNCSdcDistributionClient subscribed to DMaaP (SDC-NOTIF-TOPIC and
SDC-DISTR-STATUS-TOPIC
)
GET/POSTDependencyDmaap and SDCthe distribution client subscribes to topics inDmaap. After the subscription a notification from SDC will be consumed by SDNC

based on the notification SDNC downloads the artifact it needs from the SDNC catalog.

the artifacts used by SDNC are

  • TOSCA_CSAR

from Resource instance.


/sdc/v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName}GETincommingSDCservice infothe artifact file requested

using parser
Dependencysdc-toscausing the parser API's to retrieve information from the csardifrent parts of the CSAR according to the API call
VFCthis is an open issue since they cannot consume our utilities as they are a Python project they can implement the logic them selfs since it is based on restcallesto Dmaap and SDC




DCAESdcDistributionClient subscribed to DMaaP (SDC-NOTIF-TOPIC and
SDC-DISTR-STATUS-TOPIC
)
GET/POSTDependencyDmaap and SDCthe distribution client subscribes to topics inDmaap. After the subscription a notification from SDC will be consumed by DCAE

based on the notification DCAE downloads the artifact it needs from the DCAE catalog.

the artifacts used by SDNC are

  • DCAE INVENTORY _BLUEPRINT

from Resource instance.


/sdc/v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName}GETincommingSDCservice infothe artifact file requested
CLAMP/sdc/v1/catalog/servicesGETincommingSDCnoneretrives a list of all service from SDC catalog

/sdc/v1/catalog/resourcesGETincommingSDC
retrives a list of all resources from SDC catalog

/sdc/v1/catalog/{assetType}/{uuid}/artifacts/{artifactUUID}GETincommingSDC

asset type : resource or service

uuid : id of the resource/service we want the artifact from

artifactUUID: id of the artifact we want to dounload

downloades the chosen artifact file.

/sdc/v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceNormalizedName}/artifactsGETincommingSDC

asset type : resource or service

uuid : id of the resource/service we want the artifact from

resourceInstanceNormalizedName: the name of the instance from which we want to recive the info


returnes alist of the artifacts connected to the choosen instance

/sdc/v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceNormalizedName}/artifacts/{artifactUUID}GETincommingSDC

asset type : resource or service

uuid : id of the resource/service we want the artifact from

artifactUUID: id of the artifact we want to dounload

resourceInstanceNormalizedName: the name of the instance from which we want to recive the info

downloades the chosen artifact file.

/sdc/v1/catalog/{assetType}/{uuid}/lifecycleState/{lifecycleOperation}POSTincommingSDC

asset type : resource or service

uuid : id of the resource/service we want the artifact from

lifecycleOperation:

checkin

checkout



allows to mange the life sycle of a resource and service.
VNF-SDK/onapapi/marketplace/v1/csars/{csarId}GEToutgoingSDCcsariddownloades the CSAR

/onapapi/marketplace/v1/csarsGEToutgoingSDC
retrives a list of avilable pacakes
PORTALusingportalSDK/sdc2/v2/apiGET/POSTincoming/dependency SDC uses a library provided byportal, using the library we define a servlet that is called from the portal for user mangmentSDC

the API calls are directed into an sdc implementation of this functions:

  • getUserId
  • getUserRoles
  • pushUserRole
  • getAvailableRoles
  • getUsers
  • getUser
  • editUser
  • pushUser


the API's return the user data according to the call
Dmaapusing Cambria clientGET/POSToutgoingSDC/Distribution clientthe SDC creates topics in the Dmaapand subscribers to the status topicsdc pushes and retrives notifications from the Dmaap




  • No labels