From e559a727ab7e901bc90fd5213804deb43b33c607 Mon Sep 17 00:00:00 2001 From: sebdet Date: Wed, 21 Apr 2021 10:38:57 +0200 Subject: Update Autogenerated Swagger Update Swagger json/html and pdf + boot message for Istanbul Issue-ID: POLICY-3224 Signed-off-by: sebdet Change-Id: Ie4beddabba73bcba345372c788ab5597edc7afd5 --- src/main/resources/META-INF/resources/swagger.html | 651 ++++++++++++++++----- src/main/resources/boot-message.txt | 25 +- 2 files changed, 519 insertions(+), 157 deletions(-) (limited to 'src') diff --git a/src/main/resources/META-INF/resources/swagger.html b/src/main/resources/META-INF/resources/swagger.html index 6712ab096..267cb509b 100644 --- a/src/main/resources/META-INF/resources/swagger.html +++ b/src/main/resources/META-INF/resources/swagger.html @@ -444,31 +444,31 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • 2. Paths @@ -704,19 +725,20 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • 3.5. ExternalComponent
  • 3.6. ExternalComponentState
  • 3.7. JsonArray
  • -
  • 3.8. JsonNull
  • -
  • 3.9. JsonObject
  • -
  • 3.10. JsonPrimitive
  • -
  • 3.11. Loop
  • -
  • 3.12. LoopElementModel
  • -
  • 3.13. LoopLog
  • -
  • 3.14. LoopTemplate
  • -
  • 3.15. LoopTemplateLoopElementModel
  • -
  • 3.16. MicroServicePolicy
  • -
  • 3.17. Number
  • -
  • 3.18. OperationalPolicy
  • -
  • 3.19. PolicyModel
  • -
  • 3.20. Service
  • +
  • 3.8. JsonElement
  • +
  • 3.9. JsonNull
  • +
  • 3.10. JsonObject
  • +
  • 3.11. JsonPrimitive
  • +
  • 3.12. Loop
  • +
  • 3.13. LoopElementModel
  • +
  • 3.14. LoopLog
  • +
  • 3.15. LoopTemplate
  • +
  • 3.16. LoopTemplateLoopElementModel
  • +
  • 3.17. MicroServicePolicy
  • +
  • 3.18. Number
  • +
  • 3.19. OperationalPolicy
  • +
  • 3.20. PolicyModel
  • +
  • 3.21. Service
  • @@ -729,13 +751,13 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

    1.1. Version information

    -

    Version : 6.0.0-SNAPSHOT

    +

    Version : 6.1.0-SNAPSHOT

    1.2. URI scheme

    -

    Host : localhost:40283
    +

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

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

    2. Paths

    -

    2.1. GET /v1/healthcheck

    +

    2.1. GET /v1/healthcheck

    2.1.1. Responses

    @@ -783,7 +805,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -817,7 +839,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -854,7 +876,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -891,7 +913,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -963,7 +985,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1000,7 +1022,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1062,7 +1084,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1140,7 +1162,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1199,7 +1221,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1264,7 +1286,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1338,7 +1360,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1357,7 +1379,13 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b - + + + + + @@ -1410,7 +1438,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

    Path

    loopName}?templateName={templateName
    +

    loopName
    +required

    string

    Path

    templateName
    required

    string

    @@ -1459,7 +1487,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1521,7 +1549,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1558,7 +1586,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1620,7 +1648,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1688,7 +1716,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1756,7 +1784,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1836,7 +1864,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1898,7 +1926,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -1960,7 +1988,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2022,7 +2050,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2084,7 +2112,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2162,7 +2190,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2240,7 +2268,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2318,7 +2346,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2380,7 +2408,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    @@ -2400,7 +2428,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b - +

    200

    Output type

    string

    JsonObject

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

    2.29. POST /v2/policyToscaModels

    +

    2.29. PUT /v2/policies/pdpDeployment

    2.29.1. Parameters

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

    Body

    body
    required

    string

    JsonElement

    @@ -2447,6 +2475,228 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

    2.29.2. Responses

    +++ + + + + + + + + + + + + +
    HTTP CodeSchema

    200

    No Content

    +
    +
    +

    2.29.3. Consumes

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +
    +

    2.30. POST /v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}

    +
    +

    2.30.1. Parameters

    + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameSchema

    Path

    policyModelType
    +required

    string

    Path

    policyModelVersion
    +required

    string

    Path

    policyName
    +required

    string

    Path

    policyVersion
    +required

    string

    Body

    body
    +required

    JsonElement

    +
    +
    +

    2.30.2. Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    Output type

    JsonObject

    +
    +
    +

    2.30.3. Consumes

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    2.30.4. Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +
    +

    2.31. DELETE /v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}

    +
    +

    2.31.1. Parameters

    + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameSchema

    Path

    policyModelType
    +required

    string

    Path

    policyModelVersion
    +required

    string

    Path

    policyName
    +required

    string

    Path

    policyVersion
    +required

    string

    +
    +
    +

    2.31.2. Responses

    + ++++ + + + + + + + + + + + + +
    HTTP CodeSchema

    200

    No Content

    +
    +
    +
    +

    2.32. POST /v2/policyToscaModels

    +
    +

    2.32.1. Parameters

    + +++++ + + + + + + + + + + + + + + +
    TypeNameSchema

    Body

    body
    +required

    string

    +
    +
    +

    2.32.2. Responses

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

    2.29.3. Consumes

    +

    2.32.3. Consumes

    • @@ -2478,7 +2728,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.29.4. Produces

    +

    2.32.4. Produces

    • @@ -2489,9 +2739,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.30. GET /v2/policyToscaModels

    +

    2.33. GET /v2/policyToscaModels

    -

    2.30.1. Responses

    +

    2.33.1. Responses

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

    2.30.2. Produces

    +

    2.33.2. Produces

    • @@ -2526,9 +2776,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.31. GET /v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}

    +

    2.34. GET /v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}

    -

    2.31.1. Parameters

    +

    2.34.1. Parameters

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

    2.31.2. Responses

    +

    2.34.2. Responses

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

    2.31.3. Produces

    +

    2.34.3. Produces

    • @@ -2594,9 +2844,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.32. GET /v2/policyToscaModels/{policyModelType}/{policyModelVersion}

    +

    2.35. GET /v2/policyToscaModels/{policyModelType}/{policyModelVersion}

    -

    2.32.1. Parameters

    +

    2.35.1. Parameters

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

    2.32.2. Responses

    +

    2.35.2. Responses

    @@ -2645,13 +2895,13 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b - +

    200

    Output type

    PolicyModel

    JsonObject

    -

    2.32.3. Produces

    +

    2.35.3. Produces

    • @@ -2662,9 +2912,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.33. PUT /v2/policyToscaModels/{policyModelType}/{policyModelVersion}

    +

    2.36. PUT /v2/policyToscaModels/{policyModelType}/{policyModelVersion}

    -

    2.33.1. Parameters

    +

    2.36.1. Parameters

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

    2.33.2. Responses

    +

    2.36.2. Responses

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

    2.33.3. Consumes

    +

    2.36.3. Consumes

    • @@ -2735,7 +2985,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.33.4. Produces

    +

    2.36.4. Produces

    • @@ -2746,9 +2996,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.34. GET /v2/templates

    +

    2.37. GET /v2/templates

    -

    2.34.1. Responses

    +

    2.37.1. Responses

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

    2.34.2. Produces

    +

    2.37.2. Produces

    • @@ -2783,9 +3033,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.35. GET /v2/templates/names

    +

    2.38. GET /v2/templates/names

    -

    2.35.1. Responses

    +

    2.38.1. Responses

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

    2.35.2. Produces

    +

    2.38.2. Produces

    • @@ -2820,9 +3070,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    2.36. GET /v2/templates/{templateName}

    +

    2.39. GET /v2/templates/{templateName}

    -

    2.36.1. Parameters

    +

    2.39.1. Parameters

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

    2.36.2. Responses

    +

    2.39.2. Responses

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

    2.36.3. Produces

    +

    2.39.3. Produces

    • @@ -3251,7 +3501,124 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    3.8. JsonNull

    +

    3.8. JsonElement

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

    asBigDecimal
    +optional

    number

    asBigInteger
    +optional

    integer

    asBoolean
    +optional

    boolean

    asByte
    +optional

    string (byte)

    asCharacter
    +optional

    string

    asDouble
    +optional

    number (double)

    asFloat
    +optional

    number (float)

    asInt
    +optional

    integer (int32)

    asJsonArray
    +optional

    JsonArray

    asJsonNull
    +optional

    JsonNull

    asJsonObject
    +optional

    JsonObject

    asJsonPrimitive
    +optional

    JsonPrimitive

    asLong
    +optional

    integer (int64)

    asNumber
    +optional

    Number

    asShort
    +optional

    integer (int32)

    asString
    +optional

    string

    jsonArray
    +optional

    boolean

    jsonNull
    +optional

    boolean

    jsonObject
    +optional

    boolean

    jsonPrimitive
    +optional

    boolean

    +
    +
    +

    3.9. JsonNull

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

    3.9. JsonObject

    +

    3.10. JsonObject

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

    3.10. JsonPrimitive

    +

    3.11. JsonPrimitive

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

    3.11. Loop

    +

    3.12. Loop

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

    3.12. LoopElementModel

    +

    3.13. LoopElementModel

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

    3.13. LoopLog

    +

    3.14. LoopLog

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

    3.14. LoopTemplate

    +

    3.15. LoopTemplate

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

    3.15. LoopTemplateLoopElementModel

    +

    3.16. LoopTemplateLoopElementModel

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

    3.16. MicroServicePolicy

    +

    3.17. MicroServicePolicy

    @@ -4044,13 +4411,13 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
    -

    3.17. Number

    +

    3.18. Number

    Type : object

    -

    3.18. OperationalPolicy

    +

    3.19. OperationalPolicy

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

    3.19. PolicyModel

    +

    3.20. PolicyModel

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

    3.20. Service

    +

    3.21. Service

    diff --git a/src/main/resources/boot-message.txt b/src/main/resources/boot-message.txt index b0d68e04c..5a6cf1824 100644 --- a/src/main/resources/boot-message.txt +++ b/src/main/resources/boot-message.txt @@ -1,19 +1,14 @@ - ___ ____ ____ ____ __ __ ___ ____ ___ _ __ __ _ __ __ - / \ | \ / T| \ | T T / \ | \ / \ | T | T T| T | T T -Y Y| _ YY o || o ) | l |Y Y| _ YY Y| | | | || | | | | -| O || | || || _/ | _ || O || | || O || l___ | | || l___ | | | -| || | || _ || | | | || || | || || T| : || T| : | -l !| | || | || | | | |l !| | |l !| |l || |l | - \___/ l__j__jl__j__jl__j l__j__j \___/ l__j__j \___/ l_____j \__,_jl_____j \__,_j - - ____ ___ _ ____ __ __ __ __ _ ____ ___ ___ ____ -| \ / \ | T l j / ]| T T / ]| T / T| T T| \ -| o )Y Y| | | T / / | | | _____ / / | | Y o || _ _ || o ) -| _/ | O || l___ | | / / | ~ || | / / | l___ | || \_/ || _/ -| | | || T | |/ \_ l___, |l_____j/ \_ | T| _ || | || | -| | l !| | j l\ || ! \ || || | || | || | -l__j \___/ l_____j|____j\____jl____/ \____jl_____jl__j__jl___j___jl__j + ___ _ _ _ ____ ___ _ _ _ + / _ \| \ | | / \ | _ \ |_ _|___| |_ __ _ _ __ | |__ _ _| | + | | | | \| | / _ \ | |_) | | |/ __| __/ _` | '_ \| '_ \| | | | | + | |_| | |\ |/ ___ \| __/ | |\__ \ || (_| | | | | |_) | |_| | | + \___/|_| \_/_/ \_\_| |___|___/\__\__,_|_| |_|_.__/ \__,_|_| + ____ ___ _ ___ ______ __ ____ _ _ __ __ ____ + | _ \ / _ \| | |_ _/ ___\ \ / / / ___| | / \ | \/ | _ \ + | |_) | | | | | | | | \ V /____| | | | / _ \ | |\/| | |_) | + | __/| |_| | |___ | | |___ | |_____| |___| |___ / ___ \| | | | __/ + |_| \___/|_____|___\____| |_| \____|_____/_/ \_\_| |_|_| -- cgit 1.2.3-korg