Permalink
Browse files

Adding and updating config files.

  • Loading branch information...
markmasse committed Jun 1, 2013
1 parent 8bf1510 commit fdcaa54f4049847f689d18926c8407e3ea5bc4d8
Showing with 109 additions and 7 deletions.
  1. +65 −0 config/dev-wrml.json
  2. +43 −0 config/wrml.json
  3. +0 −5 core/src/main/resources/wrml.json
  4. +1 −2 werminal.sh
View
@@ -0,0 +1,65 @@
{
"context" :
{
"schemaLoader" :
{
"schemaClassRootDirectory" : "/etc/wrml/schemas"
},
"formatLoader" :
{
"defaultFormatUri" : "http://format.api.wrml.org/text/html"
},
"serviceLoader" :
{
"services" :
[
{
"name" : "JVM",
"implementation" : "org.wrml.runtime.service.resource.JavaResourceService",
"settings" :
{
"resourceOwnerClassName" : "org.wrml.runtime.Context",
"resourceRootDirectoryPath" : "resources/test/models"
}
},
{
"name" : "File",
"implementation" : "org.wrml.runtime.service.file.FileSystemService",
"settings" :
{
"rootDirectory" : "/etc/wrml/models"
}
},
{
"name" : "Mongo",
"implementation" : "org.wrml.contrib.runtime.service.mongo.MongoService",
"settings" :
{
}
},
{
"name" : "ApiDesigner",
"implementation" : "org.wrml.runtime.service.apiDesigner.ApiDesignerService",
"settings" :
{
"apiUri" : "http://design.api.wrml.org"
}
}
],
"serviceMapping" :
{
"*" : "JVM",
"http://schema.api.wrml.org/org/wrml/model/rest/FiledApi" : "File",
"http://schema.api.wrml.org/org/wrml/werminal/model/WerminalModel" : "File",
"http://schema.api.wrml.org/org/wrml/runtime/service/apiDesigner/*" : "ApiDesigner"
}
}
}
}
View
@@ -0,0 +1,43 @@
{
"context" :
{
"schemaLoader" :
{
"factory" : "org.wrml.runtime.schema.DefaultSchemaLoaderFactory",
"schemaClassRootDirectory":"/etc/wrml/schemas"
},
"serviceLoader" :
{
"services" :
[
{
"name" : "File",
"implementation" : "org.wrml.runtime.service.file.FileSystemService",
"settings" :
{
"rootDirectory" : "/etc/wrml/models"
}
},
{
"name" : "ApiDesigner",
"implementation" : "org.wrml.runtime.service.apiDesigner.ApiDesignerService",
"settings" :
{
"apiUri" : "http://design.api.wrml.org"
}
}
],
"serviceMapping" :
{
"http://schema.api.wrml.org/org/wrml/runtime/service/apiDesigner/*" : "ApiDesigner",
"*" : "File"
}
}
}
}
@@ -2,11 +2,6 @@
"context" :
{
"modelCache" :
{
"name":"Cache",
"implementation":"org.wrml.runtime.service.cache.ShardedModelCache"
},
"schemaLoader" :
{
View
@@ -28,6 +28,5 @@
##########################################################################################
java -DwrmlConfiguration=/Users/mark/Documents/WRML/config/dev-wrml.json -classpath "/Users/mark/projects/wrml/wrml/cli/target/wrml-cli.jar" org.wrml.werminal.Werminal -unix
#java -DwrmlConfiguration=/Users/mark/Documents/WRML/config/dev-wrml.json -classpath "/Users/mark/projects/wrml/wrml/cli/target/wrml-cli.jar:/Users/mark/projects/wrml/wrml/core/src/test/resources" org.wrml.werminal.Werminal -unix
java -DwrmlConfiguration=config/dev-wrml.json -classpath "cli/target/wrml-cli.jar" org.wrml.werminal.Werminal -unix

0 comments on commit fdcaa54

Please sign in to comment.