From 825612628f130b394f9ee1aa1ad2cca41b67bc7f Mon Sep 17 00:00:00 2001 From: nrpandya Date: Thu, 21 Nov 2019 11:51:18 -0600 Subject: Add template and tosca model entities and repositories Add Control loop template, tosca model and model policy properties hibernate entity classes and crud repositories Issue-ID: CLAMP-555 Change-Id: Ib7f07aca5ad2ddf5caff7c98ea9341bdc147e817 Signed-off-by: nrpandya --- src/main/resources/META-INF/resources/swagger.html | 411 ++++++++++++++++++--- 1 file changed, 368 insertions(+), 43 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/META-INF/resources/swagger.html b/src/main/resources/META-INF/resources/swagger.html index b20d0c26..66024470 100644 --- a/src/main/resources/META-INF/resources/swagger.html +++ b/src/main/resources/META-INF/resources/swagger.html @@ -444,86 +444,86 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • 2. Paths @@ -583,13 +588,13 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

    1.1. Version information

    -

    Version : 4.1.2-SNAPSHOT

    +

    Version : 4.2.0-SNAPSHOT

    1.2. URI scheme

    -

    Host : localhost:34219
    +

    Host : localhost:33953
    BasePath : /restservices/clds/
    Schemes : HTTP

    @@ -600,7 +605,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

    2. Paths

    -

    2.1. GET /v1/clds/cldsInfo

    +

    2.1. GET /v1/clds/cldsInfo

    2.1.1. Responses

    @@ -637,7 +642,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -674,7 +679,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -708,7 +713,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -757,7 +762,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -819,7 +824,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -856,7 +861,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -918,7 +923,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -980,7 +985,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1042,7 +1047,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1104,7 +1109,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1166,7 +1171,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1228,7 +1233,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1306,7 +1311,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1384,7 +1389,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1462,7 +1467,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2184,6 +2189,16 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b + + + + + + + + @@ -2214,14 +2229,19 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b + + + + - - + + + + + + + + +

    < string, ExternalComponent > map

    createdBy
    +optional

    string

    createdDate
    +optional

    integer (int64)

    dcaeBlueprintId
    optional

    string

    < LoopLog > array

    loopTemplate
    +optional

    LoopTemplate

    microServicePolicies
    optional

    < MicroServicePolicy > array

    modelPropertiesJson
    +

    modelService
    optional

    JsonObject

    Service

    name
    @@ -2238,6 +2258,16 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b optional

    string

    updatedBy
    +optional

    string

    updatedDate
    +optional

    integer (int64)

    @@ -2289,7 +2319,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    3.11. MicroServicePolicy

    +

    3.11. LoopTemplate

    @@ -2303,11 +2333,165 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    blueprint
    +optional

    string

    createdBy
    +optional

    string

    createdDate
    +optional

    integer (int64)

    maximumInstancesAllowed
    +optional

    integer (int32)

    microServiceModelUsed
    +optional

    < TemplateMicroServiceModel > array

    modelService
    +optional

    Service

    name
    +optional

    string

    svgRepresentation
    +optional

    string

    updatedBy
    +optional

    string

    updatedDate
    +optional

    integer (int64)

    +
    +
    +

    3.12. MicroServiceModel

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameSchema

    blueprint
    +optional

    string

    createdBy
    +optional

    string

    createdDate
    +optional

    integer (int64)

    name
    +optional

    string

    policyModel
    +optional

    PolicyModel

    policyType
    +optional

    string

    updatedBy
    +optional

    string

    updatedDate
    +optional

    integer (int64)

    usedByLoopTemplates
    +optional

    < TemplateMicroServiceModel > array

    +
    +
    +

    3.13. MicroServicePolicy

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2333,6 +2517,16 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b + + + + + + + + @@ -2341,13 +2535,13 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    NameSchema

    context
    +optional

    string

    createdBy
    +optional

    string

    createdDate
    +optional

    integer (int64)

    deviceTypeScope
    +optional

    string

    jsonRepresentation
    optional

    JsonObject

    microServiceModel
    +optional

    MicroServiceModel

    modelType
    optional

    string

    boolean

    updatedBy
    +optional

    string

    updatedDate
    +optional

    integer (int64)

    usedByLoops
    optional

    < Loop > array

    -

    3.12. Number

    +

    3.14. Number

    Type : object

    -

    3.13. OperationalPolicy

    +

    3.15. OperationalPolicy

    @@ -2380,6 +2574,137 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b optional

    + + + + + +

    string

    policyModel
    +optional

    PolicyModel

    +
    +
    +

    3.16. PolicyModel

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameSchema

    createdBy
    +optional

    string

    createdDate
    +optional

    integer (int64)

    policyAcronym
    +optional

    string

    policyModelTosca
    +optional

    string

    policyModelType
    +optional

    string

    policyVariant
    +optional

    string

    updatedBy
    +optional

    string

    updatedDate
    +optional

    integer (int64)

    version
    +optional

    string

    +
    +
    +

    3.17. Service

    + ++++ + + + + + + + + + + + + + + + + + + + + +
    NameSchema

    resourceDetails
    +optional

    JsonObject

    serviceDetails
    +optional

    JsonObject

    serviceUuid
    +optional

    string

    +
    +
    +

    3.18. TemplateMicroServiceModel

    + ++++ + + + + + + + + + + + + + + + + + + +
    NameSchema

    flowOrder
    +optional

    integer (int32)

    loopTemplate
    +optional

    LoopTemplate

    microServiceModel
    +optional

    MicroServiceModel

    @@ -2388,7 +2713,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -- cgit 1.2.3-korg