mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
56 lines
2.5 KiB
JSON
56 lines
2.5 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^0.0.0/components/context.jsonld",
|
|
"import": [
|
|
"files-scs:config/presets/acl.json",
|
|
"files-scs:config/presets/http.json",
|
|
"files-scs:config/presets/identifiers/suffix-identifiers.json",
|
|
"files-scs:config/presets/init.json",
|
|
"files-scs:config/presets/ldp.json",
|
|
"files-scs:config/presets/ldp/credentials-extractor.json",
|
|
"files-scs:config/presets/ldp/metadata-handler.json",
|
|
"files-scs:config/presets/ldp/operation-handler.json",
|
|
"files-scs:config/presets/ldp/permissions-extractor.json",
|
|
"files-scs:config/presets/ldp/response-writer.json",
|
|
"files-scs:config/presets/ldp/request-parser.json",
|
|
"files-scs:config/presets/ldp/websockets.json",
|
|
"files-scs:config/presets/logging.json",
|
|
"files-scs:config/presets/middleware.json",
|
|
"files-scs:config/presets/pod-management.json",
|
|
"files-scs:config/presets/representation-conversion.json",
|
|
"files-scs:config/presets/static.json",
|
|
"files-scs:config/presets/storage/backend/storage-filesystem.json",
|
|
"files-scs:config/presets/storage/backend/storage-memory.json",
|
|
"files-scs:config/presets/storage/backend/storage-sparql-endpoint.json",
|
|
"files-scs:config/presets/storage/routing/regex-routing.json",
|
|
"files-scs:config/presets/storage-wrapper.json",
|
|
"files-scs:config/presets/cli-params.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"comment": [
|
|
"Configure routing to send all requests containing /file/ to the file store, containing /memory/ to the memory store and /sparql/ to the sparql endpoint store.",
|
|
"The root .acl file will be stored in the sparql endpoint store."
|
|
],
|
|
"@id": "urn:solid-server:default:RegexRouterRule",
|
|
"RegexRouterRule:_storeMap": [
|
|
{
|
|
"RegexRouterRule:_storeMap_key": "^/\\.acl$",
|
|
"RegexRouterRule:_storeMap_value": { "@id": "urn:solid-server:default:SparqlResourceStore" }
|
|
},
|
|
{
|
|
"RegexRouterRule:_storeMap_key": "/file/",
|
|
"RegexRouterRule:_storeMap_value": { "@id": "urn:solid-server:default:FileResourceStore" }
|
|
},
|
|
{
|
|
"RegexRouterRule:_storeMap_key": "/memory/",
|
|
"RegexRouterRule:_storeMap_value": { "@id": "urn:solid-server:default:MemoryResourceStore" }
|
|
},
|
|
{
|
|
"RegexRouterRule:_storeMap_key": "/sparql/",
|
|
"RegexRouterRule:_storeMap_value": { "@id": "urn:solid-server:default:SparqlResourceStore" }
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|