aboutsummaryrefslogtreecommitdiffstats
path: root/docs/swagger/swagger.json
blob: 0bd2b077e6174717803485582e6e350322b502de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Copyright © 2019  AT&T Intellectual Property.  All rights reserved.
#
# 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.
HELM_BIN := helm

make-dcaegen2: make-dcae-bootstrap make-dcae-cloudify-manager make-dcae-config-binding-service make-dcae-healthcheck make-dcae-servicechange-handler make-dcae-inventory-api make-dcae-deployment-handler make-dcae-policy-handler make-dcae-dashboard

make-dcae-bootstrap:
	cd components && $(HELM_BIN) dep up dcae-bootstrap && $(HELM_BIN) lint dcae-bootstrap

make-dcae-cloudify-manager:
	cd components && $(HELM_BIN) dep up dcae-cloudify-manager && $(HELM_BIN) lint dcae-cloudify-manager

make-dcae-config-binding-service:
	cd components && $(HELM_BIN) dep up dcae-config-binding-service && $(HELM_BIN) lint dcae-config-binding-service

make-dcae-healthcheck:
	cd components && $(HELM_BIN) dep up dcae-healthcheck && $(HELM_BIN) lint dcae-healthcheck

make-dcae-servicechange-handler:
	cd components && $(HELM_BIN) dep up dcae-servicechange-handler && $(HELM_BIN) lint dcae-servicechange-handler

make-dcae-inventory-api:
	cd components && $(HELM_BIN) dep up dcae-inventory-api && $(HELM_BIN) lint dcae-inventory-api

make-dcae-deployment-handler:
	cd components && $(HELM_BIN) dep up dcae-deployment-handler && $(HELM_BIN) lint dcae-deployment-handler

make-dcae-policy-handler:
	cd components && $(HELM_BIN) dep up dcae-policy-handler && $(HELM_BIN) lint dcae-policy-handler

make-dcae-dashboard:
	cd components && $(HELM_BIN) dep up dcae-dashboard && $(HELM_BIN) lint dcae-dashboard

clean:
	@find . -type f -name '*.tgz' -delete
	@find . -type f -name '*.lock' -delete
