Adding some minor features 79/133879/2
authorSingal, Kapil (ks220y) <ks220y@att.com>
Wed, 26 Apr 2023 16:14:16 +0000 (12:14 -0400)
committerSingal, Kapil (ks220y) <ks220y@att.com>
Thu, 27 Apr 2023 13:38:55 +0000 (09:38 -0400)
* Adding proxy and ssl context to CloseableHttpClient
* Adding paged capability to ResourceDictionary GET API, and adding POST APi to bulk load resource definitions
* Adding more packages to swagger-maven-plugin to get more RestCOntroller generating swagger doc
* Fixing maven artifact versions all places

Issue-ID: CCSDK-3895
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I096f80a2326cd00068029330b241da209e46e31d
(cherry picked from commit 2f4cc180555b1891fb749443449bd969db408d9c)

14 files changed:
components/model-catalog/blueprint-model/archetype-blueprint/src/main/resources/archetype-resources/pom.xml
docs/api-reference/media/cds-bp-processor-api-swagger.json
docs/modelingconcepts/test.rst
ms/blueprintsprocessor/application/pom.xml
ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt
ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/BluePrintRestLibData.kt
ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BaseBlueprintWebClientService.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/ResourceDictionaryController.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/handler/ResourceDictionaryHandler.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/utils/BlueprintSortByOption.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/utils/DictionarySortByOption.kt [new file with mode: 0644]
ms/blueprintsprocessor/modules/inbounds/resource-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/resource/api/TemplateController.kt
ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/ExecutionServiceController.kt
pom.xml

index 12c5d6b..15b9a07 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.cds.components.cba</groupId>
         <artifactId>test-blueprint-kotlin-parent</artifactId>
-        <version>1.4.0-SNAPSHOT</version>
+        <version>1.5.0-SNAPSHOT</version>
     </parent>
 
     <groupId>${groupId}</groupId>
