diff options
author | Shashikanth VH <shashikanth.vh@huawei.com> | 2022-04-11 12:24:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-04-11 12:24:24 +0000 |
commit | 131fd74f717f76bc23af1ef935f6e96654f703d6 (patch) | |
tree | e5ce2c096ce3112f96e8f0d5c8226099355387cd /common/src | |
parent | 9a6d09acbd38c70329377e2ead31900efe773b27 (diff) | |
parent | 3477cf29e64eab2edf16c1ba3d589519765ada39 (diff) |
Merge "Enable complex data types in service instanceParams"
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/main/java/org/onap/so/serviceinstancebeans/Service.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/main/java/org/onap/so/serviceinstancebeans/Service.java b/common/src/main/java/org/onap/so/serviceinstancebeans/Service.java index c368f67907..3c3e10c483 100644 --- a/common/src/main/java/org/onap/so/serviceinstancebeans/Service.java +++ b/common/src/main/java/org/onap/so/serviceinstancebeans/Service.java @@ -42,7 +42,7 @@ public class Service implements Serializable { @JsonProperty("instanceName") protected String instanceName; @JsonProperty("instanceParams") - private List<Map<String, String>> instanceParams = new ArrayList<>(); + private List<Map<String, Object>> instanceParams = new ArrayList<>(); @JsonProperty("resources") protected Resources resources; @@ -70,11 +70,11 @@ public class Service implements Serializable { this.instanceName = instanceName; } - public List<Map<String, String>> getInstanceParams() { + public List<Map<String, Object>> getInstanceParams() { return instanceParams; } - public void setInstanceParams(List<Map<String, String>> instanceParams) { + public void setInstanceParams(List<Map<String, Object>> instanceParams) { this.instanceParams = instanceParams; } |