aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-19 16:23:46 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-19 16:42:06 +0800
commitc8283bc11228d2249919007b819815702fd48e83 (patch)
tree305c1ef963d5df5b1e77abe6bcbcb31e1f0cb1c6
parentaffcd0828f0dd0941ba546aca5bce05e8ee1a598 (diff)
Update parser code
Issue-ID: MODELING-153 Change-Id: Idcdd5f09decbb6a23e96c1191c0f216b672fcf28 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rw-r--r--.gitreview2
-rw-r--r--INFO.yaml173
-rw-r--r--assembly.xml8
-rw-r--r--docker/Dockerfile3
-rw-r--r--docker/build_image.sh1
-rw-r--r--docker/docker-entrypoint.sh9
-rw-r--r--docker/docker-env-conf.sh16
-rw-r--r--docker/instance_config.sh22
-rw-r--r--docker/instance_init.sh6
-rw-r--r--docker/instance_run.sh3
-rw-r--r--genericparser/log.yml2
-rw-r--r--genericparser/pub/msapi/sdc.py4
-rw-r--r--genericparser/swagger/modeling.genericparser.swagger.json2498
-rw-r--r--genericparser/swagger/vfc.catalog.swagger.json793
-rw-r--r--genericparser/swagger/views.py2
-rw-r--r--pom.xml10
-rw-r--r--version.properties2
17 files changed, 2568 insertions, 986 deletions
diff --git a/.gitreview b/.gitreview
index f95f78a..5456d9b 100644
--- a/.gitreview
+++ b/.gitreview
@@ -1,4 +1,4 @@
[gerrit]
host=gerrit.onap.org
port=29418
-project=vfc/nfvo/catalog \ No newline at end of file
+project=modeling/toscaparsers/genericparser \ No newline at end of file
diff --git a/INFO.yaml b/INFO.yaml
index 64e4f42..6654bd7 100644
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -1,154 +1,51 @@
---
-project: 'vfc-nfvo-genericparser'
-project_creation_date: '2016-08-08'
+project: 'modeling-toscaparsers'
+project_creation_date: '2017-07-06'
lifecycle_state: 'Incubation'
project_lead: &onap_releng_ptl
- name: 'Yan Yang'
- email: 'yangyanyj@chinamobile.com'
- id: 'yangyan'
- company: 'China Mobile'
+ name: 'Hui Deng'
+ email: 'denghui12@huawei.com'
+ id: 'denghui02'
+ company: 'Huawei'
timezone: 'Asia/Shanghai'
-project_category: ''
primary_contact: *onap_releng_ptl
issue_tracking:
type: 'jira'
- url: 'https://jira.onap.org/projects/VFC'
- key: 'VFC'
-mailing_list:
- type: 'groups.io'
- url: 'lists.onap.org'
- tag: '<[sub-project_name]>'
-realtime_discussion: ''
+ url: 'https://jira.onap.org/projects/MODELING'
+ key: 'MODELING'
meetings:
- type: 'zoom'
- agenda: 'https://wiki.onap.org/pages/viewpage.action?pageId=6590138'
- url: 'https://wiki.onap.org/display/DW/Virtual+Function+Controller+Project'
- server: 'n/a'
- channel: 'n/a'
- repeats: 'weekly'
- time: '09:00 UTC'
-repositories:
- - 'vfc-gvnfm-vnflcm'
- - 'vfc-gvnfm-vnfmgr'
- - 'vfc-gvnfm-vnfres'
- - 'vfc-nfvo-genericparser'
- - 'vfc-nfvo-db'
- - 'vfc-nfvo-driver-ems'
- - 'vfc-nfvo-driver-sfc'
- - 'vfc-nfvo-driver-vnfm-gvnfm'
- - 'vfc-nfvo-driver-vnfm-svnfm'
- - 'vfc-nfvo-lcm'
- - 'vfc-nfvo-multivimproxy'
- - 'vfc-nfvo-resmanagement'
- - 'vfc-nfvo-wfengine'
- - 'vfc-oom'
+ agenda: 'https://wiki.onap.org/display/DW/Modeling+Project+Meetings'
+ url: 'https://wiki.onap.org/display/DW/Modeling+Project'
+ server: 'n/a'
+ channel: 'n/a'
+ repeats: 'weekly'
+ time: '01:00 UTC'
committers:
- <<: *onap_releng_ptl
- - name: 'Anatoly Andrianov'
- email: 'anatoly.andrianov@nokia.com'
- company: 'Nokia'
- id: 'caa028'
- timezone: 'America/Chicago'
- - name: 'Fu Jinhua'
- email: 'fu.jinhua@zte.com.cn'
- company: 'ZTE'
- id: 'fujinhua'
- timezone: 'Asia/Shanghai'
- - name: 'Victor Gao'
- email: 'victor.gao@huawei.com'
- company: 'Huawei'
- id: 'g310497'
- timezone: 'Asia/Shanghai'
- - name: 'han yanan'
- email: 'hanyanan@raisecom.com'
- company: 'Raisecom'
- id: 'hanyanan'
- timezone: 'Asia/Shanghai'
- - name: 'lu xin'
- email: 'luxin7@huawei.com'
- company: 'Huawei'
- id: 'l345485'
- timezone: 'Asia/Shanghai'
- name: 'maopeng zhang'
- email: 'zhang.maopeng1@zte.com.cn'
- company: 'ZTE'
- id: 'maopengzhang'
- timezone: 'Asia/Shanghai'
- - name: 'Kanagaraj Manickam'
- email: 'kanagaraj.manickam@huawei.com'
- company: 'Huawei'
- id: 'mkr1481'
- timezone: 'Asia/Kolkata'
- - name: 'yunlong ying'
- email: 'ying.yunlong@zte.com.cn'
- company: 'ZTE'
- id: 'ying.yunlong'
- timezone: 'Asia/Shanghai'
- - name: 'Yog Vashishth'
- email: 'yog.vashishth@ril.com'
- company: 'Ril'
- id: 'yogvashishth'
- timezone: 'Asia/Kolkata'
- - name: 'Lingli Deng'
- email: 'denglingli@chinamobile.com'
- company: 'China Mobile'
- id: 'denglingli'
- timezone: 'Asia/Shanghai'
- - name: 'Nagesha Subramanya'
- email: 'nagesha.subramanya@nokia.com'
- company: 'Nokia'
- id: 'hsnagesh'
- timezone: 'Asia/Kolkata'
- - name: 'Xinhui Li'
- email: 'lxinhui@vmware.com'
- company: 'VMWare'
- id: 'xinhuili'
- timezone: 'Asia/Shanghai'
- - name: 'Guirong Wang'
- email: 'wangguirong@boco.com.cn'
- company: 'Boco'
- id: 'Wang_Guirong'
- timezone: 'Asia/Shanghai'
- - name: 'Adityakar Jha'
- email: 'Adityakar.Jha@ril.com'
- company: 'Ril'
- id: 'adityakar.jha'
- timezone: 'Asia/Kolkata'
- - name: 'Hu Dong'
- email: 'donghu@raisecom.com'
- company: 'Raisecom'
- id: 'donghu1102'
- timezone: 'Asia/Shanghai'
- - name: 'Denes Nemeth'
- email: 'denes.nemeth@nokia.com'
- company: 'Nokia'
- id: 'thelittlemouse'
- timezone: 'Europe/Budapest'
- - name: 'Haibin Huang'
- email: 'haibin.huang@intel.com'
- company: 'Intel'
- id: 'haibin'
- timezone: 'Asia/Shanghai'
- - name: 'LiLai'
- email: 'lai.li@zte.com.cn'
- company: 'ZTE'
- id: 'laili'
- timezone: 'Asia/Nanjing'
- - name: 'Bharath Thiruveedula'
- email: 'bharath.thiruveedula@verizon.com'
- company: 'Verizon'
- id: 'bharaththiruveedula'
- timezone: 'Asia/Hyderabad'
- - name: 'Ruoyu Ying'
- email: 'ruoyu.ying@intel.com'
- company: 'Intel'
- id: 'Ruoyu'
- timezone: 'Asia/ShangHai'
-
+ email: 'zhang.maopeng1@zte.com.cn'
+ company: 'ZTE'
+ id: 'maopengzhang'
+ timezone: 'Asia/Shanghai'
+ - name: 'Zhaoxing Meng'
+ email: 'meng.zhaoxing1@zte.com.cn'
+ company: 'ZTE'
+ id: 'Zhaoxing'
+ timezone: 'Asia/Shanghai'
tsc:
approval: 'https://lists.onap.org/pipermail/onap-tsc'
changes:
- type: 'Addition'
- name: 'Denes Nemeth'
- name: 'Haibin Huang'
- link: 'https://lists.onap.org/g/ONAP-TSC/message/3269'
+ name: 'Hui Deng'
+ name: 'Amir Levy'
+ name: 'maopeng zhang'
+ name: 'Rittwik Jana'
+ name: 'Serban Jora'
+ name: 'Zhaoxing Meng'
+ link: 'https://wiki.onap.org/pages/viewpage.action?pageId=28381587'
+ - type: 'Removal'
+ name: 'Amir Levy'
+ name: 'Rittwik Jana'
+ name: 'Serban Jora'
+ link: 'https://wiki.onap.org/display/DW/Zero+commit+removal+Request+and+Seperate+the+committer+for+parsers+repo' \ No newline at end of file
diff --git a/assembly.xml b/assembly.xml
index 5913dab..7b1bd29 100644
--- a/assembly.xml
+++ b/assembly.xml
@@ -16,14 +16,14 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- <id>catalog</id>
+ <id>genericparser</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
- <directory>catalog</directory>
- <outputDirectory>/catalog</outputDirectory>
+ <directory>genericparser</directory>
+ <outputDirectory>/genericparser</outputDirectory>
<includes>
<include>**/*.py</include>
<include>**/*.json</include>
@@ -76,5 +76,5 @@
</includes>
</fileSet>
</fileSets>
- <baseDirectory>vfc/nfvo/catalog</baseDirectory>
+ <baseDirectory>modeling/toscaparsers/genericparser</baseDirectory>
</assembly>
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 8cdea82..e532e82 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -13,5 +13,4 @@ EXPOSE 8806
USER onap
WORKDIR /service
-#ENTRYPOINT vfc/nfvo/genericparser/docker/docker-entrypoint.sh
-ENTRYPOINT modeling/genericparser/docker/docker-entrypoint.sh
+ENTRYPOINT modeling/toscaparsers/genericparser/docker/docker-entrypoint.sh
diff --git a/docker/build_image.sh b/docker/build_image.sh
index d8deaba..66ed5ff 100644
--- a/docker/build_image.sh
+++ b/docker/build_image.sh
@@ -7,7 +7,6 @@ cd ${DOCKER_BUILD_DIR}
BUILD_ARGS="--no-cache"
ORG="onap"
VERSION="1.3.0"
-#PROJECT=" vfc"
PROJECT=" modeling"
IMAGE="genericparser"
DOCKER_REPOSITORY="nexus3.onap.org:10003"
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index debbf44..08cf11c 100644
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -34,15 +34,12 @@ for i in {1..5}; do
done
# Configure service based on docker environment variables
-#vfc/nfvo/genericparser/docker/instance_config.sh
-modeling/genericparser/docker/instance_config.sh
+modeling/toscaparsers/genericparser/docker/instance_config.sh
# microservice-specific one-time initialization
-#vfc/nfvo/genericparser/docker/instance_init.sh
-modeling/genericparser/docker/instance_init.sh
+modeling/toscaparsers/genericparser/docker/instance_init.sh
date > init.log
# Start the microservice
-#vfc/nfvo/genericparser/docker/instance_run.sh
-modeling/genericparser/docker/instance_run.sh
+modeling/toscaparsers/genericparser/docker/instance_run.sh
diff --git a/docker/docker-env-conf.sh b/docker/docker-env-conf.sh
index d94a195..985aada 100644
--- a/docker/docker-env-conf.sh
+++ b/docker/docker-env-conf.sh
@@ -9,16 +9,12 @@ install_sf(){
# get binary zip from nexus - vfc-nfvo-genericparser
-# wget -q -O vfc-nfvo-genericparser.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.genericparser&a=vfc-nfvo-genericparser&v=LATEST&e=zip' && \
-# unzip vfc-nfvo-genericparser.zip && \
-# rm -rf vfc-nfvo-genericparser.zip && \
- wget -q -O vfc-nfvo-genericparser.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.genericparser&a=vfc-nfvo-genericparser&v=LATEST&e=zip' && \
- unzip vfc-nfvo-genericparser.zip && \
- rm -rf vfc-nfvo-genericparser.zip && \
- pip install --upgrade setuptools pip -i https://mirrors.aliyun.com/pypi/simple/ && \
-
-# pip install --no-cache-dir --pre -r /service/vfc/nfvo/genericparser/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
- pip install --no-cache-dir --pre -r /service/modeling/genericparser/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
+ wget -q -O modeling-genericparser.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.modeling.toscaparsers.genericparser&a=modeling-toscaparsers-genericparserr&v=LATEST&e=zip' && \
+ unzip modeling-genericparser.zip && \
+ rm -rf modeling-genericparser.zip && \
+ pip install --upgrade setuptools pip && \
+
+ pip install --no-cache-dir --pre -r /service/modeling/toscaparsers/genericparser/requirements.txt
}
add_user(){
diff --git a/docker/instance_config.sh b/docker/instance_config.sh
index a03c41a..64bc3da 100644
--- a/docker/instance_config.sh
+++ b/docker/instance_config.sh
@@ -5,18 +5,15 @@ MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
# modeling/genericparser
if [ $MSB_IP ]; then
-# sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/genericparser/genericparser/pub/config/config.py
- sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" modeling/genericparser/genericparser/pub/config/config.py
+ sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
fi
if [ $MSB_PORT ]; then
-# sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/genericparser/genericparser/pub/config/config.py
- sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" modeling/genericparser/genericparser/pub/config/config.py
+ sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
fi
if [ $SERVICE_IP ]; then
-# sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/nfvo/genericparser/genericparser/pub/config/config.py
- sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" modeling/genericparser/genericparser/pub/config/config.py
+ sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
fi
MYSQL_IP=`echo $MYSQL_ADDR | cut -d: -f 1`
@@ -29,14 +26,9 @@ else
REDIS_IP="$MYSQL_ADDR"
fi
-#sed -i "s|DB_IP.*|DB_IP = '$MYSQL_IP'|" vfc/nfvo/genericparser/genericparser/pub/config/config.py
-#sed -i "s|DB_PORT.*|DB_PORT = $MYSQL_PORT|" vfc/nfvo/genericparser/genericparser/pub/config/config.py
-#sed -i "s|REDIS_HOST.*|REDIS_HOST = '$REDIS_IP'|" vfc/nfvo/genericparser/genericparser/pub/config/config.py
-#
-#cat vfc/nfvo/genericparser/genericparser/pub/config/config.py
-sed -i "s|DB_IP.*|DB_IP = '$MYSQL_IP'|" modeling/genericparser/genericparser/pub/config/config.py
-sed -i "s|DB_PORT.*|DB_PORT = $MYSQL_PORT|" modeling/genericparser/genericparser/pub/config/config.py
-sed -i "s|REDIS_HOST.*|REDIS_HOST = '$REDIS_IP'|"modeling/genericparser/genericparser/pub/config/config.py
+sed -i "s|DB_IP.*|DB_IP = '$MYSQL_IP'|" modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
+sed -i "s|DB_PORT.*|DB_PORT = $MYSQL_PORT|" modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
+sed -i "s|REDIS_HOST.*|REDIS_HOST = '$REDIS_IP'|"modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
-cat modeling/genericparser/genericparser/pub/config/config.py
+cat modeling/toscaparsers/genericparser/genericparser/pub/config/config.py
diff --git a/docker/instance_init.sh b/docker/instance_init.sh
index 949f51d..ac71b43 100644
--- a/docker/instance_init.sh
+++ b/docker/instance_init.sh
@@ -13,15 +13,13 @@ fi
function create_database {
-# cd /service/vfc/nfvo/genericparser/resources/bin
- cd /service/modeling/genericparser/resources/bin
+ cd /service/modeling/toscaparsers/genericparser/resources/bin
bash initDB.sh $MYSQL_ROOT_USER $MYSQL_ROOT_PASSWORD $MYSQL_PORT $MYSQL_IP
}
function migrate_database {
-# cd /service/vfc/nfvo/genericparser
- cd /service/modeling/genericparser
+ cd /service/modeling/toscaparsers/genericparser
python manage.py migrate
}
diff --git a/docker/instance_run.sh b/docker/instance_run.sh
index aa3e21c..9388135 100644
--- a/docker/instance_run.sh
+++ b/docker/instance_run.sh
@@ -1,7 +1,6 @@
#!/bin/bash
-#cd /service/vfc/nfvo/genericparser
-cd /service/modeling/genericparser
+cd /service/modeling/toscaparsers/genericparser
./run.sh
diff --git a/genericparser/log.yml b/genericparser/log.yml
index 2a7bcfa..1c4cf6c 100644
--- a/genericparser/log.yml
+++ b/genericparser/log.yml
@@ -24,7 +24,7 @@ handlers:
level: "DEBUG"
class:
"logging.handlers.RotatingFileHandler"
- filename: "/var/log/onap/vfc/genericparser/runtime_gengricparser.log"
+ filename: "/var/log/onap/modeling/genericparser/runtime_gengricparser.log"
formatter:
"mdcFormat"
maxBytes: 52428800
diff --git a/genericparser/pub/msapi/sdc.py b/genericparser/pub/msapi/sdc.py
index f7b9271..df5dbf7 100644
--- a/genericparser/pub/msapi/sdc.py
+++ b/genericparser/pub/msapi/sdc.py
@@ -30,7 +30,7 @@ DISTRIBUTED = "DISTRIBUTED"
def call_sdc(resource, method, content=''):
additional_headers = {
- 'X-ECOMP-InstanceID': 'VFC',
+ 'X-ECOMP-InstanceID': 'Modeling',
}
return restcall.call_req(base_url=SDC_BASE_URL,
user=SDC_USER,
@@ -95,7 +95,7 @@ def delete_artifact(asset_type, asset_id, artifact_id):
def download_artifacts(download_url, local_path, file_name):
additional_headers = {
- 'X-ECOMP-InstanceID': 'VFC',
+ 'X-ECOMP-InstanceID': 'Modeling',
'accept': 'application/octet-stream'
}
ret = restcall.call_req(base_url=SDC_BASE_URL,
diff --git a/genericparser/swagger/modeling.genericparser.swagger.json b/genericparser/swagger/modeling.genericparser.swagger.json
new file mode 100644
index 0000000..c14b6ba
--- /dev/null
+++ b/genericparser/swagger/modeling.genericparser.swagger.json
@@ -0,0 +1,2498 @@
+swagger: '2.0'
+info:
+ title: Parser as Microservice API
+ description: "Parser Microservice API"
+ version: v1
+host: '127.0.0.1:8000'
+schemes:
+ - http
+basePath: /
+consumes:
+ - application/json
+produces:
+ - application/json
+securityDefinitions:
+ Basic:
+ type: basic
+security:
+ - Basic: []
+paths:
+ /api/parser/v1/health_check:
+ get:
+ operationId: api_parser_v1_health_check_list
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: Active
+ tags:
+ - api
+ parameters: []
+ /api/parser/v1/parser:
+ post:
+ operationId: api_parser_v1_parser_create
+ description: 'Parse model(NS, Service, VNF, PNF)'
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/parser/v1/parsernsd:
+ post:
+ operationId: api_parser_v1_parsernsd_create
+ description: Parse NS model
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/parser/v1/parserpnfd:
+ post:
+ operationId: api_parser_v1_parserpnfd_create
+ description: Parse PNF model
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/parser/v1/parservnfd:
+ post:
+ operationId: api_parser_v1_parservnfd_create
+ description: Parse NF model
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/parser/v1/service_packages:
+ get:
+ operationId: api_parser_v1_service_packages_list
+ description: Query Service packages
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/ServicePackage'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ post:
+ operationId: api_parser_v1_service_packages_create
+ description: On distribute Service package
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ServicePackageDistributeRequest'
+ responses:
+ '202':
+ description: ''
+ '400':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ '/api/parser/v1/service_packages/{csarId}':
+ get:
+ operationId: api_parser_v1_service_packages_read
+ description: Query one Service package
+ parameters:
+ - name: csarId
+ in: query
+ description: csarId
+ type: string
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/ServicePackage'
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ delete:
+ operationId: api_parser_v1_service_packages_delete
+ description: Delete one Service package
+ parameters:
+ - name: csarId
+ in: query
+ description: csarId
+ type: string
+ responses:
+ '204':
+ description: ''
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters:
+ - name: csarId
+ in: path
+ required: true
+ type: string
+ /api/catalog/v1/health_check:
+ get:
+ operationId: api_catalog_v1_health_check_list
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: Active
+ tags:
+ - api
+ parameters: []
+ '/api/catalog/v1/jobs/{job_id}':
+ get:
+ operationId: api_catalog_v1_jobs_read
+ description: Get job status
+ parameters:
+ - name: job_id
+ in: query
+ description: job id
+ type: string
+ - name: responseId
+ in: query
+ description: response id
+ type: string
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/GetJobResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/PostJobResponseResult'
+ tags:
+ - api
+ post:
+ operationId: api_catalog_v1_jobs_create
+ description: Update job status
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/PostJobRequest'
+ - name: job_id
+ in: query
+ description: job id
+ type: string
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/PostJobResponseResult'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/PostJobResponseResult'
+ tags:
+ - api
+ parameters:
+ - name: job_id
+ in: path
+ required: true
+ type: string
+ '/api/catalog/v1/mandb/{modelName}':
+ get:
+ operationId: api_catalog_v1_mandb_read
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ tags:
+ - api
+ delete:
+ operationId: api_catalog_v1_mandb_delete
+ description: ''
+ parameters: []
+ responses:
+ '204':
+ description: ''
+ tags:
+ - api
+ parameters:
+ - name: modelName
+ in: path
+ required: true
+ type: string
+ /api/catalog/v1/nspackages:
+ get:
+ operationId: api_catalog_v1_nspackages_list
+ description: Query NS packages
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/NsPackage'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ post:
+ operationId: api_catalog_v1_nspackages_create
+ description: On distribute NS package
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/NsPackageDistributeRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsPackageDistributeResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ '/api/catalog/v1/nspackages/{csarId}':
+ get:
+ operationId: api_catalog_v1_nspackages_read
+ description: Query one NS package
+ parameters:
+ - name: csarId
+ in: query
+ description: csarId
+ type: string
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsPackage'
+ '500':
+ description: error message
+ schema:
+ type: string
+ tags:
+ - api
+ delete:
+ operationId: api_catalog_v1_nspackages_delete
+ description: Delete one NS package
+ parameters:
+ - name: csarId
+ in: query
+ description: csarId
+ type: string
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsPackageDistributeResponse'
+ '500':
+ description: error message
+ schema:
+ type: string
+ tags:
+ - api
+ parameters:
+ - name: csarId
+ in: path
+ required: true
+ type: string
+ /api/catalog/v1/parsernsd:
+ post:
+ operationId: api_catalog_v1_parsernsd_create
+ description: Parse NS model
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/catalog/v1/parserpnfd:
+ post:
+ operationId: api_catalog_v1_parserpnfd_create
+ description: Parse PNF model
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/catalog/v1/parservnfd:
+ post:
+ operationId: api_catalog_v1_parservnfd_create
+ description: Parse NF model
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/ParseModelRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/ParseModelResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ /api/catalog/v1/vnfpackages:
+ get:
+ operationId: api_catalog_v1_vnfpackages_list
+ description: Query Nf packages
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/NfPackage'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ post:
+ operationId: api_catalog_v1_vnfpackages_create
+ description: On distribute Nf package
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/NfPackageDistributeRequest'
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/PostJobResponse'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/InternalErrorRequest'
+ tags:
+ - api
+ parameters: []
+ '/api/catalog/v1/vnfpackages/{csarId}':
+ get:
+ operationId: api_catalog_v1_vnfpackages_read
+ description: Query one Nf package
+ parameters:
+ - name: csarId
+ in: query
+ description: csarId
+ type: string
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/NfPackage'
+ '500':
+ description: error message
+ schema:
+ type: string
+ tags:
+ - api
+ delete:
+ operationId: api_catalog_v1_vnfpackages_delete
+ description: Delete one Nf package
+ parameters:
+ - name: csarId
+ in: query
+ description: csarId
+ type: string
+ responses:
+ '202':
+ description: ''
+ schema:
+ $ref: '#/definitions/PostJobResponse'
+ '500':
+ description: error message
+ schema:
+ type: string
+ tags:
+ - api
+ parameters:
+ - name: csarId
+ in: path
+ required: true
+ type: string
+ /api/nsd/v1/health_check:
+ get:
+ operationId: api_nsd_v1_health_check_list
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: Active
+ tags:
+ - api
+ parameters: []
+ /api/nsd/v1/ns_descriptors:
+ get:
+ operationId: api_nsd_v1_ns_descriptors_list
+ description: Query multiple NSDs
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/NsdInfo'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ post:
+ operationId: api_nsd_v1_ns_descriptors_create
+ description: Create a NSD
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/CreateNsdInfoRequest'
+ responses:
+ '201':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsdInfo'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters: []
+ '/api/nsd/v1/ns_descriptors/{nsdInfoId}':
+ get:
+ operationId: api_nsd_v1_ns_descriptors_read
+ description: Query a NSD
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsdInfo'
+ '404':
+ description: NSDs do not exist
+ '500':
+ description: Internal error
+ tags:
+ - api
+ delete:
+ operationId: api_nsd_v1_ns_descriptors_delete
+ description: Delete a NSD
+ parameters: []
+ responses:
+ '204':
+ description: No content
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: nsdInfoId
+ in: path
+ required: true
+ type: string
+ '/api/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content':
+ get:
+ operationId: api_nsd_v1_ns_descriptors_nsd_content_list
+ description: Download NSD content
+ parameters: []
+ responses:
+ '204':
+ description: No content
+ '404':
+ description: NSD does not exist.
+ '500':
+ description: Internal error
+ tags:
+ - api
+ put:
+ operationId: api_nsd_v1_ns_descriptors_nsd_content_update
+ description: Upload NSD content
+ parameters: []
+ responses:
+ '204':
+ description: PNFD file
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: nsdInfoId
+ in: path
+ required: true
+ type: string
+ /api/nsd/v1/pnf_descriptors:
+ get:
+ operationId: api_nsd_v1_pnf_descriptors_list
+ description: Query multiple PNFDs
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/PnfdInfo'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ post:
+ operationId: api_nsd_v1_pnf_descriptors_create
+ description: Create a PNFD
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/CreatePnfdInfoRequest'
+ responses:
+ '201':
+ description: ''
+ schema:
+ $ref: '#/definitions/PnfdInfo'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters: []
+ '/api/nsd/v1/pnf_descriptors/{pnfdInfoId}':
+ get:
+ operationId: api_nsd_v1_pnf_descriptors_read
+ description: Query a PNFD
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/PnfdInfo'
+ '404':
+ description: PNFD does not exist
+ '500':
+ description: Internal error
+ tags:
+ - api
+ delete:
+ operationId: api_nsd_v1_pnf_descriptors_delete
+ description: Delete a PNFD
+ parameters: []
+ responses:
+ '204':
+ description: No content
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: pnfdInfoId
+ in: path
+ required: true
+ type: string
+ '/api/nsd/v1/pnf_descriptors/{pnfdInfoId}/pnfd_content':
+ get:
+ operationId: api_nsd_v1_pnf_descriptors_pnfd_content_list
+ description: Fetch PNFD content
+ parameters: []
+ responses:
+ '204':
+ description: PNFD file
+ '404':
+ description: PNFD does not exist
+ '500':
+ description: Internal error
+ tags:
+ - api
+ put:
+ operationId: api_nsd_v1_pnf_descriptors_pnfd_content_update
+ description: Upload PNFD content
+ parameters: []
+ responses:
+ '204':
+ description: No content
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: pnfdInfoId
+ in: path
+ required: true
+ type: string
+ /api/nsd/v1/subscriptions:
+ get:
+ operationId: api_nsd_v1_subscriptions_list
+ description: Query subscriptions for Nsd Management
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/NsdmSubscription'
+ '400':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ post:
+ operationId: api_nsd_v1_subscriptions_create
+ description: Create Subscription for NSD Management
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/NsdmSubscriptionRequest'
+ responses:
+ '201':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsdmSubscription'
+ '303':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '400':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ parameters: []
+ '/api/nsd/v1/subscriptions/{subscriptionId}':
+ get:
+ operationId: api_nsd_v1_subscriptions_read
+ description: Query subscriptions for Nsd Management
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/NsdmSubscription'
+ '400':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ delete:
+ operationId: api_nsd_v1_subscriptions_delete
+ description: Delete subscription for Nsd Management
+ parameters: []
+ responses:
+ '204':
+ description: No_Content
+ '400':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ parameters:
+ - name: subscriptionId
+ in: path
+ required: true
+ type: string
+
+ /api/vnfpkgm/v1/health_check:
+ get:
+ operationId: api_vnfpkgm_v1_health_check_list
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: Active
+ tags:
+ - api
+ parameters: []
+ /api/vnfpkgm/v1/subscriptions:
+ get:
+ operationId: api_vnfpkgm_v1_subscriptions_list
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/PkgmSubscription'
+ '400':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ post:
+ operationId: api_vnfpkgm_v1_subscriptions_create
+ description: ''
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/PkgmSubscriptionRequest'
+ responses:
+ '201':
+ description: ''
+ schema:
+ $ref: '#/definitions/PkgmSubscription'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters: []
+ '/api/vnfpkgm/v1/subscriptions/{subscriptionId}':
+ get:
+ operationId: api_vnfpkgm_v1_subscriptions_read
+ description: ''
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/PkgmSubscription'
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ delete:
+ operationId: api_vnfpkgm_v1_subscriptions_delete
+ description: ''
+ parameters: []
+ responses:
+ '204':
+ description: ''
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ parameters:
+ - name: subscriptionId
+ in: path
+ required: true
+ type: string
+ /api/vnfpkgm/v1/vnf_packages:
+ get:
+ operationId: api_vnfpkgm_v1_vnf_packages_list
+ description: Query multiple VNF package resource
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/VnfPkgInfo'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ post:
+ operationId: api_vnfpkgm_v1_vnf_packages_create
+ description: Create an individual VNF package resource
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/CreateVnfPkgInfoRequest'
+ responses:
+ '201':
+ description: ''
+ schema:
+ $ref: '#/definitions/VnfPkgInfo'
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters: []
+ '/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}':
+ get:
+ operationId: api_vnfpkgm_v1_vnf_packages_read
+ description: Query an individual VNF package resource
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ $ref: '#/definitions/VnfPkgInfo'
+ '404':
+ description: VNF package does not exist
+ '500':
+ description: Internal error
+ tags:
+ - api
+ delete:
+ operationId: api_vnfpkgm_v1_vnf_packages_delete
+ description: Delete an individual VNF package resource
+ parameters: []
+ responses:
+ '204':
+ description: No content
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: vnfPkgId
+ in: path
+ required: true
+ type: string
+ '/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/artifacts/{artifactPath}':
+ get:
+ operationId: api_vnfpkgm_v1_vnf_packages_artifacts_read
+ description: ''
+ parameters: []
+ responses:
+ '404':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ '500':
+ description: ''
+ schema:
+ $ref: '#/definitions/SUBSCRIPTION_ProblemDetailsSerializer'
+ tags:
+ - api
+ parameters:
+ - name: artifactPath
+ in: path
+ required: true
+ type: string
+ - name: vnfPkgId
+ in: path
+ required: true
+ type: string
+ '/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content':
+ get:
+ operationId: api_vnfpkgm_v1_vnf_packages_package_content_list
+ description: Fetch VNF package content
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/VnfPkgInfo'
+ '404':
+ description: VNF package does not exist
+ '500':
+ description: Internal error
+ tags:
+ - api
+ put:
+ operationId: api_vnfpkgm_v1_vnf_packages_package_content_update
+ description: Upload VNF package content
+ parameters: []
+ responses:
+ '202':
+ description: Successfully
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: vnfPkgId
+ in: path
+ required: true
+ type: string
+ '/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/upload_from_uri':
+ post:
+ operationId: api_vnfpkgm_v1_vnf_packages_package_content_upload_from_uri_create
+ description: Upload VNF package content from uri
+ parameters:
+ - name: data
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/UploadVnfPackageFromUriRequest'
+ responses:
+ '202':
+ description: Successfully
+ '500':
+ description: Internal error
+ tags:
+ - api
+ parameters:
+ - name: vnfPkgId
+ in: path
+ required: true
+ type: string
+ /samples/:
+ get:
+ operationId: samples_list
+ description: List all samples.
+ parameters: []
+ responses:
+ '200':
+ description: ''
+ tags:
+ - samples
+ parameters: []
+definitions:
+ JobResponseHistoryList:
+ description: Response History List
+ type: object
+ properties:
+ status:
+ title: Status
+ description: Status
+ type: string
+ minLength: 1
+ progress:
+ title: Progress
+ description: Job Progress
+ type: string
+ minLength: 1
+ statusDescription:
+ title: Statusdescription
+ description: Status Description
+ type: string
+ minLength: 1
+ errorCode:
+ title: Errorcode
+ description: Error Code
+ type: string
+ minLength: 1
+ x-nullable: true
+ responseId:
+ title: Responseid
+ description: Response Id
+ type: string
+ minLength: 1
+ JobResponseDescriptor:
+ title: Responsedescriptor
+ description: Job Response Descriptor
+ type: object
+ properties:
+ status:
+ title: Status
+ description: Status
+ type: string
+ minLength: 1
+ progress:
+ title: Progress
+ description: Job Progress
+ type: string
+ minLength: 1
+ statusDescription:
+ title: Statusdescription
+ description: Status Description
+ type: string
+ minLength: 1
+ errorCode:
+ title: Errorcode
+ description: Error Code
+ type: string
+ minLength: 1
+ x-nullable: true
+ responseId:
+ title: Responseid
+ description: Response Id
+ type: string
+ minLength: 1
+ responseHistoryList:
+ description: Response History List
+ type: array
+ items:
+ $ref: '#/definitions/JobResponseHistoryList'
+ GetJobResponse:
+ type: object
+ properties:
+ jobId:
+ title: Jobid
+ description: Job Id
+ type: string
+ minLength: 1
+ responseDescriptor:
+ $ref: '#/definitions/JobResponseDescriptor'
+ PostJobResponseResult:
+ required:
+ - result
+ type: object
+ properties:
+ result:
+ title: Result
+ description: Result
+ type: string
+ minLength: 1
+ msg:
+ title: Msg
+ description: Message
+ type: string
+ minLength: 1
+ PostJobRequest:
+ type: object
+ properties:
+ progress:
+ title: Progress
+ description: Job Progress
+ type: string
+ minLength: 1
+ desc:
+ title: Desc
+ description: Description
+ type: string
+ minLength: 1
+ errcode:
+ title: Errcode
+ description: Error Code
+ type: string
+ minLength: 1
+ NsPackageInfo:
+ title: Packageinfo
+ description: NS Package Info
+ type: object
+ properties:
+ nsdId:
+ title: Nsdid
+ description: NSD ID
+ type: string
+ minLength: 1
+ x-nullable: true
+ nsPackageId:
+ title: Nspackageid
+ description: NS Package ID
+ type: string
+ x-nullable: true
+ nsdProvider:
+ title: Nsdprovider
+ description: NSD Provider
+ type: string
+ x-nullable: true
+ nsdVersion:
+ title: Nsdversion
+ description: NSD Version
+ type: string
+ x-nullable: true
+ csarName:
+ title: Csarname
+ description: CSAR name
+ type: string
+ x-nullable: true
+ nsdModel:
+ title: Nsdmodel
+ description: NSD Model
+ type: string
+ x-nullable: true
+ downloadUrl:
+ title: Downloadurl
+ description: URL to download NSD Model
+ type: string
+ minLength: 1
+ x-nullable: true
+ x-nullable: true
+ NsPackage:
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: CSAR ID
+ type: string
+ minLength: 1
+ x-nullable: true
+ packageInfo:
+ $ref: '#/definitions/NsPackageInfo'
+ InternalErrorRequest:
+ required:
+ - error
+ type: object
+ properties:
+ error:
+ title: Error
+ description: Error
+ type: string
+ minLength: 1
+ errorMessage:
+ title: Errormessage
+ description: Error Message
+ type: string
+ minLength: 1
+ NsPackageDistributeRequest:
+ required:
+ - csarId
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: csarId
+ type: string
+ minLength: 1
+ NsPackageDistributeResponse:
+ required:
+ - status
+ - statusDescription
+ - errorCode
+ type: object
+ properties:
+ status:
+ title: Status
+ description: status
+ type: string
+ minLength: 1
+ statusDescription:
+ title: Statusdescription
+ description: statusDescription
+ type: string
+ minLength: 1
+ errorCode:
+ title: Errorcode
+ description: errorCode
+ type: string
+ minLength: 1
+ ParseModelRequest:
+ required:
+ - csarId
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: CSAR ID
+ type: string
+ minLength: 1
+ packageType:
+ title: Packagetype
+ description: 'Package type: VNF, PNF, NS, Service'
+ type: string
+ minLength: 1
+ inputs:
+ title: Inputs
+ description: Inputs
+ type: string
+ ParseModelResponse:
+ required:
+ - model
+ type: object
+ properties:
+ model:
+ title: Model
+ description: Model
+ type: string
+ NfPackageInfo:
+ title: Packageinfo
+ description: VNF Package Info
+ required:
+ - vnfPackageId
+ type: object
+ properties:
+ vnfdId:
+ title: Vnfdid
+ description: VNFD ID
+ type: string
+ x-nullable: true
+ vnfPackageId:
+ title: Vnfpackageid
+ description: VNF Package ID
+ type: string
+ minLength: 1
+ vnfdProvider:
+ title: Vnfdprovider
+ description: VNFD Provider
+ type: string
+ x-nullable: true
+ vnfdVersion:
+ title: Vnfdversion
+ description: VNFD Version
+ type: string
+ x-nullable: true
+ vnfVersion:
+ title: Vnfversion
+ description: VNF Version
+ type: string
+ x-nullable: true
+ csarName:
+ title: Csarname
+ description: CSAR Name
+ type: string
+ x-nullable: true
+ vnfdModel:
+ title: Vnfdmodel
+ description: VNFD Model
+ type: string
+ x-nullable: true
+ downloadUrl:
+ title: Downloadurl
+ description: URL to download VNFD Model
+ type: string
+ x-nullable: true
+ NfImageInfo:
+ description: Image Info
+ required:
+ - index
+ - fileName
+ - imageId
+ - vimId
+ - vimUser
+ - tenant
+ - status
+ type: object
+ properties:
+ index:
+ title: Index
+ description: Index of VNF Image
+ type: string
+ minLength: 1
+ fileName:
+ title: Filename
+ description: Image file name
+ type: string
+ minLength: 1
+ imageId:
+ title: Imageid
+ description: Image ID
+ type: string
+ minLength: 1
+ vimId:
+ title: Vimid
+ description: VIM ID
+ type: string
+ minLength: 1
+ vimUser:
+ title: Vimuser
+ description: User of VIM
+ type: string
+ minLength: 1
+ tenant:
+ title: Tenant
+ description: Tenant
+ type: string
+ minLength: 1
+ status:
+ title: Status
+ description: Status
+ type: string
+ minLength: 1
+ NfPackage:
+ required:
+ - csarId
+ - packageInfo
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: CSAR ID
+ type: string
+ minLength: 1
+ packageInfo:
+ $ref: '#/definitions/NfPackageInfo'
+ imageInfo:
+ description: Image Info
+ type: array
+ items:
+ $ref: '#/definitions/NfImageInfo'
+ x-nullable: true
+ NfPackageDistributeRequest:
+ required:
+ - csarId
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: CSAR ID
+ type: string
+ minLength: 1
+ vimIds:
+ description: A string for vimIds
+ type: array
+ items:
+ type: string
+ minLength: 1
+ labVimId:
+ title: Labvimid
+ description: A list of VIM IDs.
+ type: string
+ PostJobResponse:
+ required:
+ - jobId
+ type: object
+ properties:
+ jobId:
+ title: Jobid
+ description: jobId
+ type: string
+ minLength: 1
+ ProblemDetails:
+ title: Onboardingfailuredetails
+ description: Failure details of current onboarding procedure.It shall be present when the nsdOnboardingState attribute is CREATED and the uploading or processing fails in NFVO.
+ required:
+ - title
+ - detail
+ type: object
+ properties:
+ type:
+ title: Type
+ description: 'A URI reference according to IETF RFC 3986 [10] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be "about:blank".'
+ type: string
+ x-nullable: true
+ title:
+ title: Title
+ description: The HTTP status code for this occurrence of the problem.
+ type: integer
+ detail:
+ title: Detail
+ description: A human-readable explanation specific to this occurrence of the problem.
+ type: string
+ minLength: 1
+ instance:
+ title: Instance
+ description: A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.
+ type: string
+ x-nullable: true
+ additional_attributes:
+ title: Additional attributes
+ description: 'Any number of additional attributes, as defined in a specification or by an implementation.'
+ type: object
+ additionalProperties:
+ description: Additional attribute
+ type: string
+ x-nullable: true
+ Link:
+ title: Self
+ description: URI of this resource.
+ required:
+ - href
+ type: object
+ properties:
+ href:
+ title: Href
+ description: URI of the referenced resource
+ type: string
+ minLength: 1
+ NSD_LinkSerializer:
+ title: ' links'
+ description: Links to resources related to this resource.
+ required:
+ - self
+ - nsd_content
+ type: object
+ properties:
+ self:
+ $ref: '#/definitions/Link'
+ nsd_content:
+ $ref: '#/definitions/Link'
+ NsdInfo:
+ required:
+ - id
+ - nsdOnboardingState
+ - nsdOperationalState
+ - nsdUsageState
+ - _links
+ type: object
+ properties:
+ id:
+ title: Id
+ description: Identifier of the onboarded individual NS descriptor resource.This identifier is allocated by the NFVO.
+ type: string
+ minLength: 1
+ nsdId:
+ title: Nsdid
+ description: 'This identifier, which is allocated by the NSD designer,identifies the NSD in a globally unique way.It is copied from the NSD content and shall be present after the NSD content is on-boarded.'
+ type: string
+ x-nullable: true
+ nsdName:
+ title: Nsdname
+ description: Name of the onboarded NSD.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.
+ type: string
+ x-nullable: true
+ nsdVersion:
+ title: Nsdversion
+ description: Version of the on-boarded NSD.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.
+ type: string
+ x-nullable: true
+ nsdDesigner:
+ title: Nsddesigner
+ description: Designer of the on-boarded NSD.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.
+ type: string
+ x-nullable: true
+ nsdInvariantId:
+ title: Nsdinvariantid
+ description: 'This identifier, which is allocated by the NSD designer,identifies an NSD in a version independent manner.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.'
+ type: string
+ x-nullable: true
+ vnfPkgIds:
+ description: Identifies the VNF package for the VNFD referenced by the on-boarded NS descriptor resource.
+ type: array
+ items:
+ description: Identifier of the VNF package
+ type: string
+ x-nullable: true
+ pnfdInfoIds:
+ description: Identifies the PnfdInfo element for the PNFD referenced by the on-boarded NS descriptor resource.
+ type: array
+ items:
+ description: Identifier of the PnfdInfo element
+ type: string
+ x-nullable: true
+ nestedNsdInfoIds:
+ description: Identifies the NsdInfo element for the nested NSD referenced by the on-boarded NS descriptor resource.
+ type: array
+ items:
+ description: Identifier of the NsdInfo element
+ type: string
+ x-nullable: true
+ nsdOnboardingState:
+ title: Nsdonboardingstate
+ description: Onboarding state of the individual NS descriptor resource.
+ type: string
+ enum:
+ - CREATED
+ - UPLOADING
+ - PROCESSING
+ - ONBOARDED
+ onboardingFailureDetails:
+ $ref: '#/definitions/ProblemDetails'
+ nsdOperationalState:
+ title: Nsdoperationalstate
+ description: Operational state of the individual NS descriptor resource.This attribute can be modified with the PATCH method.
+ type: string
+ enum:
+ - ENABLED
+ - DISABLED
+ nsdUsageState:
+ title: Nsdusagestate
+ description: Usage state of the individual NS descriptor resource.
+ type: string
+ enum:
+ - IN_USE
+ - NOT_IN_USE
+ userDefinedData:
+ title: Userdefineddata
+ description: User defined data for the individual NS descriptor resource.This attribute can be modified with the PATCH method.
+ type: object
+ additionalProperties:
+ description: Key Value Pairs
+ type: string
+ x-nullable: true
+ _links:
+ $ref: '#/definitions/NSD_LinkSerializer'
+ CreateNsdInfoRequest:
+ type: object
+ properties:
+ userDefinedData:
+ title: Userdefineddata
+ description: User-defined data for the NS descriptor resource to be created.It shall be present when the user defined data is set for the individual NS descriptor resource to be created.
+ type: object
+ additionalProperties:
+ description: Key Value Pairs
+ type: string
+ x-nullable: true
+ _Link:
+ title: ' links'
+ description: Links to resources related to this resource.
+ required:
+ - self
+ - pnfd_content
+ type: object
+ properties:
+ self:
+ $ref: '#/definitions/Link'
+ pnfd_content:
+ $ref: '#/definitions/Link'
+ PnfdInfo:
+ required:
+ - id
+ - pnfdOnboardingState
+ - pnfdUsageState
+ - _links
+ type: object
+ properties:
+ id:
+ title: Id
+ description: Identifier of the onboarded individual PNF descriptor resource. This identifier is allocated by the NFVO.
+ type: string
+ minLength: 1
+ pnfdId:
+ title: Pnfdid
+ description: 'This identifier, which is allocated by the PNFD designer, identifies the PNFD in a globally unique way. It is copied from the PNFD content and shall be present after the PNFD content is on-boarded.'
+ type: string
+ x-nullable: true
+ pnfdName:
+ title: Pnfdname
+ description: Name of the onboarded PNFD. This information is copied from the PNFD content and shall be present after the PNFD content is on-boarded.
+ type: string
+ x-nullable: true
+ pnfdVersion:
+ title: Pnfdversion
+ description: Version of the on-boarded PNFD. This information is copied from the PNFD content and shall be present after the PNFD content is on-boarded.
+ type: string
+ x-nullable: true
+ pnfdProvider:
+ title: Pnfdprovider
+ description: Provider of the on-boarded PNFD. This information is copied from the PNFD content and shall be present after the PNFD content is on-boarded.
+ type: string
+ x-nullable: true
+ pnfdInvariantId:
+ title: Pnfdinvariantid
+ description: Identifies a PNFD in a version independent manner. This attribute is invariant across versions of PNFD.
+ type: string
+ x-nullable: true
+ pnfdOnboardingState:
+ title: Pnfdonboardingstate
+ description: Onboarding state of the individual PNF descriptor resource.
+ type: string
+ enum:
+ - CREATED
+ - UPLOADING
+ - PROCESSING
+ - ONBOARDED
+ onboardingFailureDetails:
+ $ref: '#/definitions/ProblemDetails'
+ pnfdUsageState:
+ title: Pnfdusagestate
+ description: Usage state of the individual PNF descriptor resource.
+ type: string
+ enum:
+ - IN_USE
+ - NOT_IN_USE
+ userDefinedData:
+ title: Userdefineddata
+ description: User defined data for the individual PNF descriptor resource. This attribute can be modified with the PATCH method.
+ type: object
+ additionalProperties:
+ description: Key Value Pairs
+ type: string
+ x-nullable: true
+ _links:
+ $ref: '#/definitions/_Link'
+ CreatePnfdInfoRequest:
+ type: object
+ properties:
+ userDefinedData:
+ title: Userdefineddata
+ description: User-defined data for the PNF descriptor resource to be created.It shall be present when the user defined data is set for the individual PNF descriptor resource to be created.
+ type: object
+ additionalProperties:
+ description: Key Value Pairs
+ type: string
+ x-nullable: true
+ NsdmNotificationsFilter:
+ title: Filter
+ description: 'Filter settings for this subscription, to define the of all notifications this subscription relates to.'
+ type: object
+ properties:
+ notificationTypes:
+ description: Match particular notification types
+ type: array
+ items:
+ type: string
+ enum:
+ - NsdOnBoardingNotification
+ - NsdOnboardingFailureNotification
+ - NsdChangeNotification
+ - NsdDeletionNotification
+ - PnfdOnBoardingNotification
+ - PnfdOnBoardingFailureNotification
+ - PnfdDeletionNotification
+ nsdInfoId:
+ description: Match NS packages with particular nsdInfoIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ nsdId:
+ description: Match NS Packages with particular nsdIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ nsdName:
+ description: Match NS Packages with particular nsdNames
+ type: array
+ items:
+ type: string
+ maxLength: 255
+ minLength: 1
+ nsdVersion:
+ description: match NS packages that belong to certain nsdversion
+ type: array
+ items:
+ type: string
+ maxLength: 255
+ minLength: 1
+ nsdInvariantId:
+ description: Match NS Packages with particular nsdInvariantIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ vnfPkgIds:
+ description: Match NS Packages that has VNF PackageIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ nestedNsdInfoIds:
+ description: Match NS Packages with particular nsdInvariantIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ nsdOnboardingState:
+ description: Match NS Packages with particular NS Onboarding State
+ type: array
+ items:
+ type: string
+ enum:
+ - CREATED
+ - UPLOADING
+ - PROCESSING
+ - ONBOARDED
+ nsdOperationalState:
+ description: Match NS Packages with particular NS Operational State
+ type: array
+ items:
+ type: string
+ enum:
+ - ENABLED
+ - DISABLED
+ nsdUsageState:
+ description: Match NS Packages with particular NS Usage State
+ type: array
+ items:
+ type: string
+ enum:
+ - IN_USE
+ - NOT_IN_USE
+ pnfdInfoIds:
+ description: Match PF packages with particular pnfdInfoIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ pnfdId:
+ description: Match PF packages with particular pnfdInfoIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ pnfdName:
+ description: Match PF Packages with particular pnfdNames
+ type: array
+ items:
+ type: string
+ maxLength: 255
+ minLength: 1
+ pnfdVersion:
+ description: match PF packages that belong to certain pnfd version
+ type: array
+ items:
+ type: string
+ maxLength: 255
+ minLength: 1
+ pnfdProvider:
+ description: Match PF Packages with particular pnfdProvider
+ type: array
+ items:
+ type: string
+ maxLength: 255
+ minLength: 1
+ pnfdInvariantId:
+ description: Match PF Packages with particular pnfdInvariantIds
+ type: array
+ items:
+ type: string
+ format: uuid
+ pnfdOnboardingState:
+ description: 'Match PF Packages with particular PNF Onboarding State '
+ type: array
+ items:
+ type: string
+ enum:
+ - CREATED
+ - UPLOADING
+ - PROCESSING
+ - ONBOARDED
+ pnfdUsageState:
+ description: Match PF Packages with particular PNF usage State
+ type: array
+ items:
+ type: string
+ enum:
+ - IN_USE
+ - NOT_IN_USE
+ NsdmSubscriptionLink:
+ title: ' links'
+ description: Links to resources related to this resource.
+ required:
+ - self
+ type: object
+ properties:
+ self:
+ $ref: '#/definitions/Link'
+ NsdmSubscription:
+ required:
+ - id
+ - callbackUri
+ - _links
+ type: object
+ properties:
+ id:
+ title: Id
+ description: Identifier of this subscription resource.
+ type: string
+ maxLength: 255
+ minLength: 1
+ callbackUri:
+ title: Callbackuri
+ description: The URI of the endpoint to send the notification to.
+ type: string
+ maxLength: 255
+ minLength: 1
+ filter:
+ $ref: '#/definitions/NsdmNotificationsFilter'
+ _links:
+ $ref: '#/definitions/NsdmSubscriptionLink'
+ SUBSCRIPTION_ProblemDetailsSerializer:
+ required:
+ - status
+ - detail
+ type: object
+ properties:
+ type:
+ title: Type
+ description: Type
+ type: string
+ minLength: 1
+ x-nullable: true
+ title:
+ title: Title
+ description: Title
+ type: string
+ minLength: 1
+ x-nullable: true
+ status:
+ title: Status
+ description: Status
+ type: integer
+ detail:
+ title: Detail
+ description: Detail
+ type: string
+ minLength: 1
+ instance:
+ title: Instance
+ description: Instance
+ type: string
+ minLength: 1
+ x-nullable: true
+ additional_details:
+ description: 'Any number of additional attributes, as defined in a specification or by an implementation.'
+ type: array
+ items:
+ type: string
+ x-nullable: true
+ BasicAuth:
+ title: Paramsbasic
+ description: Parameters for authentication/authorization using BASIC.
+ type: object
+ properties:
+ userName:
+ title: Username
+ description: Username to be used in HTTP Basic authentication.
+ type: string
+ maxLength: 255
+ minLength: 1
+ password:
+ title: Password
+ description: Password to be used in HTTP Basic authentication.
+ type: string
+ maxLength: 255
+ minLength: 1
+ OAuthCredentials:
+ title: Paramsoauth2clientcredentials
+ description: Parameters for authentication/authorization using OAUTH2_CLIENT_CREDENTIALS.
+ type: object
+ properties:
+ clientId:
+ title: Clientid
+ description: Client identifier to be used in the access token request of the OAuth 2.0 client credentials grant type.
+ type: string
+ maxLength: 255
+ minLength: 1
+ clientPassword:
+ title: Clientpassword
+ description: Client password to be used in the access token request of the OAuth 2.0 client credentials grant type.
+ type: string
+ maxLength: 255
+ minLength: 1
+ tokenEndpoint:
+ title: Tokenendpoint
+ description: The token endpoint from which the access token can be obtained.
+ type: string
+ maxLength: 255
+ minLength: 1
+ SubscriptionAuthentication:
+ title: Authentication
+ description: Authentication parameters to configure the use of Authorization when sending notifications corresponding to this subscription.
+ required:
+ - authType
+ type: object
+ properties:
+ authType:
+ description: Defines the types of Authentication / Authorization which the API consumer is willing to accept when receiving a notification.
+ type: array
+ items:
+ type: string
+ enum:
+ - BASIC
+ - OAUTH2_CLIENT_CREDENTIALS
+ - TLS_CERT
+ paramsBasic:
+ $ref: '#/definitions/BasicAuth'
+ paramsOauth2ClientCredentials:
+ $ref: '#/definitions/OAuthCredentials'
+ NsdmSubscriptionRequest:
+ required:
+ - callbackUri
+ type: object
+ properties:
+ callbackUri:
+ title: Callbackuri
+ description: The URI of the endpoint to send the notification to.
+ type: string
+ minLength: 1
+ filter:
+ $ref: '#/definitions/NsdmNotificationsFilter'
+ authentication:
+ $ref: '#/definitions/SubscriptionAuthentication'
+ ServicePackageInfo:
+ title: Packageinfo
+ description: Service Package Info
+ type: object
+ properties:
+ servicedId:
+ title: Servicedid
+ description: ServiceD ID
+ type: string
+ minLength: 1
+ x-nullable: true
+ servicePackageId:
+ title: Servicepackageid
+ description: Service Package ID
+ type: string
+ x-nullable: true
+ servicedProvider:
+ title: Servicedprovider
+ description: ServiceD Provider
+ type: string
+ x-nullable: true
+ servicedVersion:
+ title: Servicedversion
+ description: ServiceD Version
+ type: string
+ x-nullable: true
+ csarName:
+ title: Csarname
+ description: CSAR name
+ type: string
+ x-nullable: true
+ servicedModel:
+ title: Servicedmodel
+ description: ServiceD Model
+ type: string
+ x-nullable: true
+ downloadUrl:
+ title: Downloadurl
+ description: URL to download ServiceD Model
+ type: string
+ minLength: 1
+ x-nullable: true
+ x-nullable: true
+ ServicePackage:
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: CSAR ID
+ type: string
+ minLength: 1
+ x-nullable: true
+ packageInfo:
+ $ref: '#/definitions/ServicePackageInfo'
+ ServicePackageDistributeRequest:
+ required:
+ - csarId
+ type: object
+ properties:
+ csarId:
+ title: Csarid
+ description: csarId
+ type: string
+ minLength: 1
+ VNF_SUBSCRIPTION_LINKSERIALIZER:
+ title: Self
+ description: URI of this resource.
+ required:
+ - href
+ type: object
+ properties:
+ href:
+ title: Href
+ description: URI of the referenced resource.
+ type: string
+ minLength: 1
+ LinkSelf:
+ title: ' links'
+ description: Links to resources related to this resource.
+ required:
+ - self
+ type: object
+ properties:
+ self:
+ $ref: '#/definitions/VNF_SUBSCRIPTION_LINKSERIALIZER'
+ Version:
+ title: Versions
+ description: match VNF packages that contain VNF products with certain versions
+ required:
+ - vnfSoftwareVersion
+ type: object
+ properties:
+ vnfSoftwareVersion:
+ title: Vnfsoftwareversion
+ description: VNF software version to match.
+ type: string
+ maxLength: 255
+ minLength: 1
+ vnfdVersions:
+ description: Match VNF packages that contain VNF products with certain VNFD versions
+ type: array
+ items:
+ type: string
+ minLength: 1
+ vnfProducts:
+ title: Vnfproducts
+ description: 'match VNF packages that contain VNF products with certain product names, from one particular provider'
+ required:
+ - vnfProductName
+ type: object
+ properties:
+ vnfProductName:
+ title: Vnfproductname
+ description: Name of the VNF product to match.
+ type: string
+ maxLength: 255
+ minLength: 1
+ versions:
+ $ref: '#/definitions/Version'
+ vnfProductsProviders:
+ title: Vnfproductsfromproviders
+ description: Match VNF packages that contain VNF products from certain providers.
+ required:
+ - vnfProvider
+ type: object
+ properties:
+ vnfProvider:
+ title: Vnfprovider
+ description: Name of the VNFprovider to match.
+ type: string
+ maxLength: 255
+ minLength: 1
+ vnfProducts:
+ $ref: '#/definitions/vnfProducts'
+ PkgmNotificationsFilter:
+ title: Filter
+ description: 'Filter settings for this subscription, to define the subset of all notifications this subscription relates to'
+ type: object
+ properties:
+ notificationTypes:
+ description: Match particular notification types
+ type: array
+ items:
+ type: string
+ enum:
+ - VnfPackageOnboardingNotification
+ - VnfPackageChangeNotification
+ vnfProductsFromProviders:
+ $ref: '#/definitions/vnfProductsProviders'
+ vnfdId:
+ description: Match VNF packages with a VNFD identifierlisted in the attribute
+ type: array
+ items:
+ type: string
+ format: uuid
+ vnfPkgId:
+ description: Match VNF packages with a VNFD identifierlisted in the attribute
+ type: array
+ items:
+ type: string
+ format: uuid
+ operationalState:
+ description: Operational state of the VNF package.
+ type: array
+ items:
+ type: string
+ enum:
+ - ENABLED
+ - DISABLED
+ usageState:
+ description: Operational state of the VNF package.
+ type: array
+ items:
+ type: string
+ enum:
+ - IN_USE
+ - NOT_IN_USE
+ PkgmSubscription:
+ required:
+ - id
+ - callbackUri
+ - _links
+ type: object
+ properties:
+ id:
+ title: Id
+ description: Identifier of this subscription resource.
+ type: string
+ format: uuid
+ callbackUri:
+ title: Callbackuri
+ description: The URI of the endpoint to send the notification to.
+ type: string
+ format: uri
+ minLength: 1
+ _links:
+ $ref: '#/definitions/LinkSelf'
+ filter:
+ $ref: '#/definitions/PkgmNotificationsFilter'
+ PkgmSubscriptionRequest:
+ required:
+ - callbackUri
+ type: object
+ properties:
+ filters:
+ $ref: '#/definitions/PkgmNotificationsFilter'
+ callbackUri:
+ title: Callbackuri
+ description: Callback URI to sendthe notification
+ type: string
+ format: uri
+ minLength: 1
+ authentication:
+ $ref: '#/definitions/SubscriptionAuthentication'
+ Checksum:
+ title: Checksum
+ description: Checksum of the on-boarded VNF package.
+ required:
+ - algorithm
+ - hash
+ type: object
+ properties:
+ algorithm:
+ title: Algorithm
+ description: Name of the algorithm used to generate the checksum.
+ type: string
+ minLength: 1
+ hash:
+ title: Hash
+ description: The hexadecimal value of the checksum.
+ type: string
+ minLength: 1
+ VnfPackageSoftwareImageInfo:
+ description: Information about VNF package artifacts that are software images.
+ required:
+ - id
+ - name
+ - provider
+ - version
+ - checksum
+ - containerFormat
+ - diskFormat
+ - createdAt
+ - minDisk
+ - minRam
+ - size
+ - imagePath
+ type: object
+ properties:
+ id:
+ title: Id
+ description: Identifier of the software image.
+ type: string
+ minLength: 1
+ name:
+ title: Name
+ description: Name of the software image.
+ type: string
+ minLength: 1
+ provider:
+ title: Provider
+ description: Provider of the software image.
+ type: string
+ minLength: 1
+ version:
+ title: Version
+ description: Version of the software image.
+ type: string
+ minLength: 1
+ checksum:
+ $ref: '#/definitions/Checksum'
+ containerFormat:
+ title: Containerformat
+ description: 'terminationType: Indicates whether forceful or graceful termination is requested.'
+ type: string
+ enum:
+ - AKI
+ - AMI
+ - ARI
+ - BARE
+ - DOCKER
+ - OVA
+ - OVF
+ diskFormat:
+ title: Diskformat
+ description: Disk format of a software image is the format of the underlying disk image.
+ type: string
+ enum:
+ - AKI
+ - AMI
+ - ARI
+ - ISO
+ - QCOW2
+ - RAW
+ - VDI
+ - VHD
+ - VHDX
+ - VMDK
+ createdAt:
+ title: Createdat
+ description: Time when this software image was created.
+ type: string
+ format: date-time
+ minDisk:
+ title: Mindisk
+ description: The minimal disk for this software image in bytes.
+ type: integer
+ minRam:
+ title: Minram
+ description: The minimal RAM for this software image in bytes.
+ type: integer
+ size:
+ title: Size
+ description: Size of this software image in bytes.
+ type: integer
+ userMetadata:
+ title: Usermetadata
+ description: User-defined data.
+ type: object
+ additionalProperties:
+ description: KeyValue Pairs
+ type: string
+ x-nullable: true
+ imagePath:
+ title: Imagepath
+ description: Path in the VNF package.
+ type: string
+ minLength: 1
+ VnfPackageArtifactInfo:
+ description: Information about VNF package artifacts contained in the VNF package that are not software images.
+ required:
+ - artifactPath
+ - checksum
+ type: object
+ properties:
+ artifactPath:
+ title: Artifactpath
+ description: Path in the VNF package.
+ type: string
+ minLength: 1
+ checksum:
+ $ref: '#/definitions/Checksum'
+ metadata:
+ title: Metadata
+ description: The metadata of the artifact that are available in the VNF package
+ type: object
+ additionalProperties:
+ description: KeyValue Pairs
+ type: string
+ x-nullable: true
+ VNF_PKGM_Link_Serializer:
+ title: ' links'
+ description: Links to resources related to this resource.
+ required:
+ - self
+ - packageContent
+ type: object
+ properties:
+ self:
+ $ref: '#/definitions/Link'
+ vnfd:
+ $ref: '#/definitions/Link'
+ packageContent:
+ $ref: '#/definitions/Link'
+ VnfPkgInfo:
+ required:
+ - id
+ - onboardingState
+ - operationalState
+ - usageState
+ - _links
+ type: object
+ properties:
+ id:
+ title: Id
+ description: Identifier of the on-boarded VNF package.
+ type: string
+ minLength: 1
+ vnfdId:
+ title: Vnfdid
+ description: 'This identifier, which is managed by the VNF provider, identifies the VNF package and the VNFD in a globally unique way.'
+ type: string
+ x-nullable: true
+ vnfProvider:
+ title: Vnfprovider
+ description: Provider of the VNF package and the VNFD.
+ type: string
+ x-nullable: true
+ vnfProductName:
+ title: Vnfproductname
+ description: Name to identify the VNF product.
+ type: string
+ x-nullable: true
+ vnfSoftwareVersion:
+ title: Vnfsoftwareversion
+ description: Software version of the VNF.
+ type: string
+ x-nullable: true
+ vnfdVersion:
+ title: Vnfdversion
+ description: The version of the VNvFD.
+ type: string
+ x-nullable: true
+ checksum:
+ $ref: '#/definitions/Checksum'
+ softwareImages:
+ description: Information about VNF package artifacts that are software images.
+ type: array
+ items:
+ $ref: '#/definitions/VnfPackageSoftwareImageInfo'
+ x-nullable: true
+ additionalArtifacts:
+ description: Information about VNF package artifacts contained in the VNF package that are not software images.
+ type: array
+ items:
+ $ref: '#/definitions/VnfPackageArtifactInfo'
+ x-nullable: true
+ onboardingState:
+ title: Onboardingstate
+ description: On-boarding state of the VNF package.
+ type: string
+ enum:
+ - CREATED
+ - UPLOADING
+ - PROCESSING
+ - ONBOARDED
+ operationalState:
+ title: Operationalstate
+ description: Operational state of the VNF package.
+ type: string
+ enum:
+ - ENABLED
+ - DISABLED
+ usageState:
+ title: Usagestate
+ description: Usage state of the VNF package.
+ type: string
+ enum:
+ - IN_USE
+ - NOT_IN_USE
+ userDefinedData:
+ title: Userdefineddata
+ description: User defined data for the VNF package.
+ type: object
+ additionalProperties:
+ description: KeyValue Pairs
+ type: string
+ x-nullable: true
+ _links:
+ $ref: '#/definitions/VNF_PKGM_Link_Serializer'
+ CreateVnfPkgInfoRequest:
+ type: object
+ properties:
+ userDefinedData:
+ title: Userdefineddata
+ description: User defined data for the VNF package.
+ type: object
+ additionalProperties:
+ description: KeyValue Pairs
+ type: string
+ x-nullable: true
+ UploadVnfPackageFromUriRequest:
+ required:
+ - addressInformation
+ type: object
+ properties:
+ addressInformation:
+ title: Addressinformation
+ description: Address information of the VNF package content.
+ type: string
+ minLength: 1
+ userName:
+ title: Username
+ description: User name to be used for authentication.
+ type: string
+ minLength: 1
+ password:
+ title: Password
+ description: Password to be used for authentication.
+ type: string
+ minLength: 1 \ No newline at end of file
diff --git a/genericparser/swagger/vfc.catalog.swagger.json b/genericparser/swagger/vfc.catalog.swagger.json
deleted file mode 100644
index 1327462..0000000
--- a/genericparser/swagger/vfc.catalog.swagger.json
+++ /dev/null
@@ -1,793 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0",
- "title": "ONAP VFC Catalog Rest API",
- "description": "VFC Catalog Management API.",
- "contact": {
- "name": "ONAP VFC team",
- "email": "onap-discuss@lists.onap.org",
- "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/catalog"
- }
- },
- "basePath": "/api/catalog/v1",
- "schemes": [
- "http",
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/nspackages": {
- "get": {
- "tags": [
- "nspackage"
- ],
- "summary": "query ns packages info",
- "description": "query ns packages info",
- "operationId": "query_ns_packages",
- "parameters": [],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "$ref": "#/definitions/NsPkgListInfo"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- },
- "post": {
- "tags": [
- "nspackage"
- ],
- "summary": "ns package distribute",
- "description": "ns package distribute",
- "operationId": "ns_pkg_distribute",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "description": "distribute request param",
- "required": true,
- "schema": {
- "$ref": "#/definitions/NsPkgDistributeRequest"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/NsPkgDistributeResponse"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- }
- },
- "/nspackages/{csarId}": {
- "get": {
- "tags": [
- "nspackage"
- ],
- "summary": "query ns package info",
- "description": "query ns package info via ns package csarId",
- "operationId": "query_ns_package",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "csarId",
- "in": "path",
- "description": "csar id of ns package",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "$ref": "#/definitions/NsPkgDetailInfo"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- },
- "delete": {
- "tags": [
- "nspackage"
- ],
- "summary": "delete ns pkg",
- "description": "delete ns pkg",
- "operationId": "delete_ns_pkg",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "csarId",
- "in": "path",
- "description": "csar id of ns package",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "Delete NS Package Response",
- "schema": {
- "$ref": "#/definitions/NsPkgDelResponse"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- }
- },
- "/parsernsd": {
- "post": {
- "tags": [
- "model"
- ],
- "summary": "ns package model",
- "description": "ns package model",
- "operationId": "ms_model_parser",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "description": "distribute request param",
- "required": true,
- "schema": {
- "$ref": "#/definitions/modelParserRequest"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/modelParserResponse"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- }
- },
- "/vnfpackages": {
- "get": {
- "tags": [
- "vnfpackage"
- ],
- "summary": "query vnf packages info",
- "description": "query vnf packages info",
- "operationId": "query_vnf_packages",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "$ref": "#/definitions/VnfPkgListInfo"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- },
- "post": {
- "tags": [
- "vnfpackage"
- ],
- "summary": "vnf package distribute",
- "description": "vnf package distribute",
- "operationId": "vnf_pkg_distribute",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "description": "distribute request param",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VnfPkgDistributeRequest"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/VnfPkgDistributeResponse"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- }
- },
- "/vnfpackages/{csarId}": {
- "get": {
- "tags": [
- "vnfpackage"
- ],
- "summary": "query vnf package info",
- "description": "query one vnf package info via vnf package csarId",
- "operationId": "query_vnf_package",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "csarId",
- "in": "path",
- "description": "csar id of vnf package",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "$ref": "#/definitions/VnfPkgDetailInfo"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- },
- "delete": {
- "tags": [
- "vnfpackage"
- ],
- "summary": "delete vnf package",
- "description": "delete vnf package",
- "operationId": "delete_vnf_package",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "csarId",
- "in": "path",
- "description": "csar id of vnf package",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "202": {
- "description": "Delete VNF Pakcage Response",
- "schema": {
- "$ref": "#/definitions/VnfPkgDelResponse"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- }
- },
- "/parservnfd": {
- "post": {
- "tags": [
- "model"
- ],
- "summary": "vnf package model",
- "description": "vnf package model",
- "operationId": "vnf_model_parser",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "description": "distribute request param",
- "required": true,
- "schema": {
- "$ref": "#/definitions/modelParserRequest"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/modelParserResponse"
- }
- },
- "404": {
- "description": "URL not found"
- },
- "500": {
- "description": "internal error"
- }
- }
- }
- },
- "/jobs/{jobId}": {
- "get": {
- "tags": [
- "job"
- ],
- "summary": "jobstatus",
- "description": "Get Job Status",
- "operationId": "get_jobstatus",
- "parameters": [
- {
- "required": true,
- "type": "string",
- "description": "job Id",
- "name": "jobId",
- "in": "path"
- },
- {
- "required": true,
- "type": "string",
- "description": "job response message id",
- "name": "responseId",
- "in": "query"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/JobDetailInfo"
- }
- }
- }
- },
- "post": {
- "tags": [
- "job"
- ],
- "summary": "Update Job Status",
- "description": "Update Job Status",
- "operationId": "post_jobstatus",
- "parameters": [
- {
- "required": true,
- "type": "string",
- "description": "job Id",
- "name": "jobId",
- "in": "path"
- },
- {
- "required": true,
- "schema": {
- "$ref": "#/definitions/PostJobRequest"
- },
- "description": "job status",
- "name": "responseId",
- "in": "body"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/JobDetailInfo"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "NsPkgDistributeRequest": {
- "type": "object",
- "properties": {
- "csarId": {
- "type": "string",
- "description": "network service package id, UUID"
- }
- }
- },
- "NsPkgDistributeResponse": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string",
- "description": "Operation status. value is success or failed"
- },
- "statusDescription": {
- "type": "string",
- "description": "description about the operation result"
- },
- "errorCode": {
- "type": "string",
- "description": "If the status is failed, the errorcode will be returned"
- }
- }
- },
- "NsPkgDelResponse": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string",
- "description": "Operation status. value is success or failed"
- },
- "statusDescription": {
- "type": "string",
- "description": "description about the operation result"
- },
- "errorCode": {
- "type": "string",
- "description": "If the status is failed, the errorcode will be returned"
- }
- }
- },
- "NsPkgListInfo": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NsPkgDetailInfo"
- }
- },
- "NsPkgDetailInfo": {
- "type": "object",
- "properties": {
- "csarId": {
- "type": "string"
- },
- "packageInfo": {
- "$ref": "#/definitions/NsPkgInfo"
- }
- }
- },
- "NsPkgInfo": {
- "type": "object",
- "properties": {
- "nsPackageId": {
- "type": "string",
- "description": "network service package id, UUID, csarId"
- },
- "nsdId": {
- "type": "string",
- "description": "network service descriptor ID"
- },
- "nsdProvider": {
- "type": "string",
- "description": "network service designer name"
- },
- "nsdVersion": {
- "type": "string",
- "description": "network service descriptor version"
- },
- "csarName": {
- "type": "string",
- "description": "network service package name"
- },
- "nsdModel": {
- "type": "string",
- "description": "ns JSON string parsed and transformed by parser"
- },
- "downloadUrl": {
- "type": "string",
- "description": "download url of network service package"
- }
- }
- },
- "NsInstListInfo": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NsInstInfo"
- }
- },
- "NsInstInfo": {
- "type": "object",
- "properties": {
- "nsInstanceId": {
- "type": "string",
- "description": "network service instance ID"
- },
- "nsInstanceName": {
- "type": "string",
- "description": "network service instance name"
- }
- }
- },
- "VnfPkgDistributeRequest": {
- "type": "object",
- "properties": {
- "csarId": {
- "type": "string",
- "description": "vnf package id, UUID"
- }
- }
- },
- "VnfPkgDistributeResponse": {
- "type": "object",
- "properties": {
- "jobId": {
- "type": "string",
- "description": "VNF package distribute job ID"
- }
- }
- },
- "VnfPkgDelResponse": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string",
- "description": "Operation status. value is success or failed"
- },
- "statusDescription": {
- "type": "string",
- "description": "description about the operation result"
- },
- "errorCode": {
- "type": "string",
- "description": "If the status is failed, the errorcode will be returned"
- }
- }
- },
- "VnfPkgListInfo": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VnfPkgDetailInfo"
- }
- },
- "VnfPkgDetailInfo": {
- "type": "object",
- "properties": {
- "csarId": {
- "type": "string",
- "description": "vnf package id, UUID"
- },
- "packageInfo": {
- "$ref": "#/definitions/VnfPkgInfo"
- },
- "imageInfo": {
- "$ref": "#/definitions/VnfPkgImgListInfo"
- }
- }
- },
- "VnfPkgInfo": {
- "type": "object",
- "description": "vnf package infomation",
- "properties": {
- "vnfPackageId": {
- "type": "string",
- "description": "vnf package id (csarId)"
- },
- "csarName": {
- "type": "string",
- "description": "The name of the csar"
- },
- "vnfdId": {
- "type": "string",
- "description": "VNF descriptor ID"
- },
- "vnfdProvider": {
- "type": "string",
- "description": "VNF descriptor vendor ID"
- },
- "vnfdModel": {
- "type": "string",
- "description": "The model of the VNF (JSON) encoded to string"
- },
- "vnfdVersion": {
- "type": "string",
- "description": "VNF descriptor version"
- },
- "vnfVersion": {
- "type": "string",
- "description": "VNF Software version"
- },
- "downloadUrl":{
- "type": "string",
- "description": "The URL from which the VNF package can be downloaded"
- }
- }
- },
- "VnfInstListInfo": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VnfInstInfo"
- }
- },
- "VnfInstInfo": {
- "type": "object",
- "properties": {
- "vnfInstanceId": {
- "type": "string",
- "description": "VNF instance ID"
- },
- "vnfInstanceName": {
- "type": "string",
- "description": "VNF instance name"
- }
- }
- },
- "VnfPkgImgListInfo": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VnfPkgImgInfo"
- }
- },
- "VnfPkgImgInfo": {
- "type": "object",
- "properties": {
- "fileName": {
- "type": "string",
- "description": "image file name"
- },
- "imageUrl": {
- "type": "string",
- "description": "image file path in the csar or image url in external repository"
- }
- }
- },
- "modelParserRequest":{
- "type": "object",
- "properties": {
- "csarId": {
- "type": "string",
- "description": "csar Package Id"
- },
- "inputs": {
- "type": "object",
- "description": "csar package json inputs"
- }
- }
- },
- "modelParserResponse":{
- "type": "object",
- "properties": {
- "model": {
- "type": "object",
- "description": "csar model json data"
- }
- }
- },
- "jobResponseInfo": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string"
- },
- "progress":{
- "type": "string"
- },
- "statusDescription": {
- "type": "string"
- },
- "errorCode": {
- "type": "string"
- },
- "responseId": {
- "type": "string"
- }
- }
- },
- "PostJobRequest": {
- "type": "object",
- "properties": {
- "progress": {
- "type": "string"
- },
- "desc": {
- "type": "string"
- },
- "errcode": {
- "type": "string"
- }
- }
- },
- "JobDetailInfo":{
- "type": "object",
- "properties": {
- "jobId": {
- "type": "string"
- },
- "responseDescriptor":
- {
- "type":"object",
- "properties": {
- "status": {
- "type": "string"
- },
- "progress":{
- "type": "string"
- },
- "statusDescription": {
- "type": "string"
- },
- "errorCode": {
- "type": "string"
- },
- "responseId": {
- "type": "string"
- },
- "responseHistoryList": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/jobResponseInfo"
- }
- }
- }
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/genericparser/swagger/views.py b/genericparser/swagger/views.py
index 33d0edb..e99262b 100644
--- a/genericparser/swagger/views.py
+++ b/genericparser/swagger/views.py
@@ -21,7 +21,7 @@ from rest_framework.views import APIView
class SwaggerJsonView(APIView):
def get(self, request):
- json_file = os.path.join(os.path.dirname(__file__), 'vfc.catalog.swagger.json')
+ json_file = os.path.join(os.path.dirname(__file__), 'modeling.genericparser.swagger.json')
f = open(json_file)
json_data = json.JSONDecoder().decode(f.read())
f.close()
diff --git a/pom.xml b/pom.xml
index 9029d48..a8757ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,12 +21,12 @@
<version>1.2.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.onap.vfc.nfvo.catalog</groupId>
- <artifactId>vfc-nfvo-catalog</artifactId>
- <version>1.3.0-SNAPSHOT</version>
+ <groupId>org.onap.modeling.toscaparsers.genericparser</groupId>
+ <artifactId>modeling-toscaparsers-genericparser</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>vfc-nfvo-catalog</name>
- <description>vfc nfvo catalog</description>
+ <name>modeling-toscaparsers-genericparser</name>
+ <description>modeling toscaparsers genericparser</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.sources>.</sonar.sources>
diff --git a/version.properties b/version.properties
index a9aa8e7..f997702 100644
--- a/version.properties
+++ b/version.properties
@@ -17,7 +17,7 @@
# because they are used in Jenkins, whose plug-in doesn't support
major=1
-minor=3
+minor=0
patch=0
base_version=${major}.${minor}.${patch}