.. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 ============ Offered APIs ============ :Date: 2017-12-25 .. contents:: :depth: 3 .. Overview ======== Version information ------------------- *Version* : 1.1.0 URI scheme ---------- *BasePath* : /sdc Tags ---- - Artifact External Servlet - Asset Metadata External Servlet - CRUD External Servlet - Distribution Catalog Servlet - Distribution Servlet Paths ===== Artifact types list ------------------- :: GET /v1/artifactTypes Description ~~~~~~~~~~~ Fetches available artifact types list Parameters ~~~~~~~~~~ +----------+-------------+--------------------------------------+------------------+ | Type | Name | Description | Schema | +==========+=============+======================================+==================+ | **Header | **Accept**\ | The username and password | string | | ** | *required* | | | +----------+-------------+--------------------------------------+------------------+ | **Header | **Authoriza | The username and password | string | | ** | tion**\ *re | | | | | quired* | | | +----------+-------------+--------------------------------------+------------------+ | **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string | | ** | nstanceID** | | | | | \ *required | | | | | * | | | +----------+-------------+--------------------------------------+------------------+ | **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string | | ** | equestID**\ | | | | | *optional* | | | +----------+-------------+--------------------------------------+------------------+ Responses ~~~~~~~~~ +---------+----------------------------------------------------+----------------+ | HTTP | Description | Schema | | Code | | | +=========+====================================================+================+ | **200** | Artifact types list fetched successfully | string | +---------+----------------------------------------------------+----------------+ | **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content | +---------+----------------------------------------------------+----------------+ | **401** | ECOMP component should authenticate itself and to | No Content | | | re-send again HTTP request with its Basic | | | | Authentication credentials - POL5002 | | +---------+----------------------------------------------------+----------------+ | **403** | ECOMP component is not authorized - POL5003 | No Content | +---------+----------------------------------------------------+----------------+ | **405** | Method Not Allowed : Invalid HTTP method type used | No Content | | | to register for distribution ( POST,PUT,DELETE | | | | will be rejected) - POL4050 | | +---------+----------------------------------------------------+----------------+ | **500** | The registration failed due to internal SDC | No Content | | | problem or Cambria Service failure ECOMP Component | | | | should continue the attempts to register for | | | | distribution - POL5000 | | +---------+----------------------------------------------------+----------------+ Consumes ~~~~~~~~ - ``application/json`` Produces ~~~~~~~~ - ``application/json`` Tags ~~~~ - Distribution Servlet Download service artifact ------------------------- :: GET /v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName} Description ~~~~~~~~~~~ Returns downloaded artifact Parameters ~~~~~~~~~~ +----------+-------------+--------------------------------------+------------------+ | Type | Name | Description | Schema | +==========+=============+======================================+==================+ | **Header | **Accept**\ | Determines the format of the body of | string | | ** | *optional* | the response | | +----------+-------------+--------------------------------------+------------------+ | **Header | **Authoriza | The username and password | string | | ** | tion**\ *re | | | | | quired* | |
# ============LICENSE_START==========================================
# ONAP : APPC
# ===================================================================
# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
# ===================================================================
#
# Unless otherwise specified, all software contained herein is licensed
# under the Apache License, Version 2.0 (the License);
# you may not use this software except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END============================================
# Target dirs in all projects
**/target/*
**/target-ide/*
# Generated models and features
**/bin/*
# MANIFEST.MF is updated on every clean install
**/src/main/resources/META-INF/
**/src/main/yang-gen-sal
**/src/main/yang-gen-config
.project
*.prefs
.classpath
**/.classpath
/target/
logs/
debug-logs/
/.settings/
**/*.iml
/.idea/