index de7e94c..8ec4f71 100644 (file)
-{
-  "swagger" : "2.0",
-  "info" : {
-    "description" : "Shows all resources and endpoints which CDS BP processor currently provides with sample requests/responses, parameter description and other information.",
-    "version" : "v1",
-    "title" : "CDS Blueprint Processor API Reference",
-    "termsOfService" : "https://www.onap.org/",
-    "contact" : {
-      "name" : "ONAP Community",
-      "url" : "https://www.onap.org/",
-      "email" : "onap-discuss@lists.onap.org"
-    },
-    "license" : {
-      "name" : "Apache 2.0",
-      "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
-    }
-  },
-  "host" : "localhost:8080",
-  "tags" : [ {
-    "name" : "Blueprint Model Catalog",
-    "description" : "Manages all blueprint models which are available in CDS"
-  }, {
-    "name" : "Model Type Catalog",
-    "description" : "Manages data types in CDS"
-  }, {
-    "name" : "Resource configuration",
-    "description" : "Interaction with stored configurations"
-  }, {
-    "name" : "Resource dictionary",
-    "description" : "Interaction with stored dictionaries"
-  }, {
-    "name" : "Resource template",
-    "description" : "Interaction with resolved templates"
-  }, {
-    "name" : "Resources",
-    "description" : "Interaction with resolved resources"
-  } ],
-  "schemes" : [ "http" ],
-  "paths" : {
-    "/api/v1/blueprint-model" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "List all Blueprint Models",
-        "description" : "Lists all meta-data of blueprint models which are saved in CDS.",
-        "operationId" : "BlueprintModelController_allBlueprintModel_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/BlueprintModelSearch"
-              }
-            }
-          },
-          "500" : {
-            "description" : "Internal Server Error"
-          }
-        }
-      },
-      "post" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Save a Blueprint Model",
-        "description" : "Saves a blueprint model by the given CBA zip file input. There is no validation of the attached CBA happening when this API is called.",
-        "operationId" : "BlueprintModelController_saveBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "multipart/form-data" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "file",
-          "description" : "CBA file to be uploaded (example: cba.zip)",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/FilePart"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "$ref" : "#/definitions/BlueprintModelSearch"
-            }
-          },
-          "500" : {
-            "description" : "Internal Server Error"
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/bootstrap" : {
-      "post" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Bootstrap CDS",
-        "description" : "Loads all Model Types, Resource Dictionaries and Blueprint Models which are included in CDS by default. Before starting to work with CDS, bootstrap should be called to load all the basic models that each orginization might support. Parameter values can be set as `false`  to skip loading e.g. the Resource Dictionaries but this is not recommended.",
-        "operationId" : "BlueprintModelController_bootstrap_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "application/json" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Specifies which elements to load",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/BootstrapRequest"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "type" : "object"
-            }
-          },
-          "500" : {
-            "description" : "Internal Server Error"
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/by-name/{name}/version/{version}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Get a Blueprint Model by Name and Version",
-        "description" : "Get Meta-Data of a Blueprint Model by its name and version.",
-        "operationId" : "BlueprintModelController_getBlueprintByNameAndVersion_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "description" : "Name of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "pnf_netconf"
-        }, {
-          "name" : "version",
-          "in" : "path",
-          "description" : "Version of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "1.0.0"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "$ref" : "#/definitions/BlueprintModelSearch"
-            }
-          },
-          "404" : {
-            "description" : "Not Found"
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/download/by-name/{name}/version/{version}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Download a Blueprint Model",
-        "description" : "Gets the CBA of a blueprint model by its name and version. Response can be saved to a file to download the CBA.",
-        "operationId" : "BlueprintModelController_downloadBlueprintByNameAndVersion_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "description" : "Name of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "pnf_netconf"
-        }, {
-          "name" : "version",
-          "in" : "path",
-          "description" : "Version of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "1.0.0"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "type" : "object"
-            }
-          },
-          "404" : {
-            "description" : "Not Found"
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/download/{id}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Download a Blueprint Model by ID",
-        "description" : "Gets the CBA of a blueprint model by its ID. Response can be saved to a file to download the CBA.",
-        "operationId" : "BlueprintModelController_downloadBluePrint_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "id",
-          "in" : "path",
-          "description" : "ID of the blueprint model to download",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "type" : "object"
-            }
-          },
-          "404" : {
-            "description" : "Not Found"
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/enrich" : {
-      "post" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Enrich a Blueprint Model",
-        "description" : "Enriches the attached CBA and returns the enriched CBA zip file in the response. The enrichment process will complete the package by providing all the definition of types used.",
-        "operationId" : "BlueprintModelController_enrichBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "multipart/form-data" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "file",
-          "description" : "CBA zip file to be uploaded (example: cba_unenriched.zip)",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/FilePart"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/enrichandpublish" : {
-      "post" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Enrich and publish a Blueprint Model",
-        "description" : "Enriches the attached CBA, validates it and saves it in CDS if validation was successful.",
-        "operationId" : "BlueprintModelController_enrichAndPubishlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "multipart/form-data" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "file",
-          "description" : "Unenriched CBA zip file to be uploaded (example: cba_unenriched.zip)",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/FilePart"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "$ref" : "#/definitions/BlueprintModelSearch"
-            }
-          },
-          "503" : {
-            "description" : "Service Unavailable"
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/meta-data/{keyword}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Search for Blueprints by a Keyword",
-        "description" : "Lists all blueprint models by a matching keyword in any of the meta-data of the blueprint models. Blueprint models are just returned if a whole keyword is matching, not just parts of it. Not case-sensitive. Used by CDS UI.",
-        "operationId" : "BlueprintModelController_allBlueprintModelMetaData_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "keyword",
-          "in" : "path",
-          "description" : "Keyword to search for in blueprint model meta-data",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "pnf_netconf"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/BlueprintModelSearch"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/name/{name}/version/{version}" : {
-      "delete" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Delete a Blueprint Model by Name",
-        "description" : "Deletes a blueprint model identified by its name and version from CDS.",
-        "operationId" : "BlueprintModelController_deleteBlueprintByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "description" : "Name of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "pnf_netconf"
-        }, {
-          "name" : "version",
-          "in" : "path",
-          "description" : "Version of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "1.0.0"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/paged" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Get Blueprints ordered",
-        "description" : "Lists all blueprint models which are saved in CDS in an ordered mode.",
-        "operationId" : "BlueprintModelController_allBlueprintModelPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "limit",
-          "in" : "query",
-          "description" : "Maximum number of returned blueprint models",
-          "required" : false,
-          "type" : "integer",
-          "default" : 20,
-          "format" : "int32"
-        }, {
-          "name" : "offset",
-          "in" : "query",
-          "description" : "Offset",
-          "required" : false,
-          "type" : "integer",
-          "default" : 0,
-          "format" : "int32"
-        }, {
-          "name" : "sort",
-          "in" : "query",
-          "description" : "Order of returned blueprint models",
-          "required" : false,
-          "type" : "string",
-          "default" : "DATE",
-          "enum" : [ "DATE", "NAME", "VERSION" ]
-        }, {
-          "name" : "sortType",
-          "in" : "query",
-          "description" : "Ascend or descend ordering",
-          "required" : false,
-          "type" : "string",
-          "default" : "ASC"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/PageBlueprintModelSearch"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/paged/meta-data/{keyword}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Search for Blueprints by a Keyword in an ordered mode",
-        "description" : "Lists all blueprint models by a matching keyword in any of the meta-data of the blueprint models in an ordered mode. Blueprint models are just returned if a whole keyword is matching, not just parts of it. Not case-sensitive. Used by CDS UI.",
-        "operationId" : "BlueprintModelController_allBlueprintModelMetaDataPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "keyword",
-          "in" : "path",
-          "description" : "Keyword to search for in blueprint model meta-data",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "pnf_netconf"
-        }, {
-          "name" : "limit",
-          "in" : "query",
-          "description" : "Maximum number of returned blueprint models",
-          "required" : false,
-          "type" : "integer",
-          "default" : 20,
-          "format" : "int32"
-        }, {
-          "name" : "offset",
-          "in" : "query",
-          "description" : "Offset",
-          "required" : false,
-          "type" : "integer",
-          "default" : 0,
-          "format" : "int32"
-        }, {
-          "name" : "sort",
-          "in" : "query",
-          "description" : "Order of returned blueprint models",
-          "required" : false,
-          "type" : "string",
-          "default" : "DATE",
-          "enum" : [ "DATE", "NAME", "VERSION" ]
-        }, {
-          "name" : "sortType",
-          "in" : "query",
-          "description" : "Ascend or descend ordering",
-          "required" : false,
-          "type" : "string",
-          "default" : "ASC"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/PageBlueprintModelSearch"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/publish" : {
-      "post" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Publish a Blueprint Model",
-        "description" : "Validates the attached CBA file and saves it in CDS if validation was successful. CBA needs to be already enriched.",
-        "operationId" : "BlueprintModelController_publishBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "multipart/form-data" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "file",
-          "description" : "Enriched CBA zip file to be uploaded (example: cba_enriched.zip)",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/FilePart"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/BlueprintModelSearch"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/search/{tags}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Search for a Blueprint by Tag",
-        "description" : "Searches for all blueprint models which contain the specified input parameter in their tags. Blueprint models which contain just parts of the searched word in their tags are also returned.",
-        "operationId" : "BlueprintModelController_searchBlueprintModels_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "tags",
-          "in" : "path",
-          "description" : "Tag to search for",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "test"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/BlueprintModelSearch"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/workflow-spec" : {
-      "post" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Get Workflow Specification",
-        "description" : "Get the workflow of a blueprint identified by Blueprint and workflow name. Inputs, outputs and data types of workflow is returned.",
-        "operationId" : "BlueprintModelController_workflowSpec_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "application/json" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Blueprint and workflow identification",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/WorkFlowSpecRequest"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/workflows/blueprint-name/{name}/version/{version}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Get Workflows of a Blueprint",
-        "description" : "Get all available workflows of a Blueprint identified by its name and version.",
-        "operationId" : "BlueprintModelController_getWorkflowList_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "description" : "Name of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "pnf_netconf"
-        }, {
-          "name" : "version",
-          "in" : "path",
-          "description" : "Version of the blueprint model",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "1.0.0"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/blueprint-model/{id}" : {
-      "get" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Get a Blueprint Model by ID",
-        "description" : "Get meta-data of a blueprint model by its internally created ID.",
-        "operationId" : "BlueprintModelController_getBlueprintModel_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "id",
-          "in" : "path",
-          "description" : "ID of the blueprint model to search for",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "$ref" : "#/definitions/BlueprintModelSearch"
-            }
-          },
-          "404" : {
-            "description" : "Not Found"
-          }
-        }
-      },
-      "delete" : {
-        "tags" : [ "Blueprint Model Catalog" ],
-        "summary" : "Delete a Blueprint Model by ID",
-        "description" : "Delete a blueprint model by its ID. ID is the internally created ID of blueprint, not the name of blueprint.",
-        "operationId" : "BlueprintModelController_deleteBlueprint_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "parameters" : [ {
-          "name" : "id",
-          "in" : "path",
-          "description" : "ID of the blueprint model to delete",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "OK",
-            "schema" : {
-              "type" : "object"
-            }
-          },
-          "404" : {
-            "description" : "RESOURCE_NOT_FOUND"
-          }
-        }
-      }
-    },
-    "/api/v1/configs" : {
-      "get" : {
-        "tags" : [ "Resource configuration" ],
-        "summary" : "Retrieve a resource configuration snapshot",
-        "description" : "Retrieve a config snapshot, identified by its Resource Id and Type. An extra 'format' parameter can be passed to tell what content-type is expected.",
-        "operationId" : "ResourceConfigSnapshotController_get_GET.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",
-        "produces" : [ "text/plain", "application/json", "application/xml" ],
-        "parameters" : [ {
-          "name" : "resourceType",
-          "in" : "query",
-          "description" : "Resource Type associated of the resource configuration snapshot",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"PNF\""
-        }, {
-          "name" : "resourceId",
-          "in" : "query",
-          "description" : "Resource Id associated of the resource configuration snapshot",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"1\""
-        }, {
-          "name" : "status",
-          "in" : "query",
-          "description" : "Status of the snapshot being retrieved",
-          "required" : false,
-          "type" : "string",
-          "default" : "RUNNING"
-        }, {
-          "name" : "format",
-          "in" : "query",
-          "description" : "Expected format of the snapshot being retrieved",
-          "required" : false,
-          "type" : "string",
-          "default" : "text/plain"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "string"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/configs/allByID" : {
-      "get" : {
-        "tags" : [ "Resource configuration" ],
-        "summary" : "Retrieve all resource configuration snapshots identified by a given resource_id",
-        "description" : "Retrieve all config snapshots, identified by its Resource Id, ordered by most recently created/modified date. ",
-        "operationId" : "ResourceConfigSnapshotController_getAllByID_GET.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "resourceId",
-          "in" : "query",
-          "description" : "Resource Id associated of the resource configuration snapshots",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"1\""
-        }, {
-          "name" : "status",
-          "in" : "query",
-          "description" : "Status of the snapshot being retrieved",
-          "required" : false,
-          "type" : "string",
-          "default" : "ANY"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ResourceConfigSnapshot"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/configs/allByType" : {
-      "get" : {
-        "tags" : [ "Resource configuration" ],
-        "summary" : "Retrieve all resource configuration snapshots for a given resource type",
-        "description" : "Retrieve all config snapshots matching a specified Resource Type, ordered by most recently created/modified date. ",
-        "operationId" : "ResourceConfigSnapshotController_getAllByType_GET.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "resourceType",
-          "in" : "query",
-          "description" : "Resource Type associated of the resource configuration snapshot",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"PNF\""
-        }, {
-          "name" : "status",
-          "in" : "query",
-          "description" : "Status of the snapshot being retrieved",
-          "required" : false,
-          "type" : "string",
-          "default" : "ANY"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ResourceConfigSnapshot"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/configs/{resourceType}/{resourceId}/{status}" : {
-      "post" : {
-        "tags" : [ "Resource configuration" ],
-        "summary" : "Store a resource configuration snapshot identified by resourceId, resourceType, status",
-        "description" : "Store a resource configuration snapshot, identified by its resourceId and resourceType, and optionally its status, either RUNNING or CANDIDATE.",
-        "operationId" : "ResourceConfigSnapshotController_postWithResourceIdAndResourceType_POST.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "resourceType",
-          "in" : "path",
-          "description" : "Resource Type associated with the resolution",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"PNF\""
-        }, {
-          "name" : "resourceId",
-          "in" : "path",
-          "description" : "Resource Id associated with the resolution",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"1\""
-        }, {
-          "name" : "status",
-          "in" : "path",
-          "description" : "Status of the snapshot being retrieved",
-          "required" : true,
-          "type" : "string",
-          "default" : "RUNNING"
-        }, {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Config snapshot to store",
-          "required" : true,
-          "schema" : {
-            "type" : "string"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ResourceConfigSnapshot"
-            }
-          }
-        }
-      },
-      "delete" : {
-        "tags" : [ "Resource configuration" ],
-        "summary" : "Delete a resource configuration snapshot identified by resourceId, resourceType, status.",
-        "description" : "Delete a resource configuration snapshot, identified by its resourceId and resourceType, and optionally its status, either RUNNING or CANDIDATE.",
-        "operationId" : "ResourceConfigSnapshotController_deleteWithResourceIdAndResourceType_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",
-        "parameters" : [ {
-          "name" : "resourceType",
-          "in" : "path",
-          "description" : "Resource Type associated with the resolution.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resourceId",
-          "in" : "path",
-          "description" : "Resource Id associated with the resolution.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "status",
-          "in" : "path",
-          "description" : "Status of the snapshot being deleted.",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary" : {
-      "post" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Save a resource dictionary",
-        "description" : "Save a resource dictionary by dictionary provided.",
-        "operationId" : "ResourceDictionaryController_saveResourceDictionary_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "application/json" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Resource dictionary to store",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/ResourceDictionary"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ResourceDictionary"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary/by-names" : {
-      "post" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Search for a resource dictionary",
-        "description" : "Search for a resource dictionary by names provided.",
-        "operationId" : "ResourceDictionaryController_searchResourceDictionaryByNames_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "application/json" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "body",
-          "description" : "List of names",
-          "required" : true,
-          "schema" : {
-            "type" : "array",
-            "items" : {
-              "type" : "string"
-            }
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ResourceDictionary"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary/definition" : {
-      "post" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Save a resource dictionary",
-        "description" : "Save a resource dictionary by resource definition provided.",
-        "operationId" : "ResourceDictionaryController_saveResourceDictionary_1_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "consumes" : [ "application/json" ],
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Resource definition to generate",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/ResourceDefinition"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ResourceDefinition"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary/resource_dictionary_group" : {
-      "get" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Retrieve all resource dictionary groups",
-        "description" : "Retrieve all resource dictionary groups.",
-        "operationId" : "ResourceDictionaryController_getResourceDictionaryDistinct_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "type" : "string"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary/search/{tags}" : {
-      "get" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Search for a resource dictionary",
-        "description" : "Search for a resource dictionary by tags provided.",
-        "operationId" : "ResourceDictionaryController_searchResourceDictionaryByTags_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "tags",
-          "in" : "path",
-          "description" : "Tags list",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"status\""
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ResourceDictionary"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary/source-mapping" : {
-      "get" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Search for a source mapping",
-        "description" : "Search for a source mapping.",
-        "operationId" : "ResourceDictionaryController_getResourceSourceMapping_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ResourceSourceMapping"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/dictionary/{name}" : {
-      "get" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Retrieve a resource dictionary",
-        "description" : "Retrieve a resource dictionary by name provided.",
-        "operationId" : "ResourceDictionaryController_getResourceDictionaryByName_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "description" : "Name of the resource",
-          "required" : true,
-          "type" : "string",
-          "x-example" : "\"hostname\""
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ResourceDictionary"
-            }
-          }
-        }
-      },
-      "delete" : {
-        "tags" : [ "Resource dictionary" ],
-        "summary" : "Remove a resource dictionary",
-        "description" : "Remove a resource dictionary by name provided.",
-        "operationId" : "ResourceDictionaryController_deleteResourceDictionaryByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "description" : "Name of the resource",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/model-type/by-definition/{definitionType}" : {
-      "get" : {
-        "tags" : [ "Model Type Catalog" ],
-        "summary" : "Retrieve a list of model types",
-        "description" : "Retrieve a list of model types by definition type provided.",
-        "operationId" : "ModelTypeController_getModelTypeByDefinitionType_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "definitionType",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ModelType"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/model-type/search/{tags}" : {
-      "get" : {
-        "tags" : [ "Model Type Catalog" ],
-        "summary" : "Retrieve a list of model types",
-        "description" : "Retrieve a list of model types by tags provided.",
-        "operationId" : "ModelTypeController_searchModelTypes_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "tags",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ModelType"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/model-type/{name}" : {
-      "get" : {
-        "tags" : [ "Model Type Catalog" ],
-        "summary" : "Retrieve a model type",
-        "description" : "Retrieve a model type by name provided.",
-        "operationId" : "ModelTypeController_getModelTypeByName_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ModelType"
-            }
-          }
-        }
-      },
-      "delete" : {
-        "tags" : [ "Model Type Catalog" ],
-        "summary" : "Remove a model type",
-        "description" : "Remove a model type by name provided.",
-        "operationId" : "ModelTypeController_deleteModelTypeByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        "parameters" : [ {
-          "name" : "name",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/ModelType"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/resources" : {
-      "get" : {
-        "tags" : [ "Resources" ],
-        "summary" : "Get all resolved resources using the resolution key",
-        "description" : "Retrieve all stored resolved resources using the blueprint name, blueprint version, artifact name and the resolution-key.",
-        "operationId" : "ResourceController_getAllFromResolutionKeyOrFromResourceTypeAndId_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "query",
-          "description" : "Name of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "query",
-          "description" : "Version of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "query",
-          "description" : "Artifact name for which to retrieve a resolved resource",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resolutionKey",
-          "in" : "query",
-          "description" : "Resolution Key associated with the resolution",
-          "required" : false,
-          "type" : "string"
-        }, {
-          "name" : "resourceType",
-          "in" : "query",
-          "description" : "Resource Type associated with the resolution",
-          "required" : false,
-          "type" : "string"
-        }, {
-          "name" : "resourceId",
-          "in" : "query",
-          "description" : "Resource Id associated with the resolution",
-          "required" : false,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ResourceResolution"
-              }
-            }
-          }
-        }
-      },
-      "delete" : {
-        "tags" : [ "Resources" ],
-        "summary" : "Delete resources using resolution key",
-        "description" : "Delete all the resources associated to a resolution-key using blueprint metadata, artifact name and the resolution-key.",
-        "operationId" : "ResourceController_deleteResolutions_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "query",
-          "description" : "Name of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "query",
-          "description" : "Version of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "query",
-          "description" : "Artifact name for which to retrieve a resolved resource",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resolutionKey",
-          "in" : "query",
-          "description" : "Resolution Key associated with the resolution",
-          "required" : false,
-          "type" : "string"
-        }, {
-          "name" : "resourceType",
-          "in" : "query",
-          "description" : "resourceType associated with the resolution, must be used with resourceId",
-          "required" : false,
-          "type" : "string"
-        }, {
-          "name" : "resourceId",
-          "in" : "query",
-          "description" : "Resolution Key associated with the resolution, must be used with resourceType",
-          "required" : false,
-          "type" : "string"
-        }, {
-          "name" : "lastN",
-          "in" : "query",
-          "description" : "Only delete last N occurrences",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/resources/occurrences" : {
-      "get" : {
-        "tags" : [ "Resources" ],
-        "summary" : "Get the map of resolved resources with 'occurrence' as the keys to the resolved resources ",
-        "description" : "With optional 'occurrence' options, subset of stored resolved resources can be retrieved using the blueprint name, blueprint version, artifact name and the resolution-key.",
-        "operationId" : "ResourceController_getOccurrences_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "query",
-          "description" : "Name of the CBA.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "query",
-          "description" : "Version of the CBA.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "query",
-          "description" : "Artifact name for which to retrieve a resolved resource.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resolutionKey",
-          "in" : "query",
-          "description" : "Resolution Key associated with the resolution.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "firstN",
-          "in" : "query",
-          "description" : "Number of earlier N occurrences of the resolutions.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        }, {
-          "name" : "lastN",
-          "in" : "query",
-          "description" : "Number of latest N occurrences of the resolutions.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        }, {
-          "name" : "begin",
-          "in" : "query",
-          "description" : "For Range option - 'begin' is the start occurrence of range of the resolutions.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        }, {
-          "name" : "end",
-          "in" : "query",
-          "description" : "For Range option - 'end' is the end occurrence of the range of the resolutions.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/ResourceResolution"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/resources/resource" : {
-      "get" : {
-        "tags" : [ "Resources" ],
-        "summary" : "Fetch a resource value using resolution key",
-        "description" : "Retrieve a stored resource value using the blueprint metadata, artifact name, resolution-key along with the name of the resource value to retrieve.",
-        "operationId" : "ResourceController_getOneFromResolutionKey_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "query",
-          "description" : "Name of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "query",
-          "description" : "Version of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "query",
-          "description" : "Artifact name for which to retrieve a resolved resource",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resolutionKey",
-          "in" : "query",
-          "description" : "Resolution Key associated with the resolution",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "name",
-          "in" : "query",
-          "description" : "Name of the resource to retrieve",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "object"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/template/occurrences" : {
-      "get" : {
-        "tags" : [ "Resource template" ],
-        "summary" : "Get the map of resolved templates with 'occurrence' as the keys to the resolved templates ",
-        "description" : "With optional 'occurrence' options, subset of stored resolved templates can be retrieved using the blueprint name, blueprint version, artifact name and the resolution-key.",
-        "operationId" : "TemplateController_getOccurrences_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "query",
-          "description" : "Name of the CBA.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "query",
-          "description" : "Version of the CBA.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "query",
-          "description" : "Artifact name for which to retrieve a resolved resource.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resolutionKey",
-          "in" : "query",
-          "description" : "Resolution Key associated with the resolution.",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "firstN",
-          "in" : "query",
-          "description" : "Number of earlier N occurrences of the templates.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        }, {
-          "name" : "lastN",
-          "in" : "query",
-          "description" : "Number of latest N occurrences of the templates.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        }, {
-          "name" : "begin",
-          "in" : "query",
-          "description" : "For Range option - 'begin' is the start occurrence of range of the templates.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        }, {
-          "name" : "end",
-          "in" : "query",
-          "description" : "For Range option - 'end' is the end occurrence of the range of the templates.",
-          "required" : false,
-          "type" : "integer",
-          "format" : "int32"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "array",
-              "items" : {
-                "$ref" : "#/definitions/TemplateResolution"
-              }
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/template/{bpName}/{bpVersion}/{artifactName}/{resolutionKey}" : {
-      "post" : {
-        "tags" : [ "Resource template" ],
-        "summary" : "Store a resolved template w/ resolution-key",
-        "description" : "Store a template for a given CBA's action, identified by its blueprint name, blueprint version, artifact name and resolution key.",
-        "operationId" : "TemplateController_postWithResolutionKey_POST.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "path",
-          "description" : "Name of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "path",
-          "description" : "Version of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "path",
-          "description" : "Artifact name for which to retrieve a resolved resource",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resolutionKey",
-          "in" : "path",
-          "description" : "Resolution Key associated with the resolution",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Template to store",
-          "required" : true,
-          "schema" : {
-            "type" : "string"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/TemplateResolution"
-            }
-          }
-        }
-      }
-    },
-    "/api/v1/template/{bpName}/{bpVersion}/{artifactName}/{resourceType}/{resourceId}" : {
-      "post" : {
-        "tags" : [ "Resource template" ],
-        "summary" : "Store a resolved template w/ resourceId and resourceType",
-        "description" : "Store a template for a given CBA's action, identified by its blueprint name, blueprint version, artifact name, resourceId and resourceType.",
-        "operationId" : "TemplateController_postWithResourceIdAndResourceType_POST.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "bpName",
-          "in" : "path",
-          "description" : "Name of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "bpVersion",
-          "in" : "path",
-          "description" : "Version of the CBA",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "artifactName",
-          "in" : "path",
-          "description" : "Artifact name for which to retrieve a resolved resource",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resourceType",
-          "in" : "path",
-          "description" : "Resource Type associated with the resolution",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "resourceId",
-          "in" : "path",
-          "description" : "Resource Id associated with the resolution",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "in" : "body",
-          "name" : "body",
-          "description" : "Template to store",
-          "required" : true,
-          "schema" : {
-            "type" : "string"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/TemplateResolution"
-            }
-          }
-        }
-      }
-    }
-  },
-  "securityDefinitions" : {
-    "Basic Auth" : {
-      "type" : "basic"
-    }
-  },
-  "definitions" : {
-    "ArtifactDefinition" : {
-      "type" : "object",
-      "properties" : {
-        "type" : {
-          "type" : "string"
-        },
-        "file" : {
-          "type" : "string"
-        },
-        "repository" : {
-          "type" : "string"
-        },
-        "description" : {
-          "type" : "string"
-        },
-        "properties" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "deploy_Path" : {
-          "type" : "string"
-        }
-      }
-    },
-    "BlueprintModelSearch" : {
-      "type" : "object",
-      "required" : [ "artifactName", "artifactVersion", "createdDate", "id", "published", "tags", "updatedBy" ],
-      "properties" : {
-        "id" : {
-          "type" : "string",
-          "example" : "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
-          "description" : "ID of Blueprint model, is automatically created by CDS"
-        },
-        "artifactUUId" : {
-          "type" : "string",
-          "example" : null,
-          "description" : "Artifact UUID, usually null"
-        },
-        "artifactType" : {
-          "type" : "string",
-          "example" : "SDNC_MODEL",
-          "description" : "Artifact Type, usually null"
-        },
-        "artifactVersion" : {
-          "type" : "string",
-          "example" : "1.0.0",
-          "description" : "Artifact Version, usually 1.0.0"
-        },
-        "artifactDescription" : {
-          "type" : "string",
-          "example" : "",
-          "description" : "Artifact Description, usually empty"
-        },
-        "internalVersion" : {
-          "type" : "integer",
-          "format" : "int32",
-          "example" : null,
-          "description" : "Internal Version of CBA, usually null"
-        },
-        "createdDate" : {
-          "type" : "string",
-          "format" : "date-time",
-          "example" : "2020-11-19T10:34:56.000Z",
-          "description" : "Datetime of the creation of CBA in CDS"
-        },
-        "artifactName" : {
-          "type" : "string",
-          "example" : "pnf_netconf",
-          "description" : "Artifact Name, defined in Metadata"
-        },
-        "published" : {
-          "type" : "string",
-          "example" : "pnf_netconf",
-          "description" : "Artifact Name, defined in Metadata"
-        },
-        "updatedBy" : {
-          "type" : "string",
-          "example" : "Deutsche Telekom AG",
-          "description" : "Name of publisher, defined in Metadata"
-        },
-        "tags" : {
-          "type" : "string",
-          "example" : "test",
-          "description" : "Tags to identify the CBA, defined in Metadata"
-        }
-      }
-    },
-    "BootstrapRequest" : {
-      "type" : "object",
-      "required" : [ "loadCBA", "loadModelType", "loadResourceDictionary" ],
-      "properties" : {
-        "loadModelType" : {
-          "type" : "boolean",
-          "example" : true,
-          "description" : "Specifies if default model types should be loaded"
-        },
-        "loadResourceDictionary" : {
-          "type" : "boolean",
-          "example" : true,
-          "description" : "Specifies if default data dictionaries should be loaded"
-        },
-        "loadCBA" : {
-          "type" : "boolean",
-          "example" : true,
-          "description" : "Specifies if default blueprint models should be loaded"
-        }
-      }
-    },
-    "CapabilityAssignment" : {
-      "type" : "object",
-      "properties" : {
-        "attributes" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "properties" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        }
-      }
-    },
-    "ConstraintClause" : {
-      "type" : "object",
-      "properties" : {
-        "equal" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "length" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "pattern" : {
-          "type" : "string"
-        },
-        "schema" : {
-          "type" : "string"
-        },
-        "greater_than" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "greater_or_equal" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "less_than" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "less_or_equal" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "in_range" : {
-          "type" : "array",
-          "items" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "valid_values" : {
-          "type" : "array",
-          "items" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "min_length" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "max_length" : {
-          "$ref" : "#/definitions/JsonNode"
-        }
-      }
-    },
-    "EntrySchema" : {
-      "type" : "object",
-      "properties" : {
-        "type" : {
-          "type" : "string"
-        },
-        "constraints" : {
-          "type" : "array",
-          "items" : {
-            "$ref" : "#/definitions/ConstraintClause"
-          }
-        }
-      }
-    },
-    "FilePart" : {
-      "type" : "object"
-    },
-    "Implementation" : {
-      "type" : "object",
-      "properties" : {
-        "primary" : {
-          "type" : "string"
-        },
-        "dependencies" : {
-          "type" : "array",
-          "items" : {
-            "type" : "string"
-          }
-        },
-        "timeout" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "lock" : {
-          "$ref" : "#/definitions/LockAssignment"
-        },
-        "operation_host" : {
-          "type" : "string"
-        }
-      }
-    },
-    "InterfaceAssignment" : {
-      "type" : "object",
-      "properties" : {
-        "operations" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/OperationAssignment"
-          }
-        },
-        "inputs" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        }
-      }
-    },
-    "JsonNode" : {
-      "type" : "object",
-      "properties" : {
-        "float" : {
-          "type" : "boolean"
-        },
-        "array" : {
-          "type" : "boolean"
-        },
-        "null" : {
-          "type" : "boolean"
-        },
-        "valueNode" : {
-          "type" : "boolean"
-        },
-        "containerNode" : {
-          "type" : "boolean"
-        },
-        "missingNode" : {
-          "type" : "boolean"
-        },
-        "pojo" : {
-          "type" : "boolean"
-        },
-        "integralNumber" : {
-          "type" : "boolean"
-        },
-        "floatingPointNumber" : {
-          "type" : "boolean"
-        },
-        "textual" : {
-          "type" : "boolean"
-        },
-        "short" : {
-          "type" : "boolean"
-        },
-        "nodeType" : {
-          "type" : "string",
-          "enum" : [ "ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING" ]
-        },
-        "object" : {
-          "type" : "boolean"
-        },
-        "number" : {
-          "type" : "boolean"
-        },
-        "bigDecimal" : {
-          "type" : "boolean"
-        },
-        "bigInteger" : {
-          "type" : "boolean"
-        },
-        "double" : {
-          "type" : "boolean"
-        },
-        "long" : {
-          "type" : "boolean"
-        },
-        "int" : {
-          "type" : "boolean"
-        },
-        "boolean" : {
-          "type" : "boolean"
-        },
-        "binary" : {
-          "type" : "boolean"
-        }
-      }
-    },
-    "LockAssignment" : {
-      "type" : "object",
-      "properties" : {
-        "key" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "acquireTimeout" : {
-          "$ref" : "#/definitions/JsonNode"
-        }
-      }
-    },
-    "ModelType" : {
-      "type" : "object",
-      "required" : [ "definition", "definitionType", "derivedFrom", "description", "modelName", "tags", "updatedBy", "version" ],
-      "properties" : {
-        "modelName" : {
-          "type" : "string"
-        },
-        "derivedFrom" : {
-          "type" : "string"
-        },
-        "definitionType" : {
-          "type" : "string"
-        },
-        "definition" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "description" : {
-          "type" : "string"
-        },
-        "version" : {
-          "type" : "string"
-        },
-        "tags" : {
-          "type" : "string"
-        },
-        "creationDate" : {
-          "type" : "string",
-          "format" : "date-time"
-        },
-        "updatedBy" : {
-          "type" : "string"
-        }
-      }
-    },
-    "NodeFilterDefinition" : {
-      "type" : "object",
-      "properties" : {
-        "properties" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/PropertyDefinition"
-          }
-        },
-        "capabilities" : {
-          "type" : "array",
-          "items" : {
-            "type" : "string"
-          }
-        }
-      }
-    },
-    "NodeTemplate" : {
-      "type" : "object",
-      "properties" : {
-        "description" : {
-          "type" : "string"
-        },
-        "type" : {
-          "type" : "string"
-        },
-        "metadata" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "type" : "string"
-          }
-        },
-        "directives" : {
-          "type" : "array",
-          "items" : {
-            "type" : "string"
-          }
-        },
-        "properties" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "attributes" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "capabilities" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/CapabilityAssignment"
-          }
-        },
-        "requirements" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/RequirementAssignment"
-          }
-        },
-        "interfaces" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/InterfaceAssignment"
-          }
-        },
-        "artifacts" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/ArtifactDefinition"
-          }
-        },
-        "copy" : {
-          "type" : "string"
-        },
-        "node_filter" : {
-          "$ref" : "#/definitions/NodeFilterDefinition"
-        }
-      }
-    },
-    "OperationAssignment" : {
-      "type" : "object",
-      "properties" : {
-        "description" : {
-          "type" : "string"
-        },
-        "implementation" : {
-          "$ref" : "#/definitions/Implementation"
-        },
-        "inputs" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        },
-        "outputs" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/JsonNode"
-          }
-        }
-      }
-    },
-    "Page" : {
-      "type" : "object",
-      "properties" : {
-        "totalPages" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "totalElements" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
-        "number" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "sort" : {
-          "$ref" : "#/definitions/Sort"
-        },
-        "size" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "content" : {
-          "type" : "array",
-          "items" : {
-            "type" : "object"
-          }
-        },
-        "first" : {
-          "type" : "boolean"
-        },
-        "last" : {
-          "type" : "boolean"
-        },
-        "pageable" : {
-          "$ref" : "#/definitions/Pageable"
-        },
-        "numberOfElements" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "empty" : {
-          "type" : "boolean"
-        }
-      }
-    },
-    "PageBlueprintModelSearch" : {
-      "type" : "object",
-      "properties" : {
-        "totalPages" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "totalElements" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
-        "number" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "sort" : {
-          "$ref" : "#/definitions/Sort"
-        },
-        "size" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "content" : {
-          "type" : "array",
-          "items" : {
-            "$ref" : "#/definitions/BlueprintModelSearch"
-          }
-        },
-        "first" : {
-          "type" : "boolean"
-        },
-        "last" : {
-          "type" : "boolean"
-        },
-        "pageable" : {
-          "$ref" : "#/definitions/Pageable"
-        },
-        "numberOfElements" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "empty" : {
-          "type" : "boolean"
-        }
-      }
-    },
-    "Pageable" : {
-      "type" : "object",
-      "properties" : {
-        "sort" : {
-          "$ref" : "#/definitions/Sort"
-        },
-        "offset" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
-        "pageNumber" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "pageSize" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "paged" : {
-          "type" : "boolean"
-        },
-        "unpaged" : {
-          "type" : "boolean"
-        }
-      }
-    },
-    "PropertyDefinition" : {
-      "type" : "object",
-      "properties" : {
-        "description" : {
-          "type" : "string"
-        },
-        "required" : {
-          "type" : "boolean"
-        },
-        "type" : {
-          "type" : "string"
-        },
-        "status" : {
-          "type" : "string"
-        },
-        "constraints" : {
-          "type" : "array",
-          "items" : {
-            "$ref" : "#/definitions/ConstraintClause"
-          }
-        },
-        "metadata" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "type" : "string"
-          }
-        },
-        "value" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "input-param" : {
-          "type" : "boolean"
-        },
-        "default" : {
-          "$ref" : "#/definitions/JsonNode"
-        },
-        "entry_schema" : {
-          "$ref" : "#/definitions/EntrySchema"
-        },
-        "external-schema" : {
-          "type" : "string"
-        }
-      }
-    },
-    "RequirementAssignment" : {
-      "type" : "object",
-      "properties" : {
-        "capability" : {
-          "type" : "string"
-        },
-        "node" : {
-          "type" : "string"
-        },
-        "relationship" : {
-          "type" : "string"
-        }
-      }
-    },
-    "ResourceConfigSnapshot" : {
-      "type" : "object",
-      "required" : [ "config_snapshot", "createdDate", "resourceId", "resourceType", "status" ],
-      "properties" : {
-        "resourceType" : {
-          "type" : "string",
-          "example" : "ServiceInstance",
-          "description" : "Resource type."
-        },
-        "resourceId" : {
-          "type" : "string",
-          "example" : "1",
-          "description" : "ID associated with the resource type in the inventory system."
-        },
-        "status" : {
-          "type" : "string",
-          "description" : "Status of the snapshot, either running or candidate.",
-          "enum" : [ "RUNNING", "CANDIDATE" ]
-        },
-        "config_snapshot" : {
-          "type" : "string",
-          "example" : "config_snapshot",
-          "description" : "Snapshot of the resource as retrieved from resource."
-        },
-        "id" : {
-          "type" : "string"
-        },
-        "createdDate" : {
-          "type" : "string",
-          "format" : "date-time",
-          "description" : "Creation date of the snapshot."
-        }
-      }
-    },
-    "ResourceDefinition" : {
-      "type" : "object",
-      "required" : [ "group", "name", "property", "sources", "updated-by" ],
-      "properties" : {
-        "tags" : {
-          "type" : "string"
-        },
-        "name" : {
-          "type" : "string",
-          "example" : "default-source",
-          "description" : "Name"
-        },
-        "property" : {
-          "description" : "Property",
-          "$ref" : "#/definitions/PropertyDefinition"
-        },
-        "group" : {
-          "type" : "string",
-          "example" : "default",
-          "description" : "Group"
-        },
-        "updated-by" : {
-          "type" : "string",
-          "example" : "example@onap.com",
-          "description" : "Updated by"
-        },
-        "sources" : {
-          "type" : "object",
-          "example" : "sources",
-          "description" : "Sources",
-          "additionalProperties" : {
-            "$ref" : "#/definitions/NodeTemplate"
-          }
-        }
-      }
-    },
-    "ResourceDictionary" : {
-      "type" : "object",
-      "required" : [ "dataType", "definition", "description", "entrySchema", "name", "resourceDictionaryGroup", "tags", "updatedBy" ],
-      "properties" : {
-        "name" : {
-          "type" : "string",
-          "example" : "sample-db-source",
-          "description" : "Name"
-        },
-        "dataType" : {
-          "type" : "string",
-          "example" : "string",
-          "description" : "Data type"
-        },
-        "entrySchema" : {
-          "type" : "string",
-          "example" : "dt-license-key",
-          "description" : "Entry schema"
-        },
-        "resourceDictionaryGroup" : {
-          "type" : "string",
-          "example" : "default",
-          "description" : "Resource dictionary group"
-        },
-        "definition" : {
-          "description" : "Definition",
-          "$ref" : "#/definitions/ResourceDefinition"
-        },
-        "description" : {
-          "type" : "string",
-          "example" : "demo_artifacts_version",
-          "description" : "Description"
-        },
-        "tags" : {
-          "type" : "string",
-          "example" : "hostname",
-          "description" : "Tags"
-        },
-        "creationDate" : {
-          "type" : "string",
-          "format" : "date-time"
-        },
-        "updatedBy" : {
-          "type" : "string",
-          "example" : "username",
-          "description" : "Updated by"
-        }
-      }
-    },
-    "ResourceResolution" : {
-      "type" : "object",
-      "required" : [ "artifactName", "blueprintName", "blueprintVersion", "createdDate", "dictionaryName", "dictionarySource", "dictionaryVersion", "name", "occurrence", "resolutionKey", "resourceId", "resourceType", "status", "value" ],
-      "properties" : {
-        "blueprintName" : {
-          "type" : "string",
-          "description" : "Name of the CBA."
-        },
-        "blueprintVersion" : {
-          "type" : "string",
-          "description" : "Version of the CBA."
-        },
-        "artifactName" : {
-          "type" : "string",
-          "description" : "Artifact name for which to retrieve a resolved resource."
-        },
-        "name" : {
-          "type" : "string",
-          "description" : "Name of the resource."
-        },
-        "value" : {
-          "type" : "string",
-          "description" : "Value of the resolution."
-        },
-        "status" : {
-          "type" : "string",
-          "description" : "Whether success of failure."
-        },
-        "resolutionKey" : {
-          "type" : "string",
-          "description" : "Resolution Key uniquely identifying the resolution of a given artifact within a CBA."
-        },
-        "resourceType" : {
-          "type" : "string",
-          "example" : "ServiceInstance",
-          "description" : "Resolution type."
-        },
-        "resourceId" : {
-          "type" : "string",
-          "description" : "ID associated with the resolution type in the inventory system."
-        },
-        "occurrence" : {
-          "type" : "integer",
-          "format" : "int32",
-          "description" : "If resolution occurred multiple time, this field provides the index."
-        },
-        "dictionaryName" : {
-          "type" : "string",
-          "description" : "Name of the data dictionary used for the resolution."
-        },
-        "dictionarySource" : {
-          "type" : "string",
-          "description" : "Source associated with the data dictionary used for the resolution."
-        },
-        "dictionaryVersion" : {
-          "type" : "integer",
-          "format" : "int32",
-          "description" : "Version of the data dictionary used for the resolution."
-        },
-        "id" : {
-          "type" : "string"
-        },
-        "createdDate" : {
-          "type" : "string",
-          "format" : "date-time",
-          "description" : "Creation date of the resolution."
-        }
-      }
-    },
-    "ResourceSourceMapping" : {
-      "type" : "object",
-      "properties" : {
-        "resourceSourceMappings" : {
-          "type" : "object",
-          "additionalProperties" : {
-            "type" : "string"
-          }
-        }
-      }
-    },
-    "Sort" : {
-      "type" : "object",
-      "properties" : {
-        "empty" : {
-          "type" : "boolean"
-        },
-        "unsorted" : {
-          "type" : "boolean"
-        },
-        "sorted" : {
-          "type" : "boolean"
-        }
-      }
-    },
-    "TemplateResolution" : {
-      "type" : "object",
-      "required" : [ "artifactName", "blueprintName", "blueprintVersion", "createdDate", "occurrence", "resolutionKey", "resourceId", "resourceType", "result" ],
-      "properties" : {
-        "blueprintName" : {
-          "type" : "string",
-          "description" : "Name of the CBA."
-        },
-        "blueprintVersion" : {
-          "type" : "string",
-          "description" : "Version of the CBA."
-        },
-        "artifactName" : {
-          "type" : "string",
-          "description" : "Artifact name for which to retrieve a resolved resource."
-        },
-        "result" : {
-          "type" : "string",
-          "description" : "Rendered template."
-        },
-        "resolutionKey" : {
-          "type" : "string",
-          "description" : "Resolution Key uniquely identifying the resolution of a given artifact within a CBA."
-        },
-        "resourceType" : {
-          "type" : "string",
-          "example" : "ServiceInstance",
-          "description" : "Resolution type."
-        },
-        "resourceId" : {
-          "type" : "string",
-          "description" : "ID associated with the resolution type in the inventory system."
-        },
-        "occurrence" : {
-          "type" : "integer",
-          "format" : "int32",
-          "description" : "If resolution occurred multiple time, this field provides the index."
-        },
-        "id" : {
-          "type" : "string"
-        },
-        "createdDate" : {
-          "type" : "string",
-          "format" : "date-time",
-          "description" : "Creation date of the resolution."
-        }
-      }
-    },
-    "WorkFlowSpecRequest" : {
-      "type" : "object",
-      "required" : [ "blueprintName", "workflowName" ],
-      "properties" : {
-        "blueprintName" : {
-          "type" : "string",
-          "example" : "pnf_netconf",
-          "description" : "Name of the BLueprint"
-        },
-        "version" : {
-          "type" : "string"
-        },
-        "returnContent" : {
-          "type" : "string"
-        },
-        "workflowName" : {
-          "type" : "string",
-          "example" : "config-assign",
-          "description" : "Name of the Workflow"
-        },
-        "specType" : {
-          "type" : "string"
-        }
-      }
-    }
-  }
+{\r
+  "swagger" : "2.0",\r
+  "info" : {\r
+    "description" : "Shows all resources and endpoints which CDS BP processor currently provides with sample requests/responses, parameter description and other information.",\r
+    "version" : "v1",\r
+    "title" : "CDS Blueprint Processor API Reference",\r
+    "termsOfService" : "https://www.onap.org/",\r
+    "contact" : {\r
+      "name" : "ONAP Community",\r
+      "url" : "https://www.onap.org/",\r
+      "email" : "onap-discuss@lists.onap.org"\r
+    },\r
+    "license" : {\r
+      "name" : "Apache 2.0",\r
+      "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"\r
+    }\r
+  },\r
+  "host" : "localhost:8080",\r
+  "tags" : [ {\r
+    "name" : "Blueprint Model Catalog",\r
+    "description" : "Manages all blueprint models which are available in CDS"\r
+  }, {\r
+    "name" : "Execution Service Catalog",\r
+    "description" : "Interaction with CBA which are available in CDS"\r
+  }, {\r
+    "name" : "Model Type Catalog",\r
+    "description" : "Manages data types in CDS"\r
+  }, {\r
+    "name" : "Resource configuration",\r
+    "description" : "Interaction with stored configurations"\r
+  }, {\r
+    "name" : "Resource Dictionary",\r
+    "description" : "Interaction with stored dictionaries"\r
+  }, {\r
+    "name" : "Resource Template",\r
+    "description" : "Interaction with resolved templates"\r
+  }, {\r
+    "name" : "Resources",\r
+    "description" : "Interaction with resolved resources"\r
+  } ],\r
+  "schemes" : [ "http" ],\r
+  "paths" : {\r
+    "/api/v1/blueprint-model" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "List all Blueprint Models",\r
+        "description" : "Lists all meta-data of blueprint models which are saved in CDS.",\r
+        "operationId" : "BlueprintModelController_allBlueprintModel_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/BlueprintModelSearch"\r
+              }\r
+            }\r
+          },\r
+          "500" : {\r
+            "description" : "Internal Server Error"\r
+          }\r
+        }\r
+      },\r
+      "post" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Save a Blueprint Model",\r
+        "description" : "Saves a blueprint model by the given CBA zip file input. There is no validation of the attached CBA happening when this API is called.",\r
+        "operationId" : "BlueprintModelController_saveBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "multipart/form-data" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "file",\r
+          "description" : "CBA file to be uploaded (example: cba.zip)",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/FilePart"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/BlueprintModelSearch"\r
+            }\r
+          },\r
+          "500" : {\r
+            "description" : "Internal Server Error"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/bootstrap" : {\r
+      "post" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Bootstrap CDS",\r
+        "description" : "Loads all Model Types, Resource Dictionaries and Blueprint Models which are included in CDS by default. Before starting to work with CDS, bootstrap should be called to load all the basic models that each orginization might support. Parameter values can be set as `false`  to skip loading e.g. the Resource Dictionaries but this is not recommended.",\r
+        "operationId" : "BlueprintModelController_bootstrap_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "application/json" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Specifies which elements to load",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/BootstrapRequest"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          },\r
+          "500" : {\r
+            "description" : "Internal Server Error"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/by-name/{name}/version/{version}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Get a Blueprint Model by Name and Version",\r
+        "description" : "Get Meta-Data of a Blueprint Model by its name and version.",\r
+        "operationId" : "BlueprintModelController_getBlueprintByNameAndVersion_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "description" : "Name of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "pnf_netconf"\r
+        }, {\r
+          "name" : "version",\r
+          "in" : "path",\r
+          "description" : "Version of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "1.0.0"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/BlueprintModelSearch"\r
+            }\r
+          },\r
+          "404" : {\r
+            "description" : "Not Found"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/download/by-name/{name}/version/{version}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Download a Blueprint Model",\r
+        "description" : "Gets the CBA of a blueprint model by its name and version. Response can be saved to a file to download the CBA.",\r
+        "operationId" : "BlueprintModelController_downloadBlueprintByNameAndVersion_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "description" : "Name of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "pnf_netconf"\r
+        }, {\r
+          "name" : "version",\r
+          "in" : "path",\r
+          "description" : "Version of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "1.0.0"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          },\r
+          "404" : {\r
+            "description" : "Not Found"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/download/{id}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Download a Blueprint Model by ID",\r
+        "description" : "Gets the CBA of a blueprint model by its ID. Response can be saved to a file to download the CBA.",\r
+        "operationId" : "BlueprintModelController_downloadBluePrint_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "id",\r
+          "in" : "path",\r
+          "description" : "ID of the blueprint model to download",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          },\r
+          "404" : {\r
+            "description" : "Not Found"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/enrich" : {\r
+      "post" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Enrich a Blueprint Model",\r
+        "description" : "Enriches the attached CBA and returns the enriched CBA zip file in the response. The enrichment process will complete the package by providing all the definition of types used.",\r
+        "operationId" : "BlueprintModelController_enrichBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "multipart/form-data" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "file",\r
+          "description" : "CBA zip file to be uploaded (example: cba_unenriched.zip)",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/FilePart"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/enrichandpublish" : {\r
+      "post" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Enrich and publish a Blueprint Model",\r
+        "description" : "Enriches the attached CBA, validates it and saves it in CDS if validation was successful.",\r
+        "operationId" : "BlueprintModelController_enrichAndPubishlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "multipart/form-data" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "file",\r
+          "description" : "Unenriched CBA zip file to be uploaded (example: cba_unenriched.zip)",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/FilePart"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/BlueprintModelSearch"\r
+            }\r
+          },\r
+          "503" : {\r
+            "description" : "Service Unavailable"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/meta-data/{keyword}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Search for Blueprints by a Keyword",\r
+        "description" : "Lists all blueprint models by a matching keyword in any of the meta-data of the blueprint models. Blueprint models are just returned if a whole keyword is matching, not just parts of it. Not case-sensitive. Used by CDS UI.",\r
+        "operationId" : "BlueprintModelController_allBlueprintModelMetaData_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "keyword",\r
+          "in" : "path",\r
+          "description" : "Keyword to search for in blueprint model meta-data",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "pnf_netconf"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/BlueprintModelSearch"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/name/{name}/version/{version}" : {\r
+      "delete" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Delete a Blueprint Model by Name",\r
+        "description" : "Deletes a blueprint model identified by its name and version from CDS.",\r
+        "operationId" : "BlueprintModelController_deleteBlueprintByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "description" : "Name of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "pnf_netconf"\r
+        }, {\r
+          "name" : "version",\r
+          "in" : "path",\r
+          "description" : "Version of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "1.0.0"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/paged" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Get Blueprints ordered",\r
+        "description" : "Lists all blueprint models which are saved in CDS in an ordered mode.",\r
+        "operationId" : "BlueprintModelController_allBlueprintModelPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "limit",\r
+          "in" : "query",\r
+          "description" : "Maximum number of returned blueprint models",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "default" : 20,\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "offset",\r
+          "in" : "query",\r
+          "description" : "Offset",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "default" : 0,\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "sort",\r
+          "in" : "query",\r
+          "description" : "Order of returned blueprint models",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "DATE",\r
+          "enum" : [ "DATE", "NAME", "VERSION" ]\r
+        }, {\r
+          "name" : "sortType",\r
+          "in" : "query",\r
+          "description" : "Ascend or descend ordering",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "ASC"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/PageBlueprintModelSearch"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/paged/meta-data/{keyword}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Search for Blueprints by a Keyword in an ordered mode",\r
+        "description" : "Lists all blueprint models by a matching keyword in any of the meta-data of the blueprint models in an ordered mode. Blueprint models are just returned if a whole keyword is matching, not just parts of it. Not case-sensitive. Used by CDS UI.",\r
+        "operationId" : "BlueprintModelController_allBlueprintModelMetaDataPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "keyword",\r
+          "in" : "path",\r
+          "description" : "Keyword to search for in blueprint model meta-data",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "pnf_netconf"\r
+        }, {\r
+          "name" : "limit",\r
+          "in" : "query",\r
+          "description" : "Maximum number of returned blueprint models",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "default" : 20,\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "offset",\r
+          "in" : "query",\r
+          "description" : "Offset",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "default" : 0,\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "sort",\r
+          "in" : "query",\r
+          "description" : "Order of returned blueprint models",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "DATE",\r
+          "enum" : [ "DATE", "NAME", "VERSION" ]\r
+        }, {\r
+          "name" : "sortType",\r
+          "in" : "query",\r
+          "description" : "Ascend or descend ordering",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "ASC"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/PageBlueprintModelSearch"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/publish" : {\r
+      "post" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Publish a Blueprint Model",\r
+        "description" : "Validates the attached CBA file and saves it in CDS if validation was successful. CBA needs to be already enriched.",\r
+        "operationId" : "BlueprintModelController_publishBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "multipart/form-data" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "file",\r
+          "description" : "Enriched CBA zip file to be uploaded (example: cba_enriched.zip)",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/FilePart"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/BlueprintModelSearch"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/search/{tags}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Search for a Blueprint by Tag",\r
+        "description" : "Searches for all blueprint models which contain the specified input parameter in their tags. Blueprint models which contain just parts of the searched word in their tags are also returned.",\r
+        "operationId" : "BlueprintModelController_searchBlueprintModels_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "tags",\r
+          "in" : "path",\r
+          "description" : "Tag to search for",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "test"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/BlueprintModelSearch"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/workflow-spec" : {\r
+      "post" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Get Workflow Specification",\r
+        "description" : "Get the workflow of a blueprint identified by Blueprint and workflow name. Inputs, outputs and data types of workflow is returned.",\r
+        "operationId" : "BlueprintModelController_workflowSpec_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "application/json" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Blueprint and workflow identification",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/WorkFlowSpecRequest"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/workflows/blueprint-name/{name}/version/{version}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Get Workflows of a Blueprint",\r
+        "description" : "Get all available workflows of a Blueprint identified by its name and version.",\r
+        "operationId" : "BlueprintModelController_getWorkflowList_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "description" : "Name of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "pnf_netconf"\r
+        }, {\r
+          "name" : "version",\r
+          "in" : "path",\r
+          "description" : "Version of the blueprint model",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "1.0.0"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/blueprint-model/{id}" : {\r
+      "get" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Get a Blueprint Model by ID",\r
+        "description" : "Get meta-data of a blueprint model by its internally created ID.",\r
+        "operationId" : "BlueprintModelController_getBlueprintModel_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "id",\r
+          "in" : "path",\r
+          "description" : "ID of the blueprint model to search for",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/BlueprintModelSearch"\r
+            }\r
+          },\r
+          "404" : {\r
+            "description" : "Not Found"\r
+          }\r
+        }\r
+      },\r
+      "delete" : {\r
+        "tags" : [ "Blueprint Model Catalog" ],\r
+        "summary" : "Delete a Blueprint Model by ID",\r
+        "description" : "Delete a blueprint model by its ID. ID is the internally created ID of blueprint, not the name of blueprint.",\r
+        "operationId" : "BlueprintModelController_deleteBlueprint_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "parameters" : [ {\r
+          "name" : "id",\r
+          "in" : "path",\r
+          "description" : "ID of the blueprint model to delete",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "OK",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          },\r
+          "404" : {\r
+            "description" : "RESOURCE_NOT_FOUND"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/configs" : {\r
+      "get" : {\r
+        "tags" : [ "Resource configuration" ],\r
+        "summary" : "Retrieve a resource configuration snapshot",\r
+        "description" : "Retrieve a config snapshot, identified by its Resource Id and Type. An extra 'format' parameter can be passed to tell what content-type is expected.",\r
+        "operationId" : "ResourceConfigSnapshotController_get_GET.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",\r
+        "produces" : [ "text/plain", "application/json", "application/xml" ],\r
+        "parameters" : [ {\r
+          "name" : "resourceType",\r
+          "in" : "query",\r
+          "description" : "Resource Type associated of the resource configuration snapshot",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"PNF\""\r
+        }, {\r
+          "name" : "resourceId",\r
+          "in" : "query",\r
+          "description" : "Resource Id associated of the resource configuration snapshot",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"1\""\r
+        }, {\r
+          "name" : "status",\r
+          "in" : "query",\r
+          "description" : "Status of the snapshot being retrieved",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "RUNNING"\r
+        }, {\r
+          "name" : "format",\r
+          "in" : "query",\r
+          "description" : "Expected format of the snapshot being retrieved",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "text/plain"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "string"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/configs/allByID" : {\r
+      "get" : {\r
+        "tags" : [ "Resource configuration" ],\r
+        "summary" : "Retrieve all resource configuration snapshots identified by a given resource_id",\r
+        "description" : "Retrieve all config snapshots, identified by its Resource Id, ordered by most recently created/modified date. ",\r
+        "operationId" : "ResourceConfigSnapshotController_getAllByID_GET.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "resourceId",\r
+          "in" : "query",\r
+          "description" : "Resource Id associated of the resource configuration snapshots",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"1\""\r
+        }, {\r
+          "name" : "status",\r
+          "in" : "query",\r
+          "description" : "Status of the snapshot being retrieved",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "ANY"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ResourceConfigSnapshot"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/configs/allByType" : {\r
+      "get" : {\r
+        "tags" : [ "Resource configuration" ],\r
+        "summary" : "Retrieve all resource configuration snapshots for a given resource type",\r
+        "description" : "Retrieve all config snapshots matching a specified Resource Type, ordered by most recently created/modified date. ",\r
+        "operationId" : "ResourceConfigSnapshotController_getAllByType_GET.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "resourceType",\r
+          "in" : "query",\r
+          "description" : "Resource Type associated of the resource configuration snapshot",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"PNF\""\r
+        }, {\r
+          "name" : "status",\r
+          "in" : "query",\r
+          "description" : "Status of the snapshot being retrieved",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "ANY"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ResourceConfigSnapshot"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/configs/{resourceType}/{resourceId}/{status}" : {\r
+      "post" : {\r
+        "tags" : [ "Resource configuration" ],\r
+        "summary" : "Store a resource configuration snapshot identified by resourceId, resourceType, status",\r
+        "description" : "Store a resource configuration snapshot, identified by its resourceId and resourceType, and optionally its status, either RUNNING or CANDIDATE.",\r
+        "operationId" : "ResourceConfigSnapshotController_postWithResourceIdAndResourceType_POST.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "resourceType",\r
+          "in" : "path",\r
+          "description" : "Resource Type associated with the resolution",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"PNF\""\r
+        }, {\r
+          "name" : "resourceId",\r
+          "in" : "path",\r
+          "description" : "Resource Id associated with the resolution",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"1\""\r
+        }, {\r
+          "name" : "status",\r
+          "in" : "path",\r
+          "description" : "Status of the snapshot being retrieved",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "default" : "RUNNING"\r
+        }, {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Config snapshot to store",\r
+          "required" : true,\r
+          "schema" : {\r
+            "type" : "string"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ResourceConfigSnapshot"\r
+            }\r
+          }\r
+        }\r
+      },\r
+      "delete" : {\r
+        "tags" : [ "Resource configuration" ],\r
+        "summary" : "Delete a resource configuration snapshot identified by resourceId, resourceType, status.",\r
+        "description" : "Delete a resource configuration snapshot, identified by its resourceId and resourceType, and optionally its status, either RUNNING or CANDIDATE.",\r
+        "operationId" : "ResourceConfigSnapshotController_deleteWithResourceIdAndResourceType_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.configs.api",\r
+        "parameters" : [ {\r
+          "name" : "resourceType",\r
+          "in" : "path",\r
+          "description" : "Resource Type associated with the resolution.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceId",\r
+          "in" : "path",\r
+          "description" : "Resource Id associated with the resolution.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "status",\r
+          "in" : "path",\r
+          "description" : "Status of the snapshot being deleted.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary" : {\r
+      "post" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Save a resource dictionary",\r
+        "description" : "Save a resource dictionary by dictionary provided.",\r
+        "operationId" : "ResourceDictionaryController_saveResourceDictionary_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "application/json" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Resource dictionary to store",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/ResourceDictionary"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ResourceDictionary"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/by-names" : {\r
+      "post" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Search for a resource dictionary",\r
+        "description" : "Search for a resource dictionary by names provided.",\r
+        "operationId" : "ResourceDictionaryController_searchResourceDictionaryByNames_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "application/json" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "List of names",\r
+          "required" : true,\r
+          "schema" : {\r
+            "type" : "array",\r
+            "items" : {\r
+              "type" : "string"\r
+            }\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ResourceDictionary"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/definition" : {\r
+      "post" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Save a resource dictionary",\r
+        "description" : "Save a resource dictionary by provided resource definition json.",\r
+        "operationId" : "ResourceDictionaryController_saveResourceDictionary_1_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "application/json" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Resource definition to generate Resource Dictionary",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/ResourceDefinition"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ResourceDictionary"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/definition-bulk" : {\r
+      "post" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Save multiple resource dictionaries",\r
+        "description" : "Save multiple resource dictionaries by provided resource definition json array.",\r
+        "operationId" : "ResourceDictionaryController_saveAllResourceDictionary_1_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "consumes" : [ "application/json" ],\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Resource definition json array to generate Resource Dictionaries",\r
+          "required" : true,\r
+          "schema" : {\r
+            "type" : "array",\r
+            "items" : {\r
+              "$ref" : "#/definitions/ResourceDefinition"\r
+            }\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ResourceDictionary"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/paged" : {\r
+      "get" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Get Blueprints Dictionary ordered",\r
+        "description" : "Lists all blueprint Dictionary which are saved in CDS in an ordered mode.",\r
+        "operationId" : "BlueprintModelController_allBlueprintDictionaryPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "limit",\r
+          "in" : "query",\r
+          "description" : "Maximum number of returned blueprint dictionary",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "default" : 20,\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "offset",\r
+          "in" : "query",\r
+          "description" : "Offset",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "default" : 0,\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "sort",\r
+          "in" : "query",\r
+          "description" : "Order of returned blueprint dictionary",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "DATE",\r
+          "enum" : [ "DATE" ]\r
+        }, {\r
+          "name" : "sortType",\r
+          "in" : "query",\r
+          "description" : "Ascend or descend ordering",\r
+          "required" : false,\r
+          "type" : "string",\r
+          "default" : "ASC"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/resource_dictionary_group" : {\r
+      "get" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Retrieve all resource dictionary groups",\r
+        "description" : "Retrieve all resource dictionary groups.",\r
+        "operationId" : "ResourceDictionaryController_getResourceDictionaryDistinct_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "type" : "string"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/search/{tags}" : {\r
+      "get" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Search for a resource dictionary",\r
+        "description" : "Search for a resource dictionary by tags provided.",\r
+        "operationId" : "ResourceDictionaryController_searchResourceDictionaryByTags_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "tags",\r
+          "in" : "path",\r
+          "description" : "Tags list",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"status\""\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ResourceDictionary"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/source-mapping" : {\r
+      "get" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Search for a source mapping",\r
+        "description" : "Search for a source mapping.",\r
+        "operationId" : "ResourceDictionaryController_getResourceSourceMapping_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ResourceSourceMapping"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/dictionary/{name}" : {\r
+      "get" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Retrieve a resource dictionary",\r
+        "description" : "Retrieve a resource dictionary by name provided.",\r
+        "operationId" : "ResourceDictionaryController_getResourceDictionaryByName_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "description" : "Name of the resource",\r
+          "required" : true,\r
+          "type" : "string",\r
+          "x-example" : "\"hostname\""\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ResourceDictionary"\r
+            }\r
+          }\r
+        }\r
+      },\r
+      "delete" : {\r
+        "tags" : [ "Resource Dictionary" ],\r
+        "summary" : "Remove a resource dictionary",\r
+        "description" : "Remove a resource dictionary by name provided.",\r
+        "operationId" : "ResourceDictionaryController_deleteResourceDictionaryByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "description" : "Name of the resource",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/execution-service/process" : {\r
+      "post" : {\r
+        "tags" : [ "Execution Service Catalog" ],\r
+        "summary" : "Execute a CBA workflow (action)",\r
+        "description" : "Execute the appropriate CBA's action based on the ExecutionServiceInput object passed as input.",\r
+        "operationId" : "ExecutionServiceController_process_POST.org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "ExecutionServiceInput payload.",\r
+          "required" : true,\r
+          "schema" : {\r
+            "$ref" : "#/definitions/ExecutionServiceInput"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ExecutionServiceOutput"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/model-type/by-definition/{definitionType}" : {\r
+      "get" : {\r
+        "tags" : [ "Model Type Catalog" ],\r
+        "summary" : "Retrieve a list of model types",\r
+        "description" : "Retrieve a list of model types by definition type provided.",\r
+        "operationId" : "ModelTypeController_getModelTypeByDefinitionType_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "definitionType",\r
+          "in" : "path",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ModelType"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/model-type/search/{tags}" : {\r
+      "get" : {\r
+        "tags" : [ "Model Type Catalog" ],\r
+        "summary" : "Retrieve a list of model types",\r
+        "description" : "Retrieve a list of model types by tags provided.",\r
+        "operationId" : "ModelTypeController_searchModelTypes_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "tags",\r
+          "in" : "path",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ModelType"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/model-type/{name}" : {\r
+      "get" : {\r
+        "tags" : [ "Model Type Catalog" ],\r
+        "summary" : "Retrieve a model type",\r
+        "description" : "Retrieve a model type by name provided.",\r
+        "operationId" : "ModelTypeController_getModelTypeByName_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ModelType"\r
+            }\r
+          }\r
+        }\r
+      },\r
+      "delete" : {\r
+        "tags" : [ "Model Type Catalog" ],\r
+        "summary" : "Remove a model type",\r
+        "description" : "Remove a model type by name provided.",\r
+        "operationId" : "ModelTypeController_deleteModelTypeByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",\r
+        "parameters" : [ {\r
+          "name" : "name",\r
+          "in" : "path",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/ModelType"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/resources" : {\r
+      "get" : {\r
+        "tags" : [ "Resources" ],\r
+        "summary" : "Get all resolved resources using the resolution key",\r
+        "description" : "Retrieve all stored resolved resources using the blueprint name, blueprint version, artifact name and the resolution-key.",\r
+        "operationId" : "ResourceController_getAllFromResolutionKeyOrFromResourceTypeAndId_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "query",\r
+          "description" : "Name of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "query",\r
+          "description" : "Version of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "query",\r
+          "description" : "Artifact name for which to retrieve a resolved resource",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resolutionKey",\r
+          "in" : "query",\r
+          "description" : "Resolution Key associated with the resolution",\r
+          "required" : false,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceType",\r
+          "in" : "query",\r
+          "description" : "Resource Type associated with the resolution",\r
+          "required" : false,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceId",\r
+          "in" : "query",\r
+          "description" : "Resource Id associated with the resolution",\r
+          "required" : false,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ResourceResolution"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      },\r
+      "delete" : {\r
+        "tags" : [ "Resources" ],\r
+        "summary" : "Delete resources using resolution key",\r
+        "description" : "Delete all the resources associated to a resolution-key using blueprint metadata, artifact name and the resolution-key.",\r
+        "operationId" : "ResourceController_deleteResolutions_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "query",\r
+          "description" : "Name of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "query",\r
+          "description" : "Version of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "query",\r
+          "description" : "Artifact name for which to retrieve a resolved resource",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resolutionKey",\r
+          "in" : "query",\r
+          "description" : "Resolution Key associated with the resolution",\r
+          "required" : false,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceType",\r
+          "in" : "query",\r
+          "description" : "resourceType associated with the resolution, must be used with resourceId",\r
+          "required" : false,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceId",\r
+          "in" : "query",\r
+          "description" : "Resolution Key associated with the resolution, must be used with resourceType",\r
+          "required" : false,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "lastN",\r
+          "in" : "query",\r
+          "description" : "Only delete last N occurrences",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/resources/occurrences" : {\r
+      "get" : {\r
+        "tags" : [ "Resources" ],\r
+        "summary" : "Get the map of resolved resources with 'occurrence' as the keys to the resolved resources ",\r
+        "description" : "With optional 'occurrence' options, subset of stored resolved resources can be retrieved using the blueprint name, blueprint version, artifact name and the resolution-key.",\r
+        "operationId" : "ResourceController_getOccurrences_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "query",\r
+          "description" : "Name of the CBA.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "query",\r
+          "description" : "Version of the CBA.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "query",\r
+          "description" : "Artifact name for which to retrieve a resolved resource.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resolutionKey",\r
+          "in" : "query",\r
+          "description" : "Resolution Key associated with the resolution.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "firstN",\r
+          "in" : "query",\r
+          "description" : "Number of earlier N occurrences of the resolutions.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "lastN",\r
+          "in" : "query",\r
+          "description" : "Number of latest N occurrences of the resolutions.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "begin",\r
+          "in" : "query",\r
+          "description" : "For Range option - 'begin' is the start occurrence of range of the resolutions.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "end",\r
+          "in" : "query",\r
+          "description" : "For Range option - 'end' is the end occurrence of the range of the resolutions.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/ResourceResolution"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/resources/resource" : {\r
+      "get" : {\r
+        "tags" : [ "Resources" ],\r
+        "summary" : "Fetch a resource value using resolution key",\r
+        "description" : "Retrieve a stored resource value using the blueprint metadata, artifact name, resolution-key along with the name of the resource value to retrieve.",\r
+        "operationId" : "ResourceController_getOneFromResolutionKey_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "query",\r
+          "description" : "Name of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "query",\r
+          "description" : "Version of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "query",\r
+          "description" : "Artifact name for which to retrieve a resolved resource",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resolutionKey",\r
+          "in" : "query",\r
+          "description" : "Resolution Key associated with the resolution",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "name",\r
+          "in" : "query",\r
+          "description" : "Name of the resource to retrieve",\r
+          "required" : true,\r
+          "type" : "string"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "object"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/template/occurrences" : {\r
+      "get" : {\r
+        "tags" : [ "Resource Template" ],\r
+        "summary" : "Get the map of resolved templates with 'occurrence' as the keys to the resolved templates ",\r
+        "description" : "With optional 'occurrence' options, subset of stored resolved templates can be retrieved using the blueprint name, blueprint version, artifact name and the resolution-key.",\r
+        "operationId" : "TemplateController_getOccurrences_GET.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "query",\r
+          "description" : "Name of the CBA.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "query",\r
+          "description" : "Version of the CBA.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "query",\r
+          "description" : "Artifact name for which to retrieve a resolved resource.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resolutionKey",\r
+          "in" : "query",\r
+          "description" : "Resolution Key associated with the resolution.",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "firstN",\r
+          "in" : "query",\r
+          "description" : "Number of earlier N occurrences of the templates.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "lastN",\r
+          "in" : "query",\r
+          "description" : "Number of latest N occurrences of the templates.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "begin",\r
+          "in" : "query",\r
+          "description" : "For Range option - 'begin' is the start occurrence of range of the templates.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        }, {\r
+          "name" : "end",\r
+          "in" : "query",\r
+          "description" : "For Range option - 'end' is the end occurrence of the range of the templates.",\r
+          "required" : false,\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "type" : "array",\r
+              "items" : {\r
+                "$ref" : "#/definitions/TemplateResolution"\r
+              }\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/template/{bpName}/{bpVersion}/{artifactName}/{resolutionKey}" : {\r
+      "post" : {\r
+        "tags" : [ "Resource Template" ],\r
+        "summary" : "Store a resolved template w/ resolution-key",\r
+        "description" : "Store a template for a given CBA's action, identified by its blueprint name, blueprint version, artifact name and resolution key.",\r
+        "operationId" : "TemplateController_postWithResolutionKey_POST.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "path",\r
+          "description" : "Name of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "path",\r
+          "description" : "Version of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "path",\r
+          "description" : "Artifact name for which to retrieve a resolved resource",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resolutionKey",\r
+          "in" : "path",\r
+          "description" : "Resolution Key associated with the resolution",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Template to store",\r
+          "required" : true,\r
+          "schema" : {\r
+            "type" : "string"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/TemplateResolution"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "/api/v1/template/{bpName}/{bpVersion}/{artifactName}/{resourceType}/{resourceId}" : {\r
+      "post" : {\r
+        "tags" : [ "Resource Template" ],\r
+        "summary" : "Store a resolved template w/ resourceId and resourceType",\r
+        "description" : "Store a template for a given CBA's action, identified by its blueprint name, blueprint version, artifact name, resourceId and resourceType.",\r
+        "operationId" : "TemplateController_postWithResourceIdAndResourceType_POST.org.onap.ccsdk.cds.blueprintsprocessor.resource.api",\r
+        "produces" : [ "application/json" ],\r
+        "parameters" : [ {\r
+          "name" : "bpName",\r
+          "in" : "path",\r
+          "description" : "Name of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "bpVersion",\r
+          "in" : "path",\r
+          "description" : "Version of the CBA",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "artifactName",\r
+          "in" : "path",\r
+          "description" : "Artifact name for which to retrieve a resolved resource",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceType",\r
+          "in" : "path",\r
+          "description" : "Resource Type associated with the resolution",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "name" : "resourceId",\r
+          "in" : "path",\r
+          "description" : "Resource Id associated with the resolution",\r
+          "required" : true,\r
+          "type" : "string"\r
+        }, {\r
+          "in" : "body",\r
+          "name" : "body",\r
+          "description" : "Template to store",\r
+          "required" : true,\r
+          "schema" : {\r
+            "type" : "string"\r
+          }\r
+        } ],\r
+        "responses" : {\r
+          "200" : {\r
+            "description" : "successful operation",\r
+            "schema" : {\r
+              "$ref" : "#/definitions/TemplateResolution"\r
+            }\r
+          }\r
+        }\r
+      }\r
+    }\r
+  },\r
+  "securityDefinitions" : {\r
+    "Basic Auth" : {\r
+      "type" : "basic"\r
+    }\r
+  },\r
+  "definitions" : {\r
+    "ActionIdentifiers" : {\r
+      "type" : "object",\r
+      "required" : [ "actionName", "mode" ],\r
+      "properties" : {\r
+        "blueprintName" : {\r
+          "type" : "string",\r
+          "description" : "Name of the CBA."\r
+        },\r
+        "blueprintVersion" : {\r
+          "type" : "string",\r
+          "description" : "Version of the CBA."\r
+        },\r
+        "actionName" : {\r
+          "type" : "string",\r
+          "description" : "Name of the workflow to execute."\r
+        },\r
+        "mode" : {\r
+          "type" : "string",\r
+          "description" : "Async processing is only supported for gRPC client.",\r
+          "enum" : [ "sync", "async" ]\r
+        }\r
+      }\r
+    },\r
+    "ArtifactDefinition" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "type" : {\r
+          "type" : "string"\r
+        },\r
+        "file" : {\r
+          "type" : "string"\r
+        },\r
+        "repository" : {\r
+          "type" : "string"\r
+        },\r
+        "description" : {\r
+          "type" : "string"\r
+        },\r
+        "properties" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "deploy_Path" : {\r
+          "type" : "string"\r
+        }\r
+      }\r
+    },\r
+    "BlueprintModelSearch" : {\r
+      "type" : "object",\r
+      "required" : [ "artifactName", "artifactVersion", "createdDate", "id", "published", "tags", "updatedBy" ],\r
+      "properties" : {\r
+        "id" : {\r
+          "type" : "string",\r
+          "example" : "658f9a48-7f54-41ba-ae18-c69f26f3dc94",\r
+          "description" : "ID of Blueprint model, is automatically created by CDS"\r
+        },\r
+        "artifactUUId" : {\r
+          "type" : "string",\r
+          "example" : null,\r
+          "description" : "Artifact UUID, usually null"\r
+        },\r
+        "artifactType" : {\r
+          "type" : "string",\r
+          "example" : "SDNC_MODEL",\r
+          "description" : "Artifact Type, usually null"\r
+        },\r
+        "artifactVersion" : {\r
+          "type" : "string",\r
+          "example" : "1.0.0",\r
+          "description" : "Artifact Version, usually 1.0.0"\r
+        },\r
+        "artifactDescription" : {\r
+          "type" : "string",\r
+          "example" : "",\r
+          "description" : "Artifact Description, usually empty"\r
+        },\r
+        "internalVersion" : {\r
+          "type" : "integer",\r
+          "format" : "int32",\r
+          "example" : null,\r
+          "description" : "Internal Version of CBA, usually null"\r
+        },\r
+        "createdDate" : {\r
+          "type" : "string",\r
+          "format" : "date-time",\r
+          "example" : "2020-11-19T10:34:56.000Z",\r
+          "description" : "Datetime of the creation of CBA in CDS"\r
+        },\r
+        "artifactName" : {\r
+          "type" : "string",\r
+          "example" : "pnf_netconf",\r
+          "description" : "Artifact Name, defined in Metadata"\r
+        },\r
+        "published" : {\r
+          "type" : "string",\r
+          "example" : "pnf_netconf",\r
+          "description" : "Artifact Name, defined in Metadata"\r
+        },\r
+        "updatedBy" : {\r
+          "type" : "string",\r
+          "example" : "Deutsche Telekom AG",\r
+          "description" : "Name of publisher, defined in Metadata"\r
+        },\r
+        "tags" : {\r
+          "type" : "string",\r
+          "example" : "test",\r
+          "description" : "Tags to identify the CBA, defined in Metadata"\r
+        }\r
+      }\r
+    },\r
+    "BootstrapRequest" : {\r
+      "type" : "object",\r
+      "required" : [ "loadCBA", "loadModelType", "loadResourceDictionary" ],\r
+      "properties" : {\r
+        "loadModelType" : {\r
+          "type" : "boolean",\r
+          "example" : true,\r
+          "description" : "Specifies if default model types should be loaded"\r
+        },\r
+        "loadResourceDictionary" : {\r
+          "type" : "boolean",\r
+          "example" : true,\r
+          "description" : "Specifies if default data dictionaries should be loaded"\r
+        },\r
+        "loadCBA" : {\r
+          "type" : "boolean",\r
+          "example" : true,\r
+          "description" : "Specifies if default blueprint models should be loaded"\r
+        }\r
+      }\r
+    },\r
+    "CapabilityAssignment" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "attributes" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "properties" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "CommonHeader" : {\r
+      "type" : "object",\r
+      "required" : [ "originatorId", "requestId", "subRequestId", "timestamp" ],\r
+      "properties" : {\r
+        "timestamp" : {\r
+          "type" : "string",\r
+          "format" : "date-time",\r
+          "example" : 2012-04-23T18:25:43.511Z,\r
+          "description" : "Date of the execution"\r
+        },\r
+        "originatorId" : {\r
+          "type" : "string",\r
+          "description" : "Identify the system/person triggering the request."\r
+        },\r
+        "requestId" : {\r
+          "type" : "string",\r
+          "description" : "Uniquely identify a request."\r
+        },\r
+        "subRequestId" : {\r
+          "type" : "string",\r
+          "description" : "Allow for fine-grain request identifier"\r
+        }\r
+      }\r
+    },\r
+    "ConstraintClause" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "equal" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "length" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "pattern" : {\r
+          "type" : "string"\r
+        },\r
+        "schema" : {\r
+          "type" : "string"\r
+        },\r
+        "greater_than" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "greater_or_equal" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "less_than" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "less_or_equal" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "in_range" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "valid_values" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "min_length" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "max_length" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        }\r
+      }\r
+    },\r
+    "EntrySchema" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "type" : {\r
+          "type" : "string"\r
+        },\r
+        "constraints" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "$ref" : "#/definitions/ConstraintClause"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "ExecutionServiceInput" : {\r
+      "type" : "object",\r
+      "required" : [ "actionIdentifiers", "commonHeader", "payload" ],\r
+      "properties" : {\r
+        "commonHeader" : {\r
+          "description" : "Headers providing request context.",\r
+          "$ref" : "#/definitions/CommonHeader"\r
+        },\r
+        "actionIdentifiers" : {\r
+          "description" : "Provide information about the action to execute.",\r
+          "$ref" : "#/definitions/ActionIdentifiers"\r
+        },\r
+        "payload" : {\r
+          "description" : "Contain the information to be passed as input to the action.The payload is constituted of two section: the workflow input which is the higher level block (xxx-request) and the input for resource resolution located within the xxx-request block, contained within xxx-properties",\r
+          "$ref" : "#/definitions/ObjectNode"\r
+        }\r
+      }\r
+    },\r
+    "ExecutionServiceOutput" : {\r
+      "type" : "object",\r
+      "required" : [ "actionIdentifiers", "commonHeader", "payload", "status" ],\r
+      "properties" : {\r
+        "commonHeader" : {\r
+          "description" : "Headers providing request context.",\r
+          "$ref" : "#/definitions/CommonHeader"\r
+        },\r
+        "actionIdentifiers" : {\r
+          "description" : "Provide information about the action to execute.",\r
+          "$ref" : "#/definitions/ActionIdentifiers"\r
+        },\r
+        "status" : {\r
+          "description" : "Status of the request.",\r
+          "$ref" : "#/definitions/Status"\r
+        },\r
+        "payload" : {\r
+          "description" : "Contain the information to be passed as input to the action.The payload is constituted of two section: the workflow input which is the higher level block (xxx-request) and the input for resource resolution located within the xxx-request block, contained within xxx-properties",\r
+          "$ref" : "#/definitions/ObjectNode"\r
+        }\r
+      }\r
+    },\r
+    "FilePart" : {\r
+      "type" : "object"\r
+    },\r
+    "Implementation" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "primary" : {\r
+          "type" : "string"\r
+        },\r
+        "dependencies" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "type" : "string"\r
+          }\r
+        },\r
+        "timeout" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "lock" : {\r
+          "$ref" : "#/definitions/LockAssignment"\r
+        },\r
+        "operation_host" : {\r
+          "type" : "string"\r
+        }\r
+      }\r
+    },\r
+    "InterfaceAssignment" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "operations" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/OperationAssignment"\r
+          }\r
+        },\r
+        "inputs" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "JsonNode" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "double" : {\r
+          "type" : "boolean"\r
+        },\r
+        "int" : {\r
+          "type" : "boolean"\r
+        },\r
+        "long" : {\r
+          "type" : "boolean"\r
+        },\r
+        "boolean" : {\r
+          "type" : "boolean"\r
+        },\r
+        "short" : {\r
+          "type" : "boolean"\r
+        },\r
+        "nodeType" : {\r
+          "type" : "string",\r
+          "enum" : [ "ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING" ]\r
+        },\r
+        "object" : {\r
+          "type" : "boolean"\r
+        },\r
+        "number" : {\r
+          "type" : "boolean"\r
+        },\r
+        "binary" : {\r
+          "type" : "boolean"\r
+        },\r
+        "floatingPointNumber" : {\r
+          "type" : "boolean"\r
+        },\r
+        "containerNode" : {\r
+          "type" : "boolean"\r
+        },\r
+        "missingNode" : {\r
+          "type" : "boolean"\r
+        },\r
+        "pojo" : {\r
+          "type" : "boolean"\r
+        },\r
+        "valueNode" : {\r
+          "type" : "boolean"\r
+        },\r
+        "bigDecimal" : {\r
+          "type" : "boolean"\r
+        },\r
+        "textual" : {\r
+          "type" : "boolean"\r
+        },\r
+        "bigInteger" : {\r
+          "type" : "boolean"\r
+        },\r
+        "integralNumber" : {\r
+          "type" : "boolean"\r
+        },\r
+        "array" : {\r
+          "type" : "boolean"\r
+        },\r
+        "null" : {\r
+          "type" : "boolean"\r
+        },\r
+        "float" : {\r
+          "type" : "boolean"\r
+        }\r
+      }\r
+    },\r
+    "LockAssignment" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "key" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "acquireTimeout" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        }\r
+      }\r
+    },\r
+    "ModelType" : {\r
+      "type" : "object",\r
+      "required" : [ "definition", "definitionType", "derivedFrom", "description", "modelName", "tags", "updatedBy", "version" ],\r
+      "properties" : {\r
+        "modelName" : {\r
+          "type" : "string"\r
+        },\r
+        "derivedFrom" : {\r
+          "type" : "string"\r
+        },\r
+        "definitionType" : {\r
+          "type" : "string"\r
+        },\r
+        "definition" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "description" : {\r
+          "type" : "string"\r
+        },\r
+        "version" : {\r
+          "type" : "string"\r
+        },\r
+        "tags" : {\r
+          "type" : "string"\r
+        },\r
+        "creationDate" : {\r
+          "type" : "string",\r
+          "format" : "date-time"\r
+        },\r
+        "updatedBy" : {\r
+          "type" : "string"\r
+        }\r
+      }\r
+    },\r
+    "NodeFilterDefinition" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "properties" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/PropertyDefinition"\r
+          }\r
+        },\r
+        "capabilities" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "type" : "string"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "NodeTemplate" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "description" : {\r
+          "type" : "string"\r
+        },\r
+        "type" : {\r
+          "type" : "string"\r
+        },\r
+        "metadata" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "type" : "string"\r
+          }\r
+        },\r
+        "directives" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "type" : "string"\r
+          }\r
+        },\r
+        "properties" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "attributes" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "capabilities" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/CapabilityAssignment"\r
+          }\r
+        },\r
+        "requirements" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/RequirementAssignment"\r
+          }\r
+        },\r
+        "interfaces" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/InterfaceAssignment"\r
+          }\r
+        },\r
+        "artifacts" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/ArtifactDefinition"\r
+          }\r
+        },\r
+        "copy" : {\r
+          "type" : "string"\r
+        },\r
+        "node_filter" : {\r
+          "$ref" : "#/definitions/NodeFilterDefinition"\r
+        }\r
+      }\r
+    },\r
+    "ObjectNode" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "nodeType" : {\r
+          "type" : "string",\r
+          "enum" : [ "ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING" ]\r
+        },\r
+        "double" : {\r
+          "type" : "boolean"\r
+        },\r
+        "int" : {\r
+          "type" : "boolean"\r
+        },\r
+        "long" : {\r
+          "type" : "boolean"\r
+        },\r
+        "boolean" : {\r
+          "type" : "boolean"\r
+        },\r
+        "short" : {\r
+          "type" : "boolean"\r
+        },\r
+        "object" : {\r
+          "type" : "boolean"\r
+        },\r
+        "number" : {\r
+          "type" : "boolean"\r
+        },\r
+        "binary" : {\r
+          "type" : "boolean"\r
+        },\r
+        "floatingPointNumber" : {\r
+          "type" : "boolean"\r
+        },\r
+        "containerNode" : {\r
+          "type" : "boolean"\r
+        },\r
+        "missingNode" : {\r
+          "type" : "boolean"\r
+        },\r
+        "pojo" : {\r
+          "type" : "boolean"\r
+        },\r
+        "valueNode" : {\r
+          "type" : "boolean"\r
+        },\r
+        "bigDecimal" : {\r
+          "type" : "boolean"\r
+        },\r
+        "textual" : {\r
+          "type" : "boolean"\r
+        },\r
+        "bigInteger" : {\r
+          "type" : "boolean"\r
+        },\r
+        "integralNumber" : {\r
+          "type" : "boolean"\r
+        },\r
+        "array" : {\r
+          "type" : "boolean"\r
+        },\r
+        "null" : {\r
+          "type" : "boolean"\r
+        },\r
+        "float" : {\r
+          "type" : "boolean"\r
+        }\r
+      }\r
+    },\r
+    "OperationAssignment" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "description" : {\r
+          "type" : "string"\r
+        },\r
+        "implementation" : {\r
+          "$ref" : "#/definitions/Implementation"\r
+        },\r
+        "inputs" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        },\r
+        "outputs" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/JsonNode"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "Page" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "totalPages" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "totalElements" : {\r
+          "type" : "integer",\r
+          "format" : "int64"\r
+        },\r
+        "pageable" : {\r
+          "$ref" : "#/definitions/Pageable"\r
+        },\r
+        "first" : {\r
+          "type" : "boolean"\r
+        },\r
+        "numberOfElements" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "size" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "content" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "type" : "object"\r
+          }\r
+        },\r
+        "number" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "sort" : {\r
+          "$ref" : "#/definitions/Sort"\r
+        },\r
+        "last" : {\r
+          "type" : "boolean"\r
+        },\r
+        "empty" : {\r
+          "type" : "boolean"\r
+        }\r
+      }\r
+    },\r
+    "PageBlueprintModelSearch" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "totalPages" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "totalElements" : {\r
+          "type" : "integer",\r
+          "format" : "int64"\r
+        },\r
+        "pageable" : {\r
+          "$ref" : "#/definitions/Pageable"\r
+        },\r
+        "first" : {\r
+          "type" : "boolean"\r
+        },\r
+        "numberOfElements" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "size" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "content" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "$ref" : "#/definitions/BlueprintModelSearch"\r
+          }\r
+        },\r
+        "number" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "sort" : {\r
+          "$ref" : "#/definitions/Sort"\r
+        },\r
+        "last" : {\r
+          "type" : "boolean"\r
+        },\r
+        "empty" : {\r
+          "type" : "boolean"\r
+        }\r
+      }\r
+    },\r
+    "Pageable" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "paged" : {\r
+          "type" : "boolean"\r
+        },\r
+        "pageNumber" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "pageSize" : {\r
+          "type" : "integer",\r
+          "format" : "int32"\r
+        },\r
+        "unpaged" : {\r
+          "type" : "boolean"\r
+        },\r
+        "offset" : {\r
+          "type" : "integer",\r
+          "format" : "int64"\r
+        },\r
+        "sort" : {\r
+          "$ref" : "#/definitions/Sort"\r
+        }\r
+      }\r
+    },\r
+    "PropertyDefinition" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "description" : {\r
+          "type" : "string"\r
+        },\r
+        "required" : {\r
+          "type" : "boolean"\r
+        },\r
+        "type" : {\r
+          "type" : "string"\r
+        },\r
+        "status" : {\r
+          "type" : "string"\r
+        },\r
+        "constraints" : {\r
+          "type" : "array",\r
+          "items" : {\r
+            "$ref" : "#/definitions/ConstraintClause"\r
+          }\r
+        },\r
+        "metadata" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "type" : "string"\r
+          }\r
+        },\r
+        "value" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "input-param" : {\r
+          "type" : "boolean"\r
+        },\r
+        "default" : {\r
+          "$ref" : "#/definitions/JsonNode"\r
+        },\r
+        "entry_schema" : {\r
+          "$ref" : "#/definitions/EntrySchema"\r
+        },\r
+        "external-schema" : {\r
+          "type" : "string"\r
+        }\r
+      }\r
+    },\r
+    "RequirementAssignment" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "capability" : {\r
+          "type" : "string"\r
+        },\r
+        "node" : {\r
+          "type" : "string"\r
+        },\r
+        "relationship" : {\r
+          "type" : "string"\r
+        }\r
+      }\r
+    },\r
+    "ResourceConfigSnapshot" : {\r
+      "type" : "object",\r
+      "required" : [ "config_snapshot", "createdDate", "resourceId", "resourceType", "status" ],\r
+      "properties" : {\r
+        "resourceType" : {\r
+          "type" : "string",\r
+          "example" : "ServiceInstance",\r
+          "description" : "Resource type."\r
+        },\r
+        "resourceId" : {\r
+          "type" : "string",\r
+          "example" : "1",\r
+          "description" : "ID associated with the resource type in the inventory system."\r
+        },\r
+        "status" : {\r
+          "type" : "string",\r
+          "description" : "Status of the snapshot, either running or candidate.",\r
+          "enum" : [ "RUNNING", "CANDIDATE" ]\r
+        },\r
+        "config_snapshot" : {\r
+          "type" : "string",\r
+          "example" : "config_snapshot",\r
+          "description" : "Snapshot of the resource as retrieved from resource."\r
+        },\r
+        "id" : {\r
+          "type" : "string"\r
+        },\r
+        "createdDate" : {\r
+          "type" : "string",\r
+          "format" : "date-time",\r
+          "description" : "Creation date of the snapshot."\r
+        }\r
+      }\r
+    },\r
+    "ResourceDefinition" : {\r
+      "type" : "object",\r
+      "required" : [ "group", "name", "property", "sources", "updated-by" ],\r
+      "properties" : {\r
+        "tags" : {\r
+          "type" : "string"\r
+        },\r
+        "name" : {\r
+          "type" : "string",\r
+          "example" : "default-source",\r
+          "description" : "Name"\r
+        },\r
+        "property" : {\r
+          "description" : "Property",\r
+          "$ref" : "#/definitions/PropertyDefinition"\r
+        },\r
+        "group" : {\r
+          "type" : "string",\r
+          "example" : "default",\r
+          "description" : "Group"\r
+        },\r
+        "updated-by" : {\r
+          "type" : "string",\r
+          "example" : "example@onap.com",\r
+          "description" : "Updated by"\r
+        },\r
+        "sources" : {\r
+          "type" : "object",\r
+          "example" : "sources",\r
+          "description" : "Sources",\r
+          "additionalProperties" : {\r
+            "$ref" : "#/definitions/NodeTemplate"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "ResourceDictionary" : {\r
+      "type" : "object",\r
+      "required" : [ "dataType", "definition", "description", "entrySchema", "name", "resourceDictionaryGroup", "tags", "updatedBy" ],\r
+      "properties" : {\r
+        "name" : {\r
+          "type" : "string",\r
+          "example" : "sample-db-source",\r
+          "description" : "Name"\r
+        },\r
+        "dataType" : {\r
+          "type" : "string",\r
+          "example" : "string",\r
+          "description" : "Data type"\r
+        },\r
+        "entrySchema" : {\r
+          "type" : "string",\r
+          "example" : "dt-license-key",\r
+          "description" : "Entry schema"\r
+        },\r
+        "resourceDictionaryGroup" : {\r
+          "type" : "string",\r
+          "example" : "default",\r
+          "description" : "Resource dictionary group"\r
+        },\r
+        "definition" : {\r
+          "description" : "Definition",\r
+          "$ref" : "#/definitions/ResourceDefinition"\r
+        },\r
+        "description" : {\r
+          "type" : "string",\r
+          "example" : "demo_artifacts_version",\r
+          "description" : "Description"\r
+        },\r
+        "tags" : {\r
+          "type" : "string",\r
+          "example" : "hostname",\r
+          "description" : "Tags"\r
+        },\r
+        "creationDate" : {\r
+          "type" : "string",\r
+          "format" : "date-time"\r
+        },\r
+        "updatedBy" : {\r
+          "type" : "string",\r
+          "example" : "username",\r
+          "description" : "Updated by"\r
+        }\r
+      }\r
+    },\r
+    "ResourceResolution" : {\r
+      "type" : "object",\r
+      "required" : [ "artifactName", "blueprintName", "blueprintVersion", "createdDate", "dictionaryName", "dictionarySource", "dictionaryVersion", "name", "occurrence", "resolutionKey", "resourceId", "resourceType", "status", "value" ],\r
+      "properties" : {\r
+        "blueprintName" : {\r
+          "type" : "string",\r
+          "description" : "Name of the CBA."\r
+        },\r
+        "blueprintVersion" : {\r
+          "type" : "string",\r
+          "description" : "Version of the CBA."\r
+        },\r
+        "artifactName" : {\r
+          "type" : "string",\r
+          "description" : "Artifact name for which to retrieve a resolved resource."\r
+        },\r
+        "name" : {\r
+          "type" : "string",\r
+          "description" : "Name of the resource."\r
+        },\r
+        "value" : {\r
+          "type" : "string",\r
+          "description" : "Value of the resolution."\r
+        },\r
+        "status" : {\r
+          "type" : "string",\r
+          "description" : "Whether success of failure."\r
+        },\r
+        "resolutionKey" : {\r
+          "type" : "string",\r
+          "description" : "Resolution Key uniquely identifying the resolution of a given artifact within a CBA."\r
+        },\r
+        "resourceType" : {\r
+          "type" : "string",\r
+          "example" : "ServiceInstance",\r
+          "description" : "Resolution type."\r
+        },\r
+        "resourceId" : {\r
+          "type" : "string",\r
+          "description" : "ID associated with the resolution type in the inventory system."\r
+        },\r
+        "occurrence" : {\r
+          "type" : "integer",\r
+          "format" : "int32",\r
+          "description" : "If resolution occurred multiple time, this field provides the index."\r
+        },\r
+        "dictionaryName" : {\r
+          "type" : "string",\r
+          "description" : "Name of the data dictionary used for the resolution."\r
+        },\r
+        "dictionarySource" : {\r
+          "type" : "string",\r
+          "description" : "Source associated with the data dictionary used for the resolution."\r
+        },\r
+        "dictionaryVersion" : {\r
+          "type" : "integer",\r
+          "format" : "int32",\r
+          "description" : "Version of the data dictionary used for the resolution."\r
+        },\r
+        "id" : {\r
+          "type" : "string"\r
+        },\r
+        "createdDate" : {\r
+          "type" : "string",\r
+          "format" : "date-time",\r
+          "description" : "Creation date of the resolution."\r
+        }\r
+      }\r
+    },\r
+    "ResourceSourceMapping" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "resourceSourceMappings" : {\r
+          "type" : "object",\r
+          "additionalProperties" : {\r
+            "type" : "string"\r
+          }\r
+        }\r
+      }\r
+    },\r
+    "Sort" : {\r
+      "type" : "object",\r
+      "properties" : {\r
+        "sorted" : {\r
+          "type" : "boolean"\r
+        },\r
+        "unsorted" : {\r
+          "type" : "boolean"\r
+        },\r
+        "empty" : {\r
+          "type" : "boolean"\r
+        }\r
+      }\r
+    },\r
+    "Status" : {\r
+      "type" : "object",\r
+      "required" : [ "code", "eventType", "message", "timestamp" ],\r
+      "properties" : {\r
+        "code" : {\r
+          "type" : "integer",\r
+          "format" : "int32",\r
+          "description" : "HTTP status code equivalent."\r
+        },\r
+        "eventType" : {\r
+          "type" : "string",\r
+          "description" : "Type of the event being emitted by CDS."\r
+        },\r
+        "timestamp" : {\r
+          "type" : "string",\r
+          "format" : "date-time",\r
+          "example" : 2012-04-23T18:25:43.511Z,\r
+          "description" : "Time when the execution ended."\r
+        },\r
+        "errorMessage" : {\r
+          "type" : "string",\r
+          "description" : "Error message when system failed"\r
+        },\r
+        "message" : {\r
+          "type" : "string",\r
+          "description" : "Message providing request status"\r
+        }\r
+      }\r
+    },\r
+    "TemplateResolution" : {\r
+      "type" : "object",\r
+      "required" : [ "artifactName", "blueprintName", "blueprintVersion", "createdDate", "occurrence", "resolutionKey", "resourceId", "resourceType", "result" ],\r
+      "properties" : {\r
+        "blueprintName" : {\r
+          "type" : "string",\r
+          "description" : "Name of the CBA."\r
+        },\r
+        "blueprintVersion" : {\r
+          "type" : "string",\r
+          "description" : "Version of the CBA."\r
+        },\r
+        "artifactName" : {\r
+          "type" : "string",\r
+          "description" : "Artifact name for which to retrieve a resolved resource."\r
+        },\r
+        "result" : {\r
+          "type" : "string",\r
+          "description" : "Rendered template."\r
+        },\r
+        "resolutionKey" : {\r
+          "type" : "string",\r
+          "description" : "Resolution Key uniquely identifying the resolution of a given artifact within a CBA."\r
+        },\r
+        "resourceType" : {\r
+          "type" : "string",\r
+          "example" : "ServiceInstance",\r
+          "description" : "Resolution type."\r
+        },\r
+        "resourceId" : {\r
+          "type" : "string",\r
+          "description" : "ID associated with the resolution type in the inventory system."\r
+        },\r
+        "occurrence" : {\r
+          "type" : "integer",\r
+          "format" : "int32",\r
+          "description" : "If resolution occurred multiple time, this field provides the index."\r
+        },\r
+        "id" : {\r
+          "type" : "string"\r
+        },\r
+        "createdDate" : {\r
+          "type" : "string",\r
+          "format" : "date-time",\r
+          "description" : "Creation date of the resolution."\r
+        }\r
+      }\r
+    },\r
+    "WorkFlowSpecRequest" : {\r
+      "type" : "object",\r
+      "required" : [ "blueprintName", "workflowName" ],\r
+      "properties" : {\r
+        "blueprintName" : {\r
+          "type" : "string",\r
+          "example" : "pnf_netconf",\r
+          "description" : "Name of the BLueprint"\r
+        },\r
+        "version" : {\r
+          "type" : "string"\r
+        },\r
+        "returnContent" : {\r
+          "type" : "string"\r
+        },\r
+        "workflowName" : {\r
+          "type" : "string",\r
+          "example" : "config-assign",\r
+          "description" : "Name of the Workflow"\r
+        },\r
+        "specType" : {\r
+          "type" : "string"\r
+        }\r
+      }\r
+    }\r
+  }\r
 }
