+ "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"
+ }