diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2022-04-07 13:36:27 -0400 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2022-04-11 02:52:42 +0000 |
commit | 3477cf29e64eab2edf16c1ba3d589519765ada39 (patch) | |
tree | df8ffb947b7d92f799d63a2a32388f64b923e3c9 /common/src/main | |
parent | d64070d39ee8608c514e6b1e45f1e1e25480c076 (diff) |
Enable complex data types in service instanceParams
Issue-ID: SO-3923
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ibf371c4ffbedd6548a8e9630a9baeb5e2c43d7f4
Diffstat (limited to 'common/src/main')
-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; } |