\ No newline at end of file
index cd29d88..afb273d 100644 (file)
@@ -74,10 +74,10 @@ the following command.
 
    mvn archetype:generate -DarchetypeGroupId=org.onap.ccsdk.cds.components.cba \
                           -DarchetypeArtifactId=archetype-blueprint \
-                          -DarchetypeVersion=1.4.0-SNAPSHOT \
+                          -DarchetypeVersion=1.5.0-SNAPSHOT \
                           -DgroupId=org.onap.ccsdk.cds.components.cba \
                           -DartifactId=testUat \
                           -Dversion=1.0-SNAPSHOT
 
 There you will find the above mentioned base class, sample class and resources you could use as a starting point for
-writing UAT tests inside your own CBA.
\ No newline at end of file
+writing UAT tests inside your own CBA.
index acaa09b..3942ac7 100755 (executable)
                         <apiSource>
                             <springmvc>true</springmvc>
                             <locations>
-                                <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api.BlueprintModelController</location>
-                                <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api.ResourceDictionaryController</location>
-                                <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api.ModelTypeController</location>
+                                <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api</location>
+                                <location>org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api</location>
                                 <location>org.onap.ccsdk.cds.blueprintsprocessor.resource.api</location>
                                 <location>org.onap.ccsdk.cds.blueprintsprocessor.configs.api</location>
                                 <!-- This location is not implemented yet
