mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
91 lines
3.6 KiB
JSON
91 lines
3.6 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
|
|
"import": [
|
|
"css:config/app/main/default.json",
|
|
"css:config/app/init/default.json",
|
|
"css:config/app/setup/required.json",
|
|
"css:config/app/variables/default.json",
|
|
"css:config/http/handler/default.json",
|
|
"css:config/http/middleware/websockets.json",
|
|
"css:config/http/server-factory/websockets.json",
|
|
"css:config/http/static/default.json",
|
|
"css:config/identity/access/public.json",
|
|
"css:config/identity/email/default.json",
|
|
"css:config/identity/handler/default.json",
|
|
"css:config/identity/ownership/token.json",
|
|
"css:config/identity/pod/static.json",
|
|
"css:config/identity/registration/enabled.json",
|
|
"css:config/ldp/authentication/dpop-bearer.json",
|
|
"css:config/ldp/authorization/webacl.json",
|
|
"css:config/ldp/handler/default.json",
|
|
"css:config/ldp/metadata-parser/default.json",
|
|
"css:config/ldp/metadata-writer/default.json",
|
|
"css:config/ldp/modes/default.json",
|
|
|
|
"css:config/storage/key-value/resource-store.json",
|
|
"css:config/storage/middleware/default.json",
|
|
"css:config/util/auxiliary/acl.json",
|
|
"css:config/util/identifiers/suffix.json",
|
|
"css:config/util/index/default.json",
|
|
"css:config/util/logging/winston.json",
|
|
"css:config/util/representation-conversion/default.json",
|
|
"css:config/util/resource-locker/file.json",
|
|
"css:config/util/variables/default.json",
|
|
|
|
"css:config/storage/backend/data-accessors/file.json",
|
|
"css:config/storage/backend/data-accessors/sparql-endpoint.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"comment": "This store will be used to route internal storage to the file system and all other data to the SPARQL endpoint."
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:ResourceStore_Backend",
|
|
"@type": "RoutingResourceStore",
|
|
"rule": { "@id": "urn:solid-server:default:RouterRule" }
|
|
},
|
|
|
|
{
|
|
"comment": "Configure routing to send internal data to file system and all other data to sparql store.",
|
|
"@id": "urn:solid-server:default:RouterRule",
|
|
"@type": "RegexRouterRule",
|
|
"base": { "@id": "urn:solid-server:default:variable:baseUrl" },
|
|
"rules": [
|
|
{
|
|
"comment": "Internal storage data",
|
|
"@type": "RegexRule",
|
|
"regex": "^/\\.internal/",
|
|
"store": { "@id": "urn:solid-server:default:FileResourceStore" }
|
|
},
|
|
{
|
|
"comment": "Send everything else to the SPARQL store.",
|
|
"@type": "RegexRule",
|
|
"regex": ".*",
|
|
"store": { "@id": "urn:solid-server:default:SparqlResourceStore" }
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:FileResourceStore",
|
|
"@type": "DataAccessorBasedStore",
|
|
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" },
|
|
"auxiliaryStrategy": { "@id": "urn:solid-server:default:AuxiliaryStrategy" },
|
|
"accessor": { "@id": "urn:solid-server:default:FileDataAccessor" }
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:SparqlResourceStore",
|
|
"@type": "RepresentationConvertingStore",
|
|
"options_inConverter": { "@id": "urn:solid-server:default:RepresentationConverter" },
|
|
"options_inType": "internal/quads",
|
|
"source": {
|
|
"@type": "DataAccessorBasedStore",
|
|
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" },
|
|
"auxiliaryStrategy": { "@id": "urn:solid-server:default:AuxiliaryStrategy" },
|
|
"accessor": { "@id": "urn:solid-server:default:SparqlDataAccessor" }
|
|
}
|
|
}
|
|
]
|
|
}
|