improvements for demo
- add demo cluster
- add example mugshot.com data and queries
- automatic configuration of a cluster
- set MANAGIX_HOME implicitly
- better AQL lexer error reporting
- better eror reporting in ADM parser
- fix and optimize construction of asterix zip for deployment
Change-Id: I9d80402cef72a15271766031b6f06c7220e4ad5a
Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/95
Reviewed-by: Ian Maxon <imaxon@uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Raman Grover <ramang@uci.edu>
diff --git a/asterix-installer/src/main/resources/examples/mugshot/aql/insert.aql b/asterix-installer/src/main/resources/examples/mugshot/aql/insert.aql
new file mode 100644
index 0000000..e7ab0e6
--- /dev/null
+++ b/asterix-installer/src/main/resources/examples/mugshot/aql/insert.aql
@@ -0,0 +1,23 @@
+use dataverse TinySocial;
+
+insert into dataset MugshotUsers
+(
+ {
+ "id":999,
+ "alias":"John",
+ "name":"JohnDoe",
+ "address":{
+ "street":"789 Jane St",
+ "city":"San Harry",
+ "zip":"98767",
+ "state":"CA",
+ "country":"USA"
+ },
+ "user-since":datetime("2010-08-15T08:10:00"),
+ "friend-ids":{{ 5, 9, 11 }},
+ "employment":[{
+ "organization-name":"Kongreen",
+ "start-date":date("2012-06-05")
+ }]
+ }
+);