diff options
-rw-r--r-- | catalog/packages/ns_package.py | 4 | ||||
-rw-r--r-- | catalog/swagger/vfc.catalog.swagger.json | 30 |
2 files changed, 33 insertions, 1 deletions
diff --git a/catalog/packages/ns_package.py b/catalog/packages/ns_package.py index 70950880..ea5e3896 100644 --- a/catalog/packages/ns_package.py +++ b/catalog/packages/ns_package.py @@ -156,7 +156,9 @@ class NsPackage(object): for ns in nss: csars["csars"].append({ "csarId": ns.nsPackageId, - "nsdId": ns.nsdId + "nsdId": ns.nsdId, + "nsdProvider": ns.nsdDesginer, + "nsdVersion": ns.nsdVersion }) return [0, csars] diff --git a/catalog/swagger/vfc.catalog.swagger.json b/catalog/swagger/vfc.catalog.swagger.json index 2d5de2aa..6a3c3e13 100644 --- a/catalog/swagger/vfc.catalog.swagger.json +++ b/catalog/swagger/vfc.catalog.swagger.json @@ -38,6 +38,9 @@ "$ref": "#/definitions/NsPkgListInfo"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -68,6 +71,9 @@ "$ref": "#/definitions/NsPkgDistributeResponse"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -104,6 +110,9 @@ "$ref": "#/definitions/NsPkgDetailInfo"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -138,6 +147,9 @@ "$ref": "#/definitions/NsPkgDelResponse"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -176,6 +188,9 @@ "$ref": "#/definitions/modelParserResponse"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -204,6 +219,9 @@ "$ref": "#/definitions/VnfPkgListInfo"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -240,6 +258,9 @@ "$ref": "#/definitions/VnfPkgDistributeResponse"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -276,6 +297,9 @@ "$ref": "#/definitions/VnfPkgDetailInfo"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -310,6 +334,9 @@ "$ref": "#/definitions/VnfPkgDelResponse"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
@@ -348,6 +375,9 @@ "$ref": "#/definitions/modelParserResponse"
}
},
+ "404": {
+ "description": "URL not found"
+ },
"500": {
"description": "internal error"
}
|