summaryrefslogtreecommitdiffstats
path: root/openecomp-be
diff options
context:
space:
mode:
authorshrek2000 <orenkle@amdocs.com>2018-01-17 16:07:59 +0200
committershrek2000 <orenkle@amdocs.com>2018-01-17 16:13:21 +0200
commita7735509a29580d0bf8a9eac92f4402940b74517 (patch)
tree6b93a456061fce644874ba8448251b249370a465 /openecomp-be
parent397259ecc15404b40e5589203db2637115426170 (diff)
Fix zusammen export tool
Zusammen import fails to serialize maps Issue-ID: SDC-941 Change-Id: Ie864c209dc0437ce402a789cb13f042700fc78ac Signed-off-by: shrek2000 <orenkle@amdocs.com>
Diffstat (limited to 'openecomp-be')
-rw-r--r--openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/exportinfo/ExportSerializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/exportinfo/ExportSerializer.java b/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/exportinfo/ExportSerializer.java
index f4710fbae5..8614d4fcab 100644
--- a/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/exportinfo/ExportSerializer.java
+++ b/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/exportinfo/ExportSerializer.java
@@ -125,7 +125,7 @@ public class ExportSerializer {
Map<Object, Object> map = row.getMap(i, Object.class, Object.class);
Set<Map.Entry<Object, Object>> entrySet = map.entrySet();
Object mapAsString = entrySet.parallelStream().map(entry -> entry.getKey().toString() + ExportDataCommand.MAP_DELIMITER + entry.getValue().toString())
- .collect(Collectors.joining(ExportDataCommand.MAP_DELIMITER));
+ .collect(Collectors.joining(ExportDataCommand.JOIN_DELIMITER));
data = Base64.getEncoder().encodeToString(mapAsString.toString().getBytes());
break;
default: