5 "email" : "onap-discuss@lists.onap.org",
7 "url" : "https://onap.readthedocs.io"
9 "description" : "SDC API for distribution subscription (SDCE-6)",
11 "name" : "Apache 2.0",
12 "url" : "http://www.apache.org/licenses/LICENSE-2.0"
14 "title" : "SPC API: SDCE-6",
18 "description" : "SDCE-6 APIs",
22 "/v1/artifactTypes" : {
24 "description" : "Artifact types list",
25 "operationId" : "getValidArtifactTypes",
27 "description" : "X-ECOMP-RequestID header",
29 "name" : "X-ECOMP-RequestID",
34 "description" : "X-ECOMP-InstanceID header",
36 "name" : "X-ECOMP-InstanceID",
42 "description" : "The username and password",
44 "name" : "Authorization",
50 "description" : "The username and password",
61 "application/json" : {
70 "description" : "Artifact types list fetched successfully"
73 "description" : "Missing 'X-ECOMP-InstanceID' HTTP header - POL5001"
76 "description" : "ECOMP component should authenticate itself and to re-send again HTTP request with its Basic Authentication credentials - POL5002"
79 "description" : "ECOMP component is not authorized - POL5003"
82 "description" : "Method Not Allowed : Invalid HTTP method type used to register for distribution ( POST,PUT,DELETE will be rejected) - POL4050"
85 "description" : "The registration failed due to internal SDC problem or Cambria Service failure ECOMP Component should continue the attempts to register for distribution - POL5000"
92 "summary" : "Fetches available artifact types list",
93 "tags" : [ "SDCE-6 APIs" ]
96 "/v1/distributionUebCluster" : {
98 "description" : "UEB Server List",
99 "operationId" : "getUebServerList",
101 "description" : "X-ECOMP-RequestID header",
103 "name" : "X-ECOMP-RequestID",
108 "description" : "X-ECOMP-InstanceID header",
110 "name" : "X-ECOMP-InstanceID",
116 "description" : "Determines the format of the body of the response",
123 "description" : "The username and password",
125 "name" : "Authorization",
134 "application/json" : {
138 "$ref" : "#/components/schemas/ServerListResponse"
143 "description" : "ECOMP component is authenticated and list of Cambria API server’s FQDNs is returned"
146 "description" : "Missing 'X-ECOMP-InstanceID' HTTP header - POL5001"
149 "description" : "ECOMP component should authenticate itself and to re-send again HTTP request with its credentials for Basic Authentication - POL5002"
152 "description" : "ECOMP component is not authorized - POL5003"
155 "description" : "Method Not Allowed: Invalid HTTP method type used ( PUT,DELETE,POST will be rejected) - POL4050"
158 "description" : "The GET request failed either due to internal SDC problem or Cambria Service failure. ECOMP Component should continue the attempts to get the needed information - POL5000"
165 "summary" : "return the available UEB Server List",
166 "tags" : [ "SDCE-6 APIs" ]
169 "/v1/registerForDistribution" : {
171 "description" : "Subscription status",
172 "operationId" : "registerForDistribution",
174 "description" : "X-ECOMP-RequestID header",
176 "name" : "X-ECOMP-RequestID",
181 "description" : "X-ECOMP-InstanceID header",
183 "name" : "X-ECOMP-InstanceID",
189 "description" : "Determines the format of the body of the response",
196 "description" : "Determines the format of the body of the request",
198 "name" : "Content-Type",
204 "description" : "Length of the request body",
206 "name" : "Content-Length",
212 "description" : "The username and password",
214 "name" : "Authorization",
223 "application/json" : {
227 "$ref" : "#/components/schemas/TopicRegistrationResponse"
232 "description" : "ECOMP component is successfully registered for distribution"
235 "description" : "Invalid Body : Specified 'distrEnvName' doesn’t exist - POL4137"
238 "description" : "ECOMP component should authenticate itself and to re-send again HTTP request with its Basic Authentication credentials - POL5002"
241 "description" : "ECOMP component is not authorized - POL5003"
244 "description" : "Method Not Allowed : Invalid HTTP method type used to register for distribution ( PUT,DELETE,GET will be rejected) - POL4050"
247 "description" : "The registration failed due to internal SDC problem or Cambria Service failure ECOMP Component should continue the attempts to register for distribution - POL5000"
254 "summary" : "Subscribes for distribution notifications",
255 "tags" : [ "SDCE-6 APIs" ]
258 "/v1/unRegisterForDistribution" : {
260 "description" : "Subscription status",
261 "operationId" : "unRegisterForDistribution",
263 "description" : "X-ECOMP-RequestID header",
265 "name" : "X-ECOMP-RequestID",
270 "description" : "X-ECOMP-InstanceID header",
272 "name" : "X-ECOMP-InstanceID",
278 "description" : "Determines the format of the body of the response",
285 "description" : "Determines the format of the body of the request",
287 "name" : "Content-Type",
293 "description" : "Length of the request body",
295 "name" : "Content-Length",
301 "description" : "The username and password",
303 "name" : "Authorization",
312 "application/json" : {
316 "$ref" : "#/components/schemas/TopicUnregistrationResponse"
321 "description" : "ECOMP component is successfully unregistered"
324 "description" : "Invalid Body : Specified 'distrEnvName' doesn’t exist - POL4137"
327 "description" : "ECOMP component should authenticate itself and to re-send again HTTP request with its Basic Authentication credentials - POL5002"
330 "description" : "ECOMP component is not authorized - POL5003"
333 "description" : "Method Not Allowed : Invalid HTTP method type used to register for distribution ( PUT,DELETE,GET will be rejected) - POL4050"
336 "description" : "The registration failed due to internal SDC problem or Cambria Service failure ECOMP Component should continue the attempts to register for distribution - POL5000"
343 "summary" : "Removes from subscription for distribution notifications",
344 "tags" : [ "SDCE-6 APIs" ]
350 "RegistrationRequest" : {
356 "distEnvEndPoints" : {
365 "isConsumerToSdcDistrStatusTopic" : {
368 "managerApiPublicKey" : {
371 "managerApiSecretKey" : {
376 "ServerListResponse" : {
387 "TopicRegistrationResponse" : {
390 "distrNotificationTopicName" : {
393 "distrStatusTopicName" : {
398 "TopicUnregistrationResponse" : {
401 "distrNotificationTopicName" : {
404 "distrStatusTopicName" : {
407 "notificationUnregisterResult" : {
409 "enum" : [ "OK", "CONNNECTION_ERROR", "NOT_FOUND", "TOPIC_ALREADY_EXIST", "OBJECT_NOT_FOUND", "INTERNAL_SERVER_ERROR", "AUTHENTICATION_ERROR", "UNKNOWN_HOST_ERROR" ]
411 "statusUnregisterResult" : {
413 "enum" : [ "OK", "CONNNECTION_ERROR", "NOT_FOUND", "TOPIC_ALREADY_EXIST", "OBJECT_NOT_FOUND", "INTERNAL_SERVER_ERROR", "AUTHENTICATION_ERROR", "UNKNOWN_HOST_ERROR" ]