mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
98 lines
4.0 KiB
JSON
98 lines
4.0 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"import": [
|
|
"css:config/app/init/static-root.json",
|
|
"css:config/app/main/default.json",
|
|
"css:config/app/variables/default.json",
|
|
"css:config/http/handler/default.json",
|
|
"css:config/http/middleware/default.json",
|
|
"css:config/http/notifications/all.json",
|
|
"css:config/http/server-factory/http.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/oidc/default.json",
|
|
"css:config/identity/ownership/token.json",
|
|
"css:config/identity/pod/static.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/location/pod.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" },
|
|
"metadataStrategy": { "@id": "urn:solid-server:default:MetadataStrategy" }
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:SparqlResourceStore",
|
|
"@type": "RepresentationConvertingStore",
|
|
"metadataStrategy": { "@id": "urn:solid-server:default:MetadataStrategy" },
|
|
"options_inConverter": { "@id": "urn:solid-server:default:RepresentationConverter" },
|
|
"options_inPreferences_type": {
|
|
"RepresentationConvertingStore:_options_inPreferences_type_key": "internal/quads",
|
|
"RepresentationConvertingStore:_options_inPreferences_type_value": 1
|
|
},
|
|
"source": {
|
|
"@type": "DataAccessorBasedStore",
|
|
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" },
|
|
"auxiliaryStrategy": { "@id": "urn:solid-server:default:AuxiliaryStrategy" },
|
|
"accessor": { "@id": "urn:solid-server:default:SparqlDataAccessor" },
|
|
"metadataStrategy": { "@id": "urn:solid-server:default:MetadataStrategy" }
|
|
}
|
|
}
|
|
]
|
|
}
|