mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: split core and wrapper storage configs
This commit is contained in:
parent
774e5d80f6
commit
a6df6e211b
@ -9,6 +9,7 @@
|
||||
"files-scs:config/presets/ldp/permissions-extractor.json",
|
||||
"files-scs:config/presets/ldp/request-parser.json",
|
||||
"files-scs:config/presets/setup.json",
|
||||
"files-scs:config/presets/storage.json"
|
||||
"files-scs:config/presets/storage.json",
|
||||
"files-scs:config/presets/storage_wrapper.json"
|
||||
]
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
"@id": "urn:solid-server:my:UrlContainerManager"
|
||||
},
|
||||
"SimpleAclAuthorizer:_resourceStore": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -8,31 +8,31 @@
|
||||
{
|
||||
"@type": "SimpleDeleteOperationHandler",
|
||||
"SimpleDeleteOperationHandler:_store": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "SimpleGetOperationHandler",
|
||||
"SimpleGetOperationHandler:_store": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "SimplePatchOperationHandler",
|
||||
"SimplePatchOperationHandler:_store": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "SimplePostOperationHandler",
|
||||
"SimplePostOperationHandler:_store": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "SimplePutOperationHandler",
|
||||
"SimplePutOperationHandler:_store": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -8,7 +8,7 @@
|
||||
"@id": "urn:solid-server:my:HttpServer"
|
||||
},
|
||||
"Setup:_store": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching"
|
||||
},
|
||||
"Setup:_aclManager": {
|
||||
"@id": "urn:solid-server:my:AclManager"
|
||||
|
@ -1,55 +1,10 @@
|
||||
{
|
||||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
||||
"@graph": [
|
||||
{
|
||||
"@id": "urn:solid-server:my:ResourceLocker",
|
||||
"@type": "SingleThreadedResourceLocker"
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:my:ResourceStore",
|
||||
"@type": "PatchingStore",
|
||||
"PatchingStore:_source": {
|
||||
"@id": "urn:solid-server:my:ResourceStore_Converting"
|
||||
},
|
||||
"PatchingStore:_patcher": {
|
||||
"@id": "urn:solid-server:my:PatchHandler",
|
||||
"@type": "SimpleSparqlUpdatePatchHandler",
|
||||
"SimpleSparqlUpdatePatchHandler:_source": {
|
||||
"@id": "urn:solid-server:my:ResourceStore_Converting"
|
||||
},
|
||||
"SimpleSparqlUpdatePatchHandler:_locker": {
|
||||
"@id": "urn:solid-server:my:ResourceLocker"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:my:ResourceStore_Converting",
|
||||
"@type": "RepresentationConvertingStore",
|
||||
"RepresentationConvertingStore:_source": {
|
||||
"@type": "SimpleResourceStore",
|
||||
"SimpleResourceStore:_runtimeConfig": {
|
||||
"@id": "urn:solid-server:my:RuntimeConfig"
|
||||
}
|
||||
},
|
||||
"RepresentationConvertingStore:_converter": {
|
||||
"@type": "CompositeAsyncHandler",
|
||||
"CompositeAsyncHandler:_handlers": [
|
||||
{
|
||||
"@type": "RdfToQuadConverter"
|
||||
},
|
||||
{
|
||||
"@type": "QuadToTurtleConverter"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:my:UrlContainerManager",
|
||||
"@type": "UrlContainerManager",
|
||||
"UrlContainerManager:_runtimeConfig": {
|
||||
"@type": "SimpleResourceStore",
|
||||
"SimpleResourceStore:_runtimeConfig": {
|
||||
"@id": "urn:solid-server:my:RuntimeConfig"
|
||||
}
|
||||
}
|
||||
|
54
config/presets/storage_wrapper.json
Normal file
54
config/presets/storage_wrapper.json
Normal file
@ -0,0 +1,54 @@
|
||||
{
|
||||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
||||
"@graph": [
|
||||
{
|
||||
"@id": "urn:solid-server:my:ResourceLocker",
|
||||
"@type": "SingleThreadedResourceLocker"
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:my:ResourceStore_Patching",
|
||||
"@type": "PatchingStore",
|
||||
"PatchingStore:_source": {
|
||||
"@id": "urn:solid-server:my:ResourceStore_Converting"
|
||||
},
|
||||
"PatchingStore:_patcher": {
|
||||
"@id": "urn:solid-server:my:PatchHandler",
|
||||
"@type": "SimpleSparqlUpdatePatchHandler",
|
||||
"SimpleSparqlUpdatePatchHandler:_source": {
|
||||
"@id": "urn:solid-server:my:ResourceStore_Converting"
|
||||
},
|
||||
"SimpleSparqlUpdatePatchHandler:_locker": {
|
||||
"@id": "urn:solid-server:my:ResourceLocker"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:my:ResourceStore_Converting",
|
||||
"@type": "RepresentationConvertingStore",
|
||||
"RepresentationConvertingStore:_source": {
|
||||
"@id": "urn:solid-server:my:ResourceStore"
|
||||
},
|
||||
"RepresentationConvertingStore:_converter": {
|
||||
"@type": "CompositeAsyncHandler",
|
||||
"CompositeAsyncHandler:_handlers": [
|
||||
{
|
||||
"@type": "RdfToQuadConverter"
|
||||
},
|
||||
{
|
||||
"@type": "QuadToTurtleConverter"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:my:UrlContainerManager",
|
||||
"@type": "UrlContainerManager",
|
||||
"UrlContainerManager:_runtimeConfig": {
|
||||
"@id": "urn:solid-server:my:RuntimeConfig"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user