diff options
Diffstat (limited to 'ms/blueprintsprocessor/functions/k8s-connection-plugin/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/instance/K8sConfigValueResponse.kt')
-rw-r--r-- | ms/blueprintsprocessor/functions/k8s-connection-plugin/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/instance/K8sConfigValueResponse.kt | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/instance/K8sConfigValueResponse.kt b/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/instance/K8sConfigValueResponse.kt index 823009fbb..0106b81a4 100644 --- a/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/instance/K8sConfigValueResponse.kt +++ b/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/instance/K8sConfigValueResponse.kt @@ -1,29 +1,39 @@ package org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s.instance +import com.fasterxml.jackson.annotation.JsonAlias import com.fasterxml.jackson.annotation.JsonProperty class K8sConfigValueResponse { - @get:JsonProperty("rb-name") var rbName: String? = null @get:JsonProperty("rb-version") var rbVersion: String? = null + @get:JsonProperty("instance-id") + var instanceId: String? = null + @get:JsonProperty("profile-name") var profileName: String? = null + @get:JsonProperty("description") + var description: String? = null + @get:JsonProperty("template-name") var templateName: String? = null @get:JsonProperty("config-name") var configName: String? = null - @get:JsonProperty("config-name") - var configVersion: String? = null + @get:JsonProperty("config-version") + @get:JsonAlias("config-verion") + var configVersion: Integer? = null + + @get:JsonProperty("values") + var values: Map<String, Object>? = null override fun toString(): String { - return "$rbName:$rbVersion:$profileName:$templateName:$configName:$configVersion" + return "$templateName:$configName" } override fun equals(other: Any?): Boolean { |