summaryrefslogtreecommitdiff
path: root/src/test/resources
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-04-01 15:47:31 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-04-01 15:47:31 +0200
commitedbcf27952c6608e2d471e1494ee37a7108cffcf (patch)
tree8a110fb05225a46e8104c2a04cd3f17d0257135a /src/test/resources
parent6e7499660835744be61e6f74a836a163c2ab9ea0 (diff)
AbstractMain - remove usage and help, fail if config or connect args are
missing or the files aren't found. Tests. Fixes #177
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/server.conf1
-rw-r--r--src/test/resources/test.clc16
2 files changed, 17 insertions, 0 deletions
diff --git a/src/test/resources/server.conf b/src/test/resources/server.conf
new file mode 100644
index 0000000..476aeb0
--- /dev/null
+++ b/src/test/resources/server.conf
@@ -0,0 +1 @@
+ClusterStorage=MemoryOnlyClusterStorage \ No newline at end of file
diff --git a/src/test/resources/test.clc b/src/test/resources/test.clc
new file mode 100644
index 0000000..be1d5d0
--- /dev/null
+++ b/src/test/resources/test.clc
@@ -0,0 +1,16 @@
+
+Name=Test Cristal Server
+
+// TCP server ports
+ItemServer.name=localhost
+ItemServer.iiop=1500
+ItemServer.Proxy.port=1553
+
+// LDAP Lookup config
+LDAP.GlobalPath=o=cern,c=ch
+LDAP.RootPath=cn=cristal
+LDAP.LocalPath=cn=test
+LDAP.port=389
+LDAP.host=localhost
+LDAP.user=cn=Manager,o=cern,c=ch
+LDAP.password=test