5 "email":"onap-discuss@lists.onap.org",
7 "url":"https://onap.readthedocs.io"
9 "description":"SDC API for distribution subscription (SDCE-6)",
12 "url":"http://www.apache.org/licenses/LICENSE-2.0"
14 "title":"SPC API: SDCE-6",
19 "description":"SDCE-6 APIs",
26 "description":"Artifact types list",
27 "operationId":"getValidArtifactTypes",
30 "description":"X-ECOMP-RequestID header",
32 "name":"X-ECOMP-RequestID",
38 "description":"X-ECOMP-InstanceID header",
40 "name":"X-ECOMP-InstanceID",
47 "description":"The username and password",
49 "name":"Authorization",
56 "description":"The username and password",
77 "description":"Artifact types list fetched successfully"
80 "description":"Missing 'X-ECOMP-InstanceID' HTTP header - POL5001"
83 "description":"ECOMP component should authenticate itself and to re-send again HTTP request with its Basic Authentication credentials - POL5002"
86 "description":"ECOMP component is not authorized - POL5003"
89 "description":"Method Not Allowed : Invalid HTTP method type used to register for distribution ( POST,PUT,DELETE will be rejected) - POL4050"
92 "description":"The registration failed due to internal SDC problem or Cambria Service failure ECOMP Component should continue the attempts to register for distribution - POL5000"
103 "summary":"Fetches available artifact types list",
108 },"/v1/distributionUebCluster" : {
110 "description" : "UEB Server List",
111 "operationId" : "getUebServerList",
113 "description" : "X-ECOMP-RequestID header",
115 "name" : "X-ECOMP-RequestID",
120 "description" : "X-ECOMP-InstanceID header",
122 "name" : "X-ECOMP-InstanceID",
128 "description" : "Determines the format of the body of the response",
135 "description" : "The username and password",
137 "name" : "Authorization",
146 "application/json" : {
150 "$ref" : "#/components/schemas/ServerListResponse"
155 "description" : "ECOMP component is authenticated and list of Cambria API server’s FQDNs is returned"
158 "description" : "Missing 'X-ECOMP-InstanceID' HTTP header - POL5001"
161 "description" : "ECOMP component should authenticate itself and to re-send again HTTP request with its credentials for Basic Authentication - POL5002"
164 "description" : "ECOMP component is not authorized - POL5003"
167 "description" : "Method Not Allowed: Invalid HTTP method type used ( PUT,DELETE,POST will be rejected) - POL4050"
170 "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"
177 "summary" : "return the available UEB Server List",
178 "tags" : [ "SDCE-6 APIs" ]
181 "/v1/distributionKafkaData":{
183 "description":"Kafka bootstrap server and topic list",
184 "operationId":"getKafkaData",
187 "description":"X-ECOMP-RequestID header",
189 "name":"X-ECOMP-RequestID",
195 "description":"X-ECOMP-InstanceID header",
197 "name":"X-ECOMP-InstanceID",
204 "description":"Determines the format of the body of the response",
212 "description":"The username and password",
214 "name":"Authorization",
228 "$ref":"#/components/schemas/KafkaDataResponse"
233 "description":"ECOMP component is authenticated and kafka endpoint and topic list is returned"
236 "description":"Missing 'X-ECOMP-InstanceID' HTTP header - POL5001"
239 "description":"ECOMP component should authenticate itself and to re-send again HTTP request with its credentials for Basic Authentication - POL5002"
242 "description":"ECOMP component is not authorized - POL5003"
245 "description":"Method Not Allowed: Invalid HTTP method type used ( PUT,DELETE,POST will be rejected) - POL4050"
248 "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"
259 "summary":"return the Kafka bootstrap server and topic list",
265 "/v1/registerForDistribution":{
267 "description":"Subscription status",
268 "operationId":"registerForDistribution",
271 "description":"X-ECOMP-RequestID header",
273 "name":"X-ECOMP-RequestID",
279 "description":"X-ECOMP-InstanceID header",
281 "name":"X-ECOMP-InstanceID",
288 "description":"Determines the format of the body of the response",
296 "description":"Determines the format of the body of the request",
298 "name":"Content-Type",
305 "description":"Length of the request body",
307 "name":"Content-Length",
314 "description":"The username and password",
316 "name":"Authorization",
330 "$ref":"#/components/schemas/TopicRegistrationResponse"
335 "description":"ECOMP component is successfully registered for distribution"
338 "description":"Invalid Body : Specified 'distrEnvName' doesn’t exist - POL4137"
341 "description":"ECOMP component should authenticate itself and to re-send again HTTP request with its Basic Authentication credentials - POL5002"
344 "description":"ECOMP component is not authorized - POL5003"
347 "description":"Method Not Allowed : Invalid HTTP method type used to register for distribution ( PUT,DELETE,GET will be rejected) - POL4050"
350 "description":"The registration failed due to internal SDC problem or Cambria Service failure ECOMP Component should continue the attempts to register for distribution - POL5000"
361 "summary":"Subscribes for distribution notifications",
367 "/v1/unRegisterForDistribution":{
369 "description":"Subscription status",
370 "operationId":"unRegisterForDistribution",
373 "description":"X-ECOMP-RequestID header",
375 "name":"X-ECOMP-RequestID",
381 "description":"X-ECOMP-InstanceID header",
383 "name":"X-ECOMP-InstanceID",
390 "description":"Determines the format of the body of the response",
398 "description":"Determines the format of the body of the request",
400 "name":"Content-Type",
407 "description":"Length of the request body",
409 "name":"Content-Length",
416 "description":"The username and password",
418 "name":"Authorization",
432 "$ref":"#/components/schemas/TopicUnregistrationResponse"
437 "description":"ECOMP component is successfully unregistered"
440 "description":"Invalid Body : Specified 'distrEnvName' doesn’t exist - POL4137"
443 "description":"ECOMP component should authenticate itself and to re-send again HTTP request with its Basic Authentication credentials - POL5002"
446 "description":"ECOMP component is not authorized - POL5003"
449 "description":"Method Not Allowed : Invalid HTTP method type used to register for distribution ( PUT,DELETE,GET will be rejected) - POL4050"
452 "description":"The registration failed due to internal SDC problem or Cambria Service failure ECOMP Component should continue the attempts to register for distribution - POL5000"
463 "summary":"Removes from subscription for distribution notifications",
472 "RegistrationRequest":{
487 "isConsumerToSdcDistrStatusTopic":{
490 "managerApiPublicKey":{
493 "managerApiSecretKey":{
498 "ServerListResponse":{
509 "KafkaDataResponse":{
512 "kafkaBootStrapServer":{
515 "distrNotificationTopicName":{
518 "distrStatusTopicName":{
523 "TopicRegistrationResponse":{
526 "distrNotificationTopicName":{
529 "distrStatusTopicName":{
534 "TopicUnregistrationResponse":{
537 "distrNotificationTopicName":{
540 "distrStatusTopicName":{
543 "notificationUnregisterResult":{
549 "TOPIC_ALREADY_EXIST",
551 "INTERNAL_SERVER_ERROR",
552 "AUTHENTICATION_ERROR",
556 "statusUnregisterResult":{
562 "TOPIC_ALREADY_EXIST",
564 "INTERNAL_SERVER_ERROR",
565 "AUTHENTICATION_ERROR",