> 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857
{
  "swagger" : "2.0",
  "info" : {
    "version" : "4.1.2-SNAPSHOT",
    "title" : "Clamp Rest API"
  },
  "host" : "localhost:40147",
  "basePath" : "/restservices/clds/",
  "schemes" : [ "http" ],
  "paths" : {
    "/v2/loop/{loopName}" : {
      "get" : {
        "operationId" : "route20",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route20"
      }
    },
    "/v2/loop/delete/{loopName}" : {
      "put" : {
        "operationId" : "route30",
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : { }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route30"
      }
    },
    "/v2/loop/deploy/{loopName}" : {
      "put" : {
        "operationId" : "route25",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route25"
      }
    },
    "/v2/loop/getAllNames" : {
      "get" : {
        "operationId" : "route19",
        "produces" : [ "application/json" ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "type" : "array",
              "items" : {
                "type" : "string"
              }
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route19"
      }
    },
    "/v2/loop/getstatus/{loopName}" : {
      "get" : {
        "operationId" : "route31",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route31"
      }
    },
    "/v2/loop/restart/{loopName}" : {
      "put" : {
        "operationId" : "route28",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route28"
      }
    },
    "/v2/loop/stop/{loopName}" : {
      "put" : {
        "operationId" : "route27",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route27"
      }
    },
    "/v2/loop/submit/{loopName}" : {
      "put" : {
        "operationId" : "route29",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route29"
      }
    },
    "/v2/loop/svgRepresentation/{loopName}" : {
      "get" : {
        "operationId" : "route21",
        "produces" : [ "application/xml" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "type" : "string"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route21"
      }
    },
    "/v2/loop/undeploy/{loopName}" : {
      "put" : {
        "operationId" : "route26",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route26"
      }
    },
    "/v2/loop/updateGlobalProperties/{loopName}" : {
      "post" : {
        "operationId" : "route22",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : true,
          "schema" : {
            "$ref" : "#/definitions/JsonObject"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route22"
      }
    },
    "/v2/loop/updateMicroservicePolicy/{loopName}" : {
      "post" : {
        "operationId" : "route24",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : true,
          "schema" : {
            "$ref" : "#/definitions/MicroServicePolicy"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/MicroServicePolicy"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route24"
      }
    },
    "/v2/loop/updateOperationalPolicies/{loopName}" : {
      "post" : {
        "operationId" : "route23",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "loopName",
          "in" : "path",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "required" : true,
          "schema" : {
            "$ref" : "#/definitions/JsonArray"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/Loop"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route23"
      }
    },
    "/v1/clds/cldsInfo" : {
      "get" : {
        "operationId" : "route32",
        "produces" : [ "application/json" ],
        "responses" : {
          "200" : {
            "description" : "Output type",
            "schema" : {
              "$ref" : "#/definitions/CldsInfo"
            }
          }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route32"
      }
    },
    "/v1/healthcheck" : {
      "get" : {
        "operationId" : "route33",
        "produces" : [ "application/json" ],
        "responses" : {
          "200" : { }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route33"
      }
    },
    "/v1/user/getUser" : {
      "get" : {
        "operationId" : "route34",
        "produces" : [ "text/plain" ],
        "responses" : {
          "200" : { }
        },
        "x-camelContextId" : "camel-2",
        "x-routeId" : "route34"
      }
    }
  },
  "definitions" : {
    "Loop" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "dcaeDeploymentId" : {
          "type" : "string"
        },
        "dcaeDeploymentStatusUrl" : {
          "type" : "string"
        },
        "dcaeBlueprintId" : {
          "type" : "string"
        },
        "svgRepresentation" : {
          "type" : "string"
        },
        "globalPropertiesJson" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "modelPropertiesJson" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "blueprint" : {
          "type" : "string"
        },
        "lastComputedState" : {
          "type" : "string",
          "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
        },
        "components" : {
          "type" : "object",
          "additionalProperties" : {
            "$ref" : "#/definitions/ExternalComponent"
          }
        },
        "operationalPolicies" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/OperationalPolicy"
          }
        },
        "microServicePolicies" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/MicroServicePolicy"
          }
        },
        "loopLogs" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/LoopLog"
          }
        }
      },
      "x-className" : {
        "type" : "string",
        "format" : "org.onap.clamp.loop.Loop"
      }
    },
    "JsonArray" : {
      "type" : "object",
      "properties" : {
        "asString" : {
          "type" : "string"
        },
        "asBoolean" : {
          "type" : "boolean"
        },
        "asNumber" : {
          "$ref" : "#/definitions/Number"
        },
        "asDouble" : {
          "type" : "number",
          "format" : "double"
        },
        "asFloat" : {
          "type" : "number",
          "format" : "float"
        },
        "asLong" : {
          "type" : "integer",
          "format" : "int64"
        },
        "asInt" : {
          "type" : "integer",
          "format" : "int32"
        },
        "asByte" : {
          "type" : "string",
          "format" : "byte"
        },
        "asCharacter" : {
          "type" : "string"
        },
        "asBigDecimal" : {
          "type" : "number"
        },
        "asBigInteger" : {
          "type" : "integer"
        },
        "asShort" : {
          "type" : "integer",
          "format" : "int32"
        },
        "asJsonObject" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "asJsonPrimitive" : {
          "$ref" : "#/definitions/JsonPrimitive"
        },
        "jsonObject" : {
          "type" : "boolean"
        },
        "jsonNull" : {
          "type" : "boolean"
        },
        "jsonArray" : {
          "type" : "boolean"
        },
        "jsonPrimitive" : {
          "type" : "boolean"
        },
        "asJsonArray" : {
          "$ref" : "#/definitions/JsonArray"
        },
        "asJsonNull" : {
          "$ref" : "#/definitions/JsonNull"
        }
      },
      "x-className" : {
        "type" : "string",
        "format" : "com.google.gson.JsonArray"
      }
    },
    "LoopLog" : {
      "type" : "object",
      "properties" : {
        "id" : {
          "type" : "integer",
          "format" : "int64"
        },
        "logType" : {
          "type" : "string",
          "enum" : [ "INFO", "WARNING", "ERROR" ]
        },
        "logComponent" : {
          "type" : "string"
        },
        "message" : {
          "type" : "string"
        },
        "loop" : {
          "$ref" : "#/definitions/Loop"
        },
        "logInstant" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "Number" : {
      "type" : "object"
    },
    "JsonPrimitive" : {
      "type" : "object",
      "properties" : {
        "boolean" : {
          "type" : "boolean"
        },
        "number" : {
          "type" : "boolean"
        },
        "asString" : {
          "type" : "string"
        },
        "asBoolean" : {
          "type" : "boolean"
        },
        "asNumber" : {
          "$ref" : "#/definitions/Number"
        },
        "asDouble" : {
          "type" : "number",
          "format" : "double"
        },
        "asFloat" : {
          "type" : "number",
          "format" : "float"
        },
        "asLong" : {
          "type" : "integer",
          "format" : "int64"
        },
        "asInt" : {
          "type" : "integer",
          "format" : "int32"
        },
        "asByte" : {
          "type" : "string",
          "format" : "byte"
        },
        "asCharacter" : {
          "type" : "string"
        },
        "asBigDecimal" : {
          "type" : "number"
        },
        "asBigInteger" : {
          "type" : "integer"
        },
        "asShort" : {
          "type" : "integer",
          "format" : "int32"
        },
        "string" : {
          "type" : "boolean"
        },
        "asJsonObject" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "asJsonPrimitive" : {
          "$ref" : "#/definitions/JsonPrimitive"
        },
        "jsonObject" : {
          "type" : "boolean"
        },
        "jsonNull" : {
          "type" : "boolean"
        },
        "jsonArray" : {
          "type" : "boolean"
        },
        "jsonPrimitive" : {
          "type" : "boolean"
        },
        "asJsonArray" : {
          "$ref" : "#/definitions/JsonArray"
        },
        "asJsonNull" : {
          "$ref" : "#/definitions/JsonNull"
        }
      }
    },
    "MicroServicePolicy" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "modelType" : {
          "type" : "string"
        },
        "properties" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "shared" : {
          "type" : "boolean"
        },
        "policyTosca" : {
          "type" : "string"
        },
        "jsonRepresentation" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "usedByLoops" : {
          "type" : "array",
          "uniqueItems" : true,
          "items" : {
            "$ref" : "#/definitions/Loop"
          }
        }
      },
      "x-className" : {
        "type" : "string",
        "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
      }
    },
    "JsonObject" : {
      "type" : "object",
      "properties" : {
        "asJsonObject" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "asJsonPrimitive" : {
          "$ref" : "#/definitions/JsonPrimitive"
        },
        "asString" : {
          "type" : "string"
        },
        "jsonObject" : {
          "type" : "boolean"
        },
        "jsonNull" : {
          "type" : "boolean"
        },
        "jsonArray" : {
          "type" : "boolean"
        },
        "asBoolean" : {
          "type" : "boolean"
        },
        "jsonPrimitive" : {
          "type" : "boolean"
        },
        "asJsonArray" : {
          "$ref" : "#/definitions/JsonArray"
        },
        "asJsonNull" : {
          "$ref" : "#/definitions/JsonNull"
        },
        "asNumber" : {
          "$ref" : "#/definitions/Number"
        },
        "asDouble" : {
          "type" : "number",
          "format" : "double"
        },
        "asFloat" : {
          "type" : "number",
          "format" : "float"
        },
        "asLong" : {
          "type" : "integer",
          "format" : "int64"
        },
        "asInt" : {
          "type" : "integer",
          "format" : "int32"
        },
        "asByte" : {
          "type" : "string",
          "format" : "byte"
        },
        "asCharacter" : {
          "type" : "string"
        },
        "asBigDecimal" : {
          "type" : "number"
        },
        "asBigInteger" : {
          "type" : "integer"
        },
        "asShort" : {
          "type" : "integer",
          "format" : "int32"
        }
      },
      "x-className" : {
        "type" : "string",
        "format" : "com.google.gson.JsonObject"
      }
    },
    "ExternalComponent" : {
      "type" : "object",
      "properties" : {
        "state" : {
          "$ref" : "#/definitions/ExternalComponentState"
        },
        "componentName" : {
          "type" : "string"
        }
      }
    },
    "OperationalPolicy" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "type" : "string"
        },
        "configurationsJson" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "loop" : {
          "$ref" : "#/definitions/Loop"
        },
        "jsonRepresentation" : {
          "$ref" : "#/definitions/JsonObject"
        }
      }
    },
    "ExternalComponentState" : {
      "type" : "object",
      "properties" : {
        "stateName" : {
          "type" : "string"
        },
        "description" : {
          "type" : "string"
        },
        "level" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "JsonNull" : {
      "type" : "object",
      "properties" : {
        "asJsonObject" : {
          "$ref" : "#/definitions/JsonObject"
        },
        "asJsonPrimitive" : {
          "$ref" : "#/definitions/JsonPrimitive"
        },
        "asString" : {
          "type" : "string"
        },
        "jsonObject" : {
          "type" : "boolean"
        },
        "jsonNull" : {
          "type" : "boolean"
        },
        "jsonArray" : {
          "type" : "boolean"
        },
        "asBoolean" : {
          "type" : "boolean"
        },
        "jsonPrimitive" : {
          "type" : "boolean"
        },
        "asJsonArray" : {
          "$ref" : "#/definitions/JsonArray"
        },
        "asJsonNull" : {
          "$ref" : "#/definitions/JsonNull"
        },
        "asNumber" : {
          "$ref" : "#/definitions/Number"
        },
        "asDouble" : {
          "type" : "number",
          "format" : "double"
        },
        "asFloat" : {
          "type" : "number",
          "format" : "float"
        },
        "asLong" : {
          "type" : "integer",
          "format" : "int64"
        },
        "asInt" : {
          "type" : "integer",
          "format" : "int32"
        },
        "asByte" : {
          "type" : "string",
          "format" : "byte"
        },
        "asCharacter" : {
          "type" : "string"
        },
        "asBigDecimal" : {
          "type" : "number"
        },
        "asBigInteger" : {
          "type" : "integer"
        },
        "asShort" : {
          "type" : "integer",
          "format" : "int32"
        }
      }
    },
    "CldsInfo" : {
      "type" : "object",
      "properties" : {
        "userName" : {
          "type" : "string"
        },
        "cldsVersion" : {
          "type" : "string"
        },
        "permissionReadCl" : {
          "type" : "boolean"
        },
        "permissionUpdateCl" : {
          "type" : "boolean"
        },
        "permissionReadTemplate" : {
          "type" : "boolean"
        },
        "permissionUpdateTemplate" : {
          "type" : "boolean"
        },
        "permissionReadTosca" : {
          "type" : "boolean"
        },
        "permissionUpdateTosca" : {
          "type" : "boolean"
        }
      },
      "x-className" : {
        "type" : "string",
        "format" : "org.onap.clamp.clds.model.CldsInfo"
      }
    }
  }
}