diff --git a/src/components/content/catalog/services/details/ServiceDetail.tsx b/src/components/content/catalog/services/details/ServiceDetail.tsx index 4724334ac..1e7898c04 100644 --- a/src/components/content/catalog/services/details/ServiceDetail.tsx +++ b/src/components/content/catalog/services/details/ServiceDetail.tsx @@ -10,7 +10,7 @@ import { ApiDoc } from '../../../common/doc/ApiDoc'; import { ShowIcon } from './ShowIcon'; import React from 'react'; import { DeploymentText } from '../../../common/ocl/DeploymentText'; -import { FlavoursText } from '../../../common/ocl/FlavorsText'; +import { FlavorsText } from '../../../common/ocl/FlavorsText'; import { BillingText } from '../../../common/ocl/BillingText'; import { ServiceRegistrationStatus } from './ServiceRegistrationStatus'; import { ContactDetailsText } from '../../../common/ocl/ContactDetailsText'; @@ -59,7 +59,7 @@ function ServiceDetail({ serviceDetails }: { serviceDetails: ServiceTemplateDeta - + diff --git a/src/components/content/catalog/services/policies/servicePoliciesParams.ts b/src/components/content/catalog/services/policies/servicePoliciesParams.ts index fe0faf616..4e897a770 100644 --- a/src/components/content/catalog/services/policies/servicePoliciesParams.ts +++ b/src/components/content/catalog/services/policies/servicePoliciesParams.ts @@ -10,7 +10,9 @@ export const servicePoliciesStatuses: boolean[] = [true, false]; export const flavorNameList = (serviceDetails: ServiceTemplateDetailVo): string[] => { const flavorNameList: string[] = []; - serviceDetails.flavors.forEach((flavorItem) => { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access + serviceDetails.flavors.serviceFlavors.forEach((flavorItem) => { + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument,@typescript-eslint/no-unsafe-member-access flavorNameList.push(flavorItem.name); }); return flavorNameList; diff --git a/src/components/content/common/ocl/DisplayOclData.tsx b/src/components/content/common/ocl/DisplayOclData.tsx index 45b9ce9e6..7856c169d 100644 --- a/src/components/content/common/ocl/DisplayOclData.tsx +++ b/src/components/content/common/ocl/DisplayOclData.tsx @@ -7,11 +7,11 @@ import React from 'react'; import { Ocl } from '../../../../xpanse-api/generated'; import { Descriptions, Image, Tag } from 'antd'; import { DeploymentText } from './DeploymentText'; -import { FlavoursText } from './FlavorsText'; import { BillingText } from './BillingText'; import { cspMap } from '../csp/CspLogo'; import { ContactDetailsText } from './ContactDetailsText'; import { ContactDetailsShowType } from './ContactDetailsShowType'; +import { FlavorsText } from './FlavorsText'; function DisplayOclData({ ocl }: { ocl: Ocl }): React.JSX.Element | string { const PLACE_HOLDER_UNKNOWN_VALUE: string = 'NOT PROVIDED'; @@ -90,7 +90,7 @@ function DisplayOclData({ ocl }: { ocl: Ocl }): React.JSX.Element | string { {ocl.namespace} - + diff --git a/src/components/content/common/ocl/FlavorsText.tsx b/src/components/content/common/ocl/FlavorsText.tsx index 50eb91237..e6e370f70 100644 --- a/src/components/content/common/ocl/FlavorsText.tsx +++ b/src/components/content/common/ocl/FlavorsText.tsx @@ -3,12 +3,12 @@ * SPDX-FileCopyrightText: Huawei Inc. */ -import { Flavor } from '../../../../xpanse-api/generated'; +import { ServiceFlavor } from '../../../../xpanse-api/generated'; import React from 'react'; import YAML from 'yaml'; import { Button, Popover } from 'antd'; -export function FlavoursText({ flavors }: { flavors: Flavor[] }): React.JSX.Element { +export function FlavorsText({ flavors }: { flavors: ServiceFlavor[] }): React.JSX.Element { // These warnings must be suppressed because the Ocl object here is created from the import file and the data not necessarily contains all the mandatory fields. // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition if (flavors) { diff --git a/src/components/content/order/formDataHelpers/flavorHelper.ts b/src/components/content/order/formDataHelpers/flavorHelper.ts index 8066b8656..873acff38 100644 --- a/src/components/content/order/formDataHelpers/flavorHelper.ts +++ b/src/components/content/order/formDataHelpers/flavorHelper.ts @@ -4,14 +4,14 @@ */ import { Flavor } from '../types/Flavor'; -import { FlavorBasic, UserOrderableServiceVo } from '../../../../xpanse-api/generated'; +import { ServiceFlavor, UserOrderableServiceVo } from '../../../../xpanse-api/generated'; export function getFlavorList( selectCsp: UserOrderableServiceVo.csp, selectServiceHostingType: UserOrderableServiceVo.serviceHostingType, userOrderableServices: UserOrderableServiceVo[] | undefined ): Flavor[] { - const flavorMapper: Map = new Map(); + const flavorMapper: Map = new Map(); if (userOrderableServices) { userOrderableServices.forEach((userOrderableServiceVo) => { if ( diff --git a/src/components/content/review/ServiceReviewsDetails.tsx b/src/components/content/review/ServiceReviewsDetails.tsx index a8599f538..5c11bab3c 100644 --- a/src/components/content/review/ServiceReviewsDetails.tsx +++ b/src/components/content/review/ServiceReviewsDetails.tsx @@ -6,7 +6,7 @@ import React, { useState } from 'react'; import { Button, Descriptions, Image, Tag } from 'antd'; import { cspMap } from '../common/csp/CspLogo'; -import { FlavoursText } from '../common/ocl/FlavorsText'; +import { FlavorsText } from '../common/ocl/FlavorsText'; import { BillingText } from '../common/ocl/BillingText'; import { DeploymentText } from '../common/ocl/DeploymentText'; import { ContactDetailsText } from '../common/ocl/ContactDetailsText'; @@ -160,7 +160,7 @@ export const ServiceReviewsDetails = ({ {currentServiceTemplateVo.namespace} - + diff --git a/src/xpanse-api/api.json b/src/xpanse-api/api.json index 5c783af10..c1ddae927 100644 --- a/src/xpanse-api/api.json +++ b/src/xpanse-api/api.json @@ -3,7 +3,7 @@ "info": { "title": "XpanseAPI", "description": "RESTful Services to interact with Xpanse runtime.", - "version": "1.0.8-SNAPSHOT" + "version": "1.0.9-SNAPSHOT" }, "servers": [{ "url": "http://localhost:8080", "description": "Generated server url" }], "security": [{ "OAuth2Flow": [] }], @@ -65,14 +65,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -116,14 +116,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -181,14 +181,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -229,14 +229,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -267,14 +267,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -337,14 +337,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -372,14 +372,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -412,14 +412,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -452,14 +452,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -500,14 +500,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -550,14 +550,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -596,14 +596,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -648,14 +648,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -746,14 +746,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -791,14 +791,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -834,14 +834,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -901,14 +901,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -946,14 +946,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -987,14 +987,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1055,14 +1055,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1103,14 +1103,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1141,14 +1141,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1211,14 +1211,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1323,14 +1323,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1369,14 +1369,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1410,14 +1410,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1521,14 +1521,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1567,14 +1567,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1667,14 +1667,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1714,14 +1714,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1761,14 +1761,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1808,14 +1808,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1851,14 +1851,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1941,14 +1941,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -1994,14 +1994,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2111,14 +2111,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2164,14 +2164,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2281,14 +2281,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2334,14 +2334,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2384,14 +2384,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2424,14 +2424,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2462,14 +2462,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2497,14 +2497,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2533,14 +2533,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2621,14 +2621,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2662,14 +2662,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2699,14 +2699,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2810,14 +2810,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2863,14 +2863,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -2951,14 +2951,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3018,14 +3018,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3088,14 +3088,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3163,14 +3163,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3228,14 +3228,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3342,14 +3342,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3401,14 +3401,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3441,14 +3441,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3494,14 +3494,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3533,14 +3533,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3568,14 +3568,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3606,14 +3606,14 @@ "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, - "422": { - "description": "Unprocessable Entity", - "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } - }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } }, + "422": { + "description": "Unprocessable Entity", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } + }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Response" } } } @@ -3667,6 +3667,7 @@ "Service Template Not Registered", "Service Template Not Approved", "Service Template Already Reviewed", + "Invalid Service Version", "Service Deployment Not Found", "Resource Not Found", "Deployment Variable Invalid", @@ -3996,16 +3997,14 @@ }, "description": "The deployment of the managed service" }, - "Flavor": { - "required": ["fixedPrice", "modificationImpact", "name", "properties"], + "Flavors": { + "required": ["modificationImpact", "serviceFlavors"], "type": "object", "properties": { - "name": { "type": "string", "description": "The flavor name" }, - "fixedPrice": { "type": "integer", "description": "The price of the flavor", "format": "int32" }, - "properties": { - "type": "object", - "additionalProperties": { "type": "string", "description": "The properties of the flavor" }, - "description": "The properties of the flavor" + "serviceFlavors": { + "type": "array", + "description": "The flavors of the managed service.", + "items": { "$ref": "#/components/schemas/ServiceFlavor" } }, "modificationImpact": { "$ref": "#/components/schemas/ModificationImpact" } }, @@ -4067,11 +4066,7 @@ "icon": { "type": "string", "description": "The icon of the managed service" }, "cloudServiceProvider": { "$ref": "#/components/schemas/CloudServiceProvider" }, "deployment": { "$ref": "#/components/schemas/Deployment" }, - "flavors": { - "type": "array", - "description": "The flavors of the managed service", - "items": { "$ref": "#/components/schemas/Flavor" } - }, + "flavors": { "$ref": "#/components/schemas/Flavors" }, "billing": { "$ref": "#/components/schemas/Billing" }, "serviceHostingType": { "type": "string", @@ -4106,6 +4101,20 @@ }, "description": "Deployment scripts hosted on a GIT repo. Either deployer or deployFromGitRepo must be provided." }, + "ServiceFlavor": { + "required": ["fixedPrice", "name", "properties"], + "type": "object", + "properties": { + "name": { "type": "string", "description": "The flavor name" }, + "fixedPrice": { "type": "integer", "description": "The price of the flavor", "format": "int32" }, + "properties": { + "type": "object", + "additionalProperties": { "type": "string", "description": "The properties of the flavor" }, + "description": "The properties of the flavor" + } + }, + "description": "The flavors of the managed service." + }, "ServiceProviderContactDetails": { "type": "object", "properties": { @@ -4218,11 +4227,7 @@ "description": "The variables for the deployment, which will be passed to the deployer.", "items": { "$ref": "#/components/schemas/DeployVariable" } }, - "flavors": { - "type": "array", - "description": "The flavors of the registered service.", - "items": { "$ref": "#/components/schemas/Flavor" } - }, + "flavors": { "$ref": "#/components/schemas/Flavors" }, "billing": { "$ref": "#/components/schemas/Billing" }, "serviceHostingType": { "type": "string", @@ -5059,15 +5064,6 @@ } } }, - "FlavorBasic": { - "required": ["fixedPrice", "name"], - "type": "object", - "properties": { - "name": { "type": "string", "description": "The flavor name" }, - "fixedPrice": { "type": "integer", "description": "The price of the flavor", "format": "int32" } - }, - "description": "The flavors of the orderable service." - }, "UserOrderableServiceVo": { "required": [ "billing", @@ -5125,7 +5121,7 @@ "flavors": { "type": "array", "description": "The flavors of the orderable service.", - "items": { "$ref": "#/components/schemas/FlavorBasic" } + "items": { "$ref": "#/components/schemas/ServiceFlavor" } }, "billing": { "$ref": "#/components/schemas/Billing" }, "serviceHostingType": { @@ -5165,9 +5161,9 @@ "authorizationUrl": "https://iam.xpanse.site/oauth/v2/authorize", "tokenUrl": "https://iam.xpanse.site/oauth/v2/token", "scopes": { + "urn:zitadel:iam:org:project:roles": "mandatory must be selected.", "openid": "mandatory must be selected.", "profile": "mandatory must be selected.", - "urn:zitadel:iam:org:project:roles": "mandatory must be selected.", "urn:zitadel:iam:user:metadata": "mandatory must be selected." } } diff --git a/src/xpanse-api/generated/core/OpenAPI.ts b/src/xpanse-api/generated/core/OpenAPI.ts index d561adeda..b09ac19ce 100644 --- a/src/xpanse-api/generated/core/OpenAPI.ts +++ b/src/xpanse-api/generated/core/OpenAPI.ts @@ -26,7 +26,7 @@ export type OpenAPIConfig = { export const OpenAPI: OpenAPIConfig = { BASE: 'http://localhost:8080', - VERSION: '1.0.8-SNAPSHOT', + VERSION: '1.0.9-SNAPSHOT', WITH_CREDENTIALS: false, CREDENTIALS: 'include', TOKEN: undefined, diff --git a/src/xpanse-api/generated/index.ts b/src/xpanse-api/generated/index.ts index 38283105b..bff179208 100644 --- a/src/xpanse-api/generated/index.ts +++ b/src/xpanse-api/generated/index.ts @@ -28,8 +28,7 @@ export { DeployRequest } from './models/DeployRequest'; export { DeployResource } from './models/DeployResource'; export { DeployVariable } from './models/DeployVariable'; export { DeployVariableKind } from './models/DeployVariableKind'; -export type { Flavor } from './models/Flavor'; -export type { FlavorBasic } from './models/FlavorBasic'; +export type { Flavors } from './models/Flavors'; export type { Link } from './models/Link'; export { Metric } from './models/Metric'; export { MetricItem } from './models/MetricItem'; @@ -41,6 +40,7 @@ export type { Region } from './models/Region'; export { Response } from './models/Response'; export { ReviewRegistrationRequest } from './models/ReviewRegistrationRequest'; export type { ScriptsRepo } from './models/ScriptsRepo'; +export type { ServiceFlavor } from './models/ServiceFlavor'; export { ServiceMigrationDetails } from './models/ServiceMigrationDetails'; export type { ServicePolicy } from './models/ServicePolicy'; export type { ServicePolicyCreateRequest } from './models/ServicePolicyCreateRequest'; diff --git a/src/xpanse-api/generated/models/FlavorBasic.ts b/src/xpanse-api/generated/models/FlavorBasic.ts deleted file mode 100644 index 2d313e0b3..000000000 --- a/src/xpanse-api/generated/models/FlavorBasic.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SPDX-License-Identifier: Apache-2.0 - * SPDX-FileCopyrightText: Huawei Inc. - */ - -/* generated using openapi-typescript-codegen -- do not edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -/** - * The flavors of the orderable service. - */ -export type FlavorBasic = { - /** - * The flavor name - */ - name: string; - /** - * The price of the flavor - */ - fixedPrice: number; -}; diff --git a/src/xpanse-api/generated/models/Flavors.ts b/src/xpanse-api/generated/models/Flavors.ts new file mode 100644 index 000000000..a4974004d --- /dev/null +++ b/src/xpanse-api/generated/models/Flavors.ts @@ -0,0 +1,21 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * SPDX-FileCopyrightText: Huawei Inc. + */ + +/* generated using openapi-typescript-codegen -- do not edit */ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ +import type { ModificationImpact } from './ModificationImpact'; +import type { ServiceFlavor } from './ServiceFlavor'; +/** + * The flavors of the managed service + */ +export type Flavors = { + /** + * The flavors of the managed service. + */ + serviceFlavors: Array; + modificationImpact: ModificationImpact; +}; diff --git a/src/xpanse-api/generated/models/Ocl.ts b/src/xpanse-api/generated/models/Ocl.ts index 16b092a6d..6905c80a1 100644 --- a/src/xpanse-api/generated/models/Ocl.ts +++ b/src/xpanse-api/generated/models/Ocl.ts @@ -10,7 +10,7 @@ import type { Billing } from './Billing'; import type { CloudServiceProvider } from './CloudServiceProvider'; import type { Deployment } from './Deployment'; -import type { Flavor } from './Flavor'; +import type { Flavors } from './Flavors'; import type { ServiceProviderContactDetails } from './ServiceProviderContactDetails'; export type Ocl = { /** @@ -43,10 +43,7 @@ export type Ocl = { icon: string; cloudServiceProvider: CloudServiceProvider; deployment: Deployment; - /** - * The flavors of the managed service - */ - flavors: Array; + flavors: Flavors; billing: Billing; /** * Defines which cloud service account is used for deploying cloud resources. diff --git a/src/xpanse-api/generated/models/Response.ts b/src/xpanse-api/generated/models/Response.ts index 63500045c..9ef59fda0 100644 --- a/src/xpanse-api/generated/models/Response.ts +++ b/src/xpanse-api/generated/models/Response.ts @@ -49,6 +49,7 @@ export namespace Response { SERVICE_TEMPLATE_NOT_REGISTERED = 'Service Template Not Registered', SERVICE_TEMPLATE_NOT_APPROVED = 'Service Template Not Approved', SERVICE_TEMPLATE_ALREADY_REVIEWED = 'Service Template Already Reviewed', + INVALID_SERVICE_VERSION = 'Invalid Service Version', SERVICE_DEPLOYMENT_NOT_FOUND = 'Service Deployment Not Found', RESOURCE_NOT_FOUND = 'Resource Not Found', DEPLOYMENT_VARIABLE_INVALID = 'Deployment Variable Invalid', diff --git a/src/xpanse-api/generated/models/Flavor.ts b/src/xpanse-api/generated/models/ServiceFlavor.ts similarity index 72% rename from src/xpanse-api/generated/models/Flavor.ts rename to src/xpanse-api/generated/models/ServiceFlavor.ts index 0fa4cbd2d..05f62eb96 100644 --- a/src/xpanse-api/generated/models/Flavor.ts +++ b/src/xpanse-api/generated/models/ServiceFlavor.ts @@ -7,11 +7,10 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ -import type { ModificationImpact } from './ModificationImpact'; /** - * The flavors of the managed service + * The flavors of the managed service. */ -export type Flavor = { +export type ServiceFlavor = { /** * The flavor name */ @@ -24,5 +23,4 @@ export type Flavor = { * The properties of the flavor */ properties: Record; - modificationImpact: ModificationImpact; }; diff --git a/src/xpanse-api/generated/models/ServiceTemplateDetailVo.ts b/src/xpanse-api/generated/models/ServiceTemplateDetailVo.ts index f9cf5ddcf..4ed7b011b 100644 --- a/src/xpanse-api/generated/models/ServiceTemplateDetailVo.ts +++ b/src/xpanse-api/generated/models/ServiceTemplateDetailVo.ts @@ -10,7 +10,7 @@ import type { Billing } from './Billing'; import type { Deployment } from './Deployment'; import type { DeployVariable } from './DeployVariable'; -import type { Flavor } from './Flavor'; +import type { Flavors } from './Flavors'; import type { Link } from './Link'; import type { Region } from './Region'; import type { ServiceProviderContactDetails } from './ServiceProviderContactDetails'; @@ -56,10 +56,7 @@ export type ServiceTemplateDetailVo = { * The variables for the deployment, which will be passed to the deployer. */ variables: Array; - /** - * The flavors of the registered service. - */ - flavors: Array; + flavors: Flavors; billing: Billing; /** * Defines which cloud service account is used for deploying cloud resources. diff --git a/src/xpanse-api/generated/models/UserOrderableServiceVo.ts b/src/xpanse-api/generated/models/UserOrderableServiceVo.ts index 8139eb096..c66e4ff71 100644 --- a/src/xpanse-api/generated/models/UserOrderableServiceVo.ts +++ b/src/xpanse-api/generated/models/UserOrderableServiceVo.ts @@ -10,9 +10,9 @@ import type { AvailabilityZoneConfig } from './AvailabilityZoneConfig'; import type { Billing } from './Billing'; import type { DeployVariable } from './DeployVariable'; -import type { FlavorBasic } from './FlavorBasic'; import type { Link } from './Link'; import type { Region } from './Region'; +import type { ServiceFlavor } from './ServiceFlavor'; import type { ServiceProviderContactDetails } from './ServiceProviderContactDetails'; export type UserOrderableServiceVo = { /** @@ -54,7 +54,7 @@ export type UserOrderableServiceVo = { /** * The flavors of the orderable service. */ - flavors: Array; + flavors: Array; billing: Billing; /** * Defines which cloud service account is used for deploying cloud resources.