This is an automated email from the ASF dual-hosted git repository.
keyur pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/usergrid.git
The following commit(s) were added to refs/heads/master by this push:
new ad552de Added entity id and type to dictionary object in export. This
will establish relationship between entity and dictionary.
new ac1e6e4 Merge pull request #624 from bursech/master
ad552de is described below
commit ad552dec5662cf1212b22993871288dbfb0ceba7
Author: Chetan Burse <[email protected]>
AuthorDate: Fri Mar 22 12:41:59 2019 -0700
Added entity id and type to dictionary object in export.
This will establish relationship between entity and dictionary.
---
stack/tools/src/main/java/org/apache/usergrid/tools/Export.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/stack/tools/src/main/java/org/apache/usergrid/tools/Export.java
b/stack/tools/src/main/java/org/apache/usergrid/tools/Export.java
index 9a67945..afc3fef 100644
--- a/stack/tools/src/main/java/org/apache/usergrid/tools/Export.java
+++ b/stack/tools/src/main/java/org/apache/usergrid/tools/Export.java
@@ -639,6 +639,8 @@ public class Export extends ExportingToolBase {
}
jgDictionaries.writeStartObject();
+
jgDictionaries.writeObjectField("Entity", et.getUuid());
+
jgDictionaries.writeObjectField("EntityType", et.getType());
jgDictionaries.writeObjectField(dictionary, dict);
jgDictionaries.writeEndObject();
}