From 1c6084f63ef3ec540cdde18e77ed864edc1e9a07 Mon Sep 17 00:00:00 2001 From: chenson42 Date: Sun, 15 Jun 2008 20:53:41 +0000 Subject: [PATCH] starting work on making the symmetric-web project a generic configurable project with a dashboard. --- symmetric-web/pom.xml | 8 -------- symmetric-web/src/main/resources/symmetric-root-init.sql | 6 ++++++ symmetric-web/src/main/resources/symmetric.properties | 9 ++++++--- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 symmetric-web/src/main/resources/symmetric-root-init.sql diff --git a/symmetric-web/pom.xml b/symmetric-web/pom.xml index c97c1057a0..82eacfa879 100644 --- a/symmetric-web/pom.xml +++ b/symmetric-web/pom.xml @@ -43,14 +43,6 @@ org.mortbay.jetty jetty - - foxtrot - foxtrot - - - tablelayout - TableLayout - org.apache.derby derby diff --git a/symmetric-web/src/main/resources/symmetric-root-init.sql b/symmetric-web/src/main/resources/symmetric-root-init.sql new file mode 100644 index 0000000000..c9df7c4c54 --- /dev/null +++ b/symmetric-web/src/main/resources/symmetric-root-init.sql @@ -0,0 +1,6 @@ +insert into sym_node_group values ('ROOT',''); +insert into sym_node_group values ('NODE',''); +insert into sym_node_group_link values ('NODE','ROOT', 'P'); +insert into sym_node_group_link values ('ROOT','NODE', 'W'); +insert into sym_node values ('00000', 'ROOT', '00000', 1, null, null, null, null, null, current_timestamp, null); +insert into sym_node_identity values ('00000'); \ No newline at end of file diff --git a/symmetric-web/src/main/resources/symmetric.properties b/symmetric-web/src/main/resources/symmetric.properties index ab6f74fea3..3be6668300 100644 --- a/symmetric-web/src/main/resources/symmetric.properties +++ b/symmetric-web/src/main/resources/symmetric.properties @@ -1,5 +1,8 @@ db.jndi.name=java:/jdbc/SymmetricDS -engine.name=Root +engine.name=ROOT my.url= -group.id=test-root-group -external.id=00000 \ No newline at end of file +group.id=ROOT +external.id=00000 +auto.config.registration.svr.sql.script=/test-root-init.sql +start.pull.job=false +start.push.job=false \ No newline at end of file