Change default workspace from 'main' to 'sys'.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / jcr / RepoConf.java
index 429a51a589cc604fd2282589756876d4633b71b7..a48adccab0b1dcc5e1db759404534ea6c407d02d 100644 (file)
@@ -1,14 +1,15 @@
 package org.argeo.cms.internal.jcr;
 
+import org.argeo.api.NodeConstants;
 import org.argeo.osgi.metatype.EnumAD;
 import org.argeo.osgi.metatype.EnumOCD;
 
 /** JCR repository configuration */
 public enum RepoConf implements EnumAD {
        /** Repository type */
-       type("localfs"),
+       type("h2"),
        /** Default workspace */
-       @Deprecated defaultWorkspace("main"),
+       defaultWorkspace(NodeConstants.SYS_WORKSPACE),
        /** Database URL */
        dburl(null),
        /** Database user */
@@ -24,7 +25,7 @@ public enum RepoConf implements EnumAD {
        /** Maximum database pool size */
        maxPoolSize(10),
        /** Maximum cache size in MB */
-       @Deprecated maxCacheMB(null),
+       maxCacheMB(null),
        /** Bundle cache size in MB */
        bundleCacheMB(8),
        /** Extractor pool size */
@@ -34,7 +35,9 @@ public enum RepoConf implements EnumAD {
        /** Max volatile index size */
        maxVolatileIndexSize(1048576),
        /** Cluster id (if appropriate configuration) */
-       clusterId("default");
+       clusterId("default"),
+       /** Indexes base path */
+       indexesBase(null);
 
        /** The default value. */
        private Object def;