From 69c31446ddad03308037d8b7992ea0e220dd2ed2 Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Thu, 21 Jan 2021 13:56:55 +0100 Subject: [PATCH] feat: Update config to include LockingResourceStore --- config/presets/storage-wrapper.json | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/config/presets/storage-wrapper.json b/config/presets/storage-wrapper.json index ae1a7d455..369a01faa 100644 --- a/config/presets/storage-wrapper.json +++ b/config/presets/storage-wrapper.json @@ -5,7 +5,7 @@ "@id": "urn:solid-server:default:ResourceStore", "@type": "MonitoringStore", "MonitoringStore:_source": { - "@id": "urn:solid-server:default:ResourceStore_Patching" + "@id": "urn:solid-server:default:ResourceStore_Locking" }, "MonitoringStore:_identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" @@ -20,6 +20,18 @@ } }, + { + "@id": "urn:solid-server:default:ResourceStore_Locking", + "@type": "LockingResourceStore", + "LockingResourceStore:_source": { + "@id": "urn:solid-server:default:ResourceStore_Patching" + }, + "LockingResourceStore:_locks": { + "@id": "urn:solid-server:default:ResourceLocker" + } + + }, + { "@id": "urn:solid-server:default:ResourceStore_Patching", "@type": "PatchingStore", @@ -31,9 +43,6 @@ "@type": "SparqlUpdatePatchHandler", "SparqlUpdatePatchHandler:_source": { "@id": "urn:solid-server:default:ResourceStore_ToTurtle" - }, - "SparqlUpdatePatchHandler:_locker": { - "@id": "urn:solid-server:default:ResourceLocker" } } },