index 541d017..36229b7 100644 (file)
@@ -484,13 +484,13 @@ class ResourceAssignmentUtilsTest {
 
         resourceAssignment = when (sourceType) {
             "list" -> {
-                prepareRADataDictionaryCollection(dictionary_source, sourceType, entrySchema)
+                prepareRAResourceDictionaryCollection(dictionary_source, sourceType, entrySchema)
             }
             "string" -> {
-                prepareRADataDictionaryOfPrimaryType(dictionary_source)
+                prepareRAResourceDictionaryOfPrimaryType(dictionary_source)
             }
             else -> {
-                prepareRADataDictionaryComplexType(dictionary_source, sourceType, entrySchema)
+                prepareRAResourceDictionaryComplexType(dictionary_source, sourceType, entrySchema)
             }
         }
 
@@ -508,7 +508,7 @@ class ResourceAssignmentUtilsTest {
         )
     }
 
-    private fun prepareRADataDictionaryOfPrimaryType(dictionary_source: String): ResourceAssignment {
+    private fun prepareRAResourceDictionaryOfPrimaryType(dictionary_source: String): ResourceAssignment {
         return ResourceAssignment().apply {
             name = "ipAddress"
             dictionaryName = "sample-ip"
@@ -519,7 +519,7 @@ class ResourceAssignmentUtilsTest {
         }
     }
 
-    private fun prepareRADataDictionaryCollection(
+    private fun prepareRAResourceDictionaryCollection(
         dictionary_source: String,
         sourceType: String,
         schema: String
@@ -537,7 +537,7 @@ class ResourceAssignmentUtilsTest {
         }
     }
 
-    private fun prepareRADataDictionaryComplexType(
+    private fun prepareRAResourceDictionaryComplexType(
         dictionary_source: String,
         sourceType: String,
         schema: String
index 1505374..41426d5 100644 (file)
@@ -24,6 +24,7 @@ import kotlinx.coroutines.Dispatchers
 import kotlinx.coroutines.withContext
 import org.apache.commons.io.IOUtils
 import org.apache.http.HttpEntity
+import org.apache.http.HttpHost
 import org.apache.http.HttpResponse
 import org.apache.http.HttpStatus
 import org.apache.http.client.ClientProtocolException
@@ -35,6 +36,9 @@ import org.apache.http.client.methods.HttpPatch
 import org.apache.http.client.methods.HttpPost
 import org.apache.http.client.methods.HttpPut
 import org.apache.http.client.methods.HttpUriRequest
+import org.apache.http.conn.ssl.NoopHostnameVerifier
+import org.apache.http.conn.ssl.SSLContextBuilder
+import org.apache.http.conn.ssl.TrustAllStrategy
 import org.apache.http.entity.StringEntity
 import org.apache.http.impl.client.CloseableHttpClient
 import org.apache.http.impl.client.HttpClients
@@ -74,8 +78,24 @@ abstract class BaseBlueprintWebClientService<out E : RestClientProperties> : Blu
         return requestConfigBuilder.build()
     }
 
+    open fun https_proxy(): String? {
+        return getRestClientProperties().proxy
+    }
+
     open fun httpClient(): CloseableHttpClient {
-        return HttpClients.custom()
+        var httpClients = HttpClients.custom()
+        if (https_proxy() != null && https_proxy() != "") {
+            val proxyProtocol = https_proxy()?.split(':')?.get(0) ?: "http"
+            val proxyUri = https_proxy()?.split(':')?.get(1)?.replace("/", "") ?: ""
+            val proxyPort = https_proxy()?.split(':')?.get(2)?.toInt() ?: 0
+            if (proxyUri != "" && proxyPort != 0) {
+                val proxy = HttpHost(proxyUri, proxyPort, proxyProtocol)
+                httpClients = httpClients.setProxy(proxy)
+                    .setSSLContext(SSLContextBuilder().loadTrustMaterial(null, TrustAllStrategy.INSTANCE).build())
+                    .setSSLHostnameVerifier(NoopHostnameVerifier.INSTANCE)
+            }
+        }
+        return httpClients
             .addInterceptorFirst(WebClientUtils.logRequest())
             .addInterceptorLast(WebClientUtils.logResponse())
             .setDefaultRequestConfig(getRequestConfig())
index 8d69ccd..a9a2e69 100644 (file)
@@ -21,10 +21,14 @@ import io.swagger.annotations.ApiOperation
 import io.swagger.annotations.ApiParam
 import org.onap.ccsdk.cds.blueprintsprocessor.designer.api.domain.ResourceDictionary
 import org.onap.ccsdk.cds.blueprintsprocessor.designer.api.handler.ResourceDictionaryHandler
+import org.onap.ccsdk.cds.blueprintsprocessor.designer.api.utils.DictionarySortByOption
 import org.onap.ccsdk.cds.blueprintsprocessor.rest.service.mdcWebCoroutineScope
 import org.onap.ccsdk.cds.controllerblueprints.core.BluePrintException
 import org.onap.ccsdk.cds.controllerblueprints.resource.dict.ResourceDefinition
 import org.onap.ccsdk.cds.controllerblueprints.resource.dict.ResourceSourceMapping
+import org.springframework.data.domain.Page
+import org.springframework.data.domain.PageRequest
+import org.springframework.data.domain.Sort
 import org.springframework.http.MediaType
 import org.springframework.web.bind.annotation.DeleteMapping
 import org.springframework.web.bind.annotation.GetMapping
@@ -32,13 +36,14 @@ import org.springframework.web.bind.annotation.PathVariable
 import org.springframework.web.bind.annotation.PostMapping
 import org.springframework.web.bind.annotation.RequestBody
 import org.springframework.web.bind.annotation.RequestMapping
+import org.springframework.web.bind.annotation.RequestParam
 import org.springframework.web.bind.annotation.ResponseBody
 import org.springframework.web.bind.annotation.RestController
 
 @RestController
 @RequestMapping(value = ["/api/v1/dictionary"])
 @Api(
-    value = "Resource dictionary",
+    value = "Resource Dictionary",
     description = "Interaction with stored dictionaries"
 )
 open class ResourceDictionaryController(private val resourceDictionaryHandler: ResourceDictionaryHandler) {
@@ -59,6 +64,26 @@ open class ResourceDictionaryController(private val resourceDictionaryHandler: R
             resourceDictionaryHandler.getResourceDictionaryByName(name)
         }
 
+    @GetMapping("/paged", produces = [MediaType.APPLICATION_JSON_VALUE])
+    @ApiOperation(
+        value = "Get Blueprints Dictionary ordered",
+        notes = "Lists all blueprint Dictionary which are saved in CDS in an ordered mode.",
+        nickname = "BlueprintModelController_allBlueprintDictionaryPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api"
+    )
+    @ResponseBody
+    suspend fun allBlueprintModel(
+        @ApiParam(value = "Maximum number of returned blueprint dictionary") @RequestParam(defaultValue = "20") limit: Int,
+        @ApiParam(value = "Offset") @RequestParam(defaultValue = "0") offset: Int,
+        @ApiParam(value = "Order of returned blueprint dictionary") @RequestParam(defaultValue = "DATE") sort: DictionarySortByOption,
+        @ApiParam(value = "Ascend or descend ordering") @RequestParam(defaultValue = "ASC") sortType: String
+    ): Page<ResourceDictionary> {
+        val pageRequest = PageRequest.of(
+            offset, limit,
+            Sort.Direction.fromString(sortType), sort.columnName
+        )
+        return resourceDictionaryHandler.getAllDictionary(pageRequest)
+    }
+
     @PostMapping(
         produces = [MediaType.APPLICATION_JSON_VALUE],
         consumes = [MediaType.APPLICATION_JSON_VALUE]
@@ -72,10 +97,10 @@ open class ResourceDictionaryController(private val resourceDictionaryHandler: R
     @Throws(BluePrintException::class)
     suspend fun saveResourceDictionary(
         @ApiParam(value = "Resource dictionary to store", required = true)
-        @RequestBody dataDictionary: ResourceDictionary
+        @RequestBody resourceDictionary: ResourceDictionary
     ): ResourceDictionary =
         mdcWebCoroutineScope {
-            resourceDictionaryHandler.saveResourceDictionary(dataDictionary)
+            resourceDictionaryHandler.saveResourceDictionary(resourceDictionary)
         }
 
     @PostMapping(
@@ -85,20 +110,41 @@ open class ResourceDictionaryController(private val resourceDictionaryHandler: R
     )
     @ApiOperation(
         value = "Save a resource dictionary",
-        notes = "Save a resource dictionary by resource definition provided.",
+        notes = "Save a resource dictionary by provided resource definition json.",
         nickname = "ResourceDictionaryController_saveResourceDictionary_1_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
-        response = ResourceDefinition::class
+        response = ResourceDictionary::class
     )
     @ResponseBody
     @Throws(BluePrintException::class)
-    suspend fun saveResourceDictionary(
-        @ApiParam(value = "Resource definition to generate", required = true)
+    suspend fun saveResourceDefinition(
+        @ApiParam(value = "Resource definition to generate Resource Dictionary", required = true)
         @RequestBody resourceDefinition: ResourceDefinition
-    ): ResourceDefinition =
+    ): ResourceDictionary =
         mdcWebCoroutineScope {
             resourceDictionaryHandler.saveResourceDefinition(resourceDefinition)
         }
 
+    @PostMapping(
+        path = ["/definition-bulk"],
+        produces = [MediaType.APPLICATION_JSON_VALUE],
+        consumes = [MediaType.APPLICATION_JSON_VALUE]
+    )
+    @ApiOperation(
+        value = "Save multiple resource dictionaries",
+        notes = "Save multiple resource dictionaries by provided resource definition json array.",
+        nickname = "ResourceDictionaryController_saveAllResourceDictionary_1_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
+        response = ResourceDictionary::class
+    )
+    @ResponseBody
+    @Throws(BluePrintException::class)
+    suspend fun saveAllResourceDictionary(
+        @ApiParam(value = "Resource definition json array to generate Resource Dictionaries", required = true)
+        @RequestBody resourceDefinition: List<ResourceDefinition>
+    ): MutableList<ResourceDictionary> =
+        mdcWebCoroutineScope {
+            resourceDictionaryHandler.saveAllResourceDefinition(resourceDefinition)
+        }
+
     @DeleteMapping(path = ["/{name}"])
     @ApiOperation(
         value = "Remove a resource dictionary",
index 3f06a4a..0af1e15 100644 (file)
@@ -31,15 +31,17 @@ import org.onap.ccsdk.cds.controllerblueprints.resource.dict.ResourceSourceMappi
 import org.onap.ccsdk.cds.controllerblueprints.resource.dict.factory.ResourceSourceMappingFactory
 import org.onap.ccsdk.cds.error.catalog.core.ErrorCatalogCodes
 import org.springframework.stereotype.Service
+import org.springframework.data.domain.Page
+import org.springframework.data.domain.Pageable
 
 @Service
 class ResourceDictionaryHandler(private val resourceDictionaryRepository: ResourceDictionaryRepository) {
 
     /**
-     * This is a getDataDictionaryByName service
+     * This is a getResourceDictionaryByName service
      *
      * @param name name
-     * @return DataDictionary
+     * @return ResourceDictionary
      * @throws BluePrintException BluePrintException
      */
     @Throws(BluePrintException::class)
@@ -61,7 +63,7 @@ class ResourceDictionaryHandler(private val resourceDictionaryRepository: Resour
      *
      * @param names names
      * @return List<ResourceDictionary>
-     </ResourceDictionary> */
+     */
     suspend fun searchResourceDictionaryByNames(names: List<String>): List<ResourceDictionary> {
         Preconditions.checkArgument(CollectionUtils.isNotEmpty(names), "No Search Information provide")
         return resourceDictionaryRepository.findByNameIn(names)
@@ -72,17 +74,17 @@ class ResourceDictionaryHandler(private val resourceDictionaryRepository: Resour
      *
      * @param tags tags
      * @return List<ResourceDictionary>
-     </ResourceDictionary> */
+     */
     suspend fun searchResourceDictionaryByTags(tags: String): List<ResourceDictionary> {
         Preconditions.checkArgument(StringUtils.isNotBlank(tags), "No search tag information provide")
         return resourceDictionaryRepository.findByTagsContainingIgnoreCase(tags)
     }
 
     /**
-     * This is a saveDataDictionary service
+     * This is a saveResourceDictionary service
      *
      * @param resourceDictionary resourceDictionary
-     * @return DataDictionary
+     * @return ResourceDictionary
      */
     @Throws(BluePrintException::class)
     suspend fun saveResourceDictionary(resourceDictionary: ResourceDictionary): ResourceDictionary {
@@ -128,33 +130,49 @@ class ResourceDictionaryHandler(private val resourceDictionaryRepository: Resour
     }
 
     /**
-     * This is a saveDataDictionary service
+     * This is to save single ResourceDictionary from json content
      *
      * @param resourceDefinition ResourceDefinition
-     * @return ResourceDefinition
+     * @return ResourceDictionary
+     */
+    @Throws(BluePrintException::class)
+    suspend fun saveResourceDefinition(resourceDefinition: ResourceDefinition): ResourceDictionary {
+        return resourceDictionaryRepository.save(enrichResourceDictionary(resourceDefinition))
+    }
+
+    /**
+     * This is to save multiple ResourceDictionaries from json array content
+     *
+     * @param resourceDefinitionList List<ResourceDefinition>
+     * @return MutableList<ResourceDictionary>
      */
     @Throws(BluePrintException::class)
-    suspend fun saveResourceDefinition(resourceDefinition: ResourceDefinition): ResourceDefinition {
+    suspend fun saveAllResourceDefinition(resourceDefinitionList: List<ResourceDefinition>): MutableList<ResourceDictionary> {
+        val dictionaryList: MutableList<ResourceDictionary> = mutableListOf()
+        resourceDefinitionList.forEach {
+            dictionaryList.add(enrichResourceDictionary(it))
+        }
+        return resourceDictionaryRepository.saveAll(dictionaryList)
+    }
+
+    private fun enrichResourceDictionary(resourceDefinition: ResourceDefinition): ResourceDictionary {
         val resourceDictionary = ResourceDictionary()
         resourceDictionary.name = resourceDefinition.name
         resourceDictionary.updatedBy = resourceDefinition.updatedBy
         resourceDictionary.resourceDictionaryGroup = resourceDefinition.group
         resourceDictionary.entrySchema = resourceDefinition.property.entrySchema?.type
+        resourceDictionary.description = resourceDefinition.property.description!!
+        resourceDictionary.dataType = resourceDefinition.property.type
+        resourceDictionary.definition = resourceDefinition
+
         if (StringUtils.isBlank(resourceDefinition.tags)) {
-            resourceDictionary.tags = (
-                resourceDefinition.name + ", " + resourceDefinition.updatedBy +
-                    ", " + resourceDefinition.updatedBy
-                )
+            resourceDictionary.tags = resourceDefinition.name + ", " + resourceDefinition.updatedBy
         } else {
             resourceDictionary.tags = resourceDefinition.tags!!
         }
-        resourceDictionary.description = resourceDefinition.property.description!!
-        resourceDictionary.dataType = resourceDefinition.property.type
-        resourceDictionary.definition = resourceDefinition
 
         validateResourceDictionary(resourceDictionary)
-
-        return resourceDictionaryRepository.save(resourceDictionary).definition
+        return resourceDictionary
     }
 
     /**
@@ -174,12 +192,19 @@ class ResourceDictionaryHandler(private val resourceDictionaryRepository: Resour
         return ResourceSourceMappingFactory.getRegisterSourceMapping()
     }
 
+    /**
+     * This is a getResourceDirectories service
+     */
+    suspend fun getAllDictionary(pageRequest: Pageable): Page<ResourceDictionary> {
+        return resourceDictionaryRepository.findAll(pageRequest)
+    }
+
     private fun validateResourceDictionary(resourceDictionary: ResourceDictionary): Boolean {
-        checkNotEmpty(resourceDictionary.name) { "DataDictionary Definition name is missing." }
-        checkNotNull(resourceDictionary.definition) { "DataDictionary Definition Information is missing." }
-        checkNotEmpty(resourceDictionary.description) { "DataDictionary Definition Information is missing." }
-        checkNotEmpty(resourceDictionary.tags) { "DataDictionary Definition tags is missing." }
-        checkNotEmpty(resourceDictionary.updatedBy) { "DataDictionary Definition updatedBy is missing." }
+        checkNotEmpty(resourceDictionary.name) { "ResourceDictionary Definition name is missing." }
+        checkNotNull(resourceDictionary.definition) { "ResourceDictionary Definition Information is missing." }
+        checkNotEmpty(resourceDictionary.description) { "ResourceDictionary Definition Information is missing." }
+        checkNotEmpty(resourceDictionary.tags) { "ResourceDictionary Definition tags is missing." }
+        checkNotEmpty(resourceDictionary.updatedBy) { "ResourceDictionary Definition updatedBy is missing." }
         return true
     }
 
index ff12efd..846bd0a 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright © 2017-2023 AT&T Intellectual Property.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.onap.ccsdk.cds.blueprintsprocessor.designer.api.utils
 
 enum class BlueprintSortByOption(val columnName: String) {
diff --git a/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/utils/DictionarySortByOption.kt b/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/utils/DictionarySortByOption.kt
new file mode 100644 (file)
index 0000000..c0df4d7
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2017-2023 AT&T Intellectual Property.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ccsdk.cds.blueprintsprocessor.designer.api.utils
+
+enum class DictionarySortByOption(val columnName: String) {
+    DATE("creationDate")
+}
index 49e0313..26badcc 100644 (file)
@@ -47,7 +47,7 @@ import org.springframework.web.bind.annotation.RestController
 @RestController
 @RequestMapping("/api/v1/template")
 @Api(
-    value = "Resource template",
+    value = "Resource Template",
     description = "Interaction with resolved templates"
 )
 open class TemplateController(private val templateResolutionService: TemplateResolutionService) {
index bed8b80..7c0672f 100644 (file)
@@ -50,8 +50,8 @@ import javax.annotation.PreDestroy
 @RestController
 @RequestMapping("/api/v1/execution-service")
 @Api(
-    value = "/api/v1/execution-service",
-    description = "Interaction with CBA."
+    value = "Execution Service Catalog",
+    description = "Interaction with CBA which are available in CDS"
 )
 open class ExecutionServiceController {
 
diff --git a/pom.xml b/pom.xml
index e2cd05e..800aba2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@ limitations under the License.
     <parent>
         <groupId>org.onap.ccsdk.parent</groupId>
         <artifactId>spring-boot-26-starter-parent</artifactId>
-        <version>2.5.4-SNAPSHOT</version>
+        <version>2.5.4</version>
         <relativePath/>
     </parent>