Controller Blueprints Component Core
[ccsdk/apps.git] / components / core / src / main / kotlin / org / onap / ccsdk / apps / controllerblueprints / core / data / BluePrintModel.kt
index 70f3c55..9b6fbbf 100644 (file)
@@ -91,7 +91,7 @@ A node filter definition defines criteria for selection of a TOSCA Node Template
 \r
 class NodeFilterDefinition {\r
     var properties: MutableMap<String, PropertyDefinition>? = null\r
-    var capabilities : MutableList<String>? = null\r
+    var capabilities: MutableList<String>? = null\r
 }\r
 \r
 /*\r
@@ -348,7 +348,7 @@ class ArtifactType : EntityType() {
 A Data Type definition defines the schema for new named datatypes in TOSCA.\r
  */\r
 \r
-class DataType : EntityType(){\r
+class DataType : EntityType() {\r
     var constraints: MutableList<ConstraintClause>? = null\r
 }\r
 \r
@@ -410,7 +410,7 @@ class GroupType : EntityType() {
     topology at some stage of its lifecycle, but is not explicitly part of the topology itself\r
     (i.e., it does not prevent the application or service from being deployed or run if it did not exist).\r
  */\r
-class PolicyType : EntityType(){\r
+class PolicyType : EntityType() {\r
     lateinit var targets: MutableList<String>\r
 }\r
 \r
@@ -434,10 +434,10 @@ class GroupDefinition {
     var id: String? = null\r
     lateinit var type: String\r
     var description: String? = null\r
-    var metadata : MutableMap<String, String>? = null\r
-    var properties : MutableMap<String, JsonNode>? = null\r
+    var metadata: MutableMap<String, String>? = null\r
+    var properties: MutableMap<String, JsonNode>? = null\r
     var members = ArrayList<String>()\r
-    var interfaces : MutableMap<String, InterfaceDefinition>?= null\r
+    var interfaces: MutableMap<String, InterfaceDefinition>? = null\r
 }\r
 \r
 /*\r
@@ -597,7 +597,7 @@ class ServiceTemplate {
     @get:JsonProperty("node_types")\r
     var nodeTypes: MutableMap<String, NodeType>? = null\r
     @get:JsonProperty("policy_types")\r
-    var policyTypes: PolicyType? = null\r
+    var policyTypes: MutableMap<String, PolicyType>? = null\r
     @get:JsonProperty("topology_template")\r
     var topologyTemplate: TopologyTemplate? = null\r
 }\r