commit | 571c1c8c6e202fd9d31cbffe1ffdf87213104b6a | [log] [tgz] |
---|---|---|
author | shrek2000 <orenkle@amdocs.com> | Thu Jan 18 10:40:26 2018 +0200 |
committer | Avi Gaffa <avi.gaffa@amdocs.com> | Sun Jan 21 11:14:45 2018 +0000 |
tree | 4bb0e144968fb2beb41a6b4d4ece1297193ecfe0 | |
parent | aa2eece0e8559be66454b757cae4bbccb59ea828 [diff] |
Fix zusammen export tool Zusammen import needs to import and export table zusammen_dox.element_synchronization_state Issue-ID: SDC-941 Change-Id: I4693b99f44382b5c320dfb5b83679faff50164f2 Signed-off-by: shrek2000 <orenkle@amdocs.com>
diff --git a/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/importinfo/ImportSingleTable.java b/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/importinfo/ImportSingleTable.java index 922e5c7..6351d7f 100644 --- a/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/importinfo/ImportSingleTable.java +++ b/openecomp-be/tools/zusammen-tools/src/main/java/org/openecomp/core/tools/importinfo/ImportSingleTable.java
@@ -97,7 +97,7 @@ break; case TIMESTAMP: if (StringUtils.isEmpty(rowData)){ - bind.setSet(i, null); + bind.setDate(i, null); } else { bind.setDate(i, new Date(Long.parseLong(rowData))); }
diff --git a/openecomp-be/tools/zusammen-tools/src/main/resources/queries.yaml b/openecomp-be/tools/zusammen-tools/src/main/resources/queries.yaml index a93a5a4..0e4f5f5 100644 --- a/openecomp-be/tools/zusammen-tools/src/main/resources/queries.yaml +++ b/openecomp-be/tools/zusammen-tools/src/main/resources/queries.yaml
@@ -1,6 +1,7 @@ queries: - select * from zusammen_dox.element; - select * from zusammen_dox.element_namespace; + - select * from zusammen_dox.element_synchronization_state; - select * from zusammen_dox.item; - select * from zusammen_dox.version; - select * from zusammen_dox.version_elements; @@ -13,4 +14,6 @@ - item_id - item_id - item_id + - item_id + - item_id - item_id \ No newline at end of file