|
1 | 1 | { |
2 | 2 | "@context": [ |
3 | | - "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^8.0.0/components/context.jsonld" |
| 3 | + "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^8.0.0/components/context.jsonld", |
| 4 | + "https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld" |
4 | 5 | ], |
5 | 6 | "import": [ |
6 | 7 | "css:config/app/init/default.json", |
7 | 8 | "css:config/app/main/default.json", |
8 | 9 | "css:config/app/variables/default.json", |
9 | | - "css:config/http/handler/default.json", |
| 10 | + |
| 11 | + "css:config/http/handler/handlers/storage-description.json", |
| 12 | + |
10 | 13 | "css:config/http/middleware/default.json", |
11 | 14 | "css:config/http/notifications/all.json", |
12 | 15 | "css:config/http/server-factory/http.json", |
|
31 | 34 | "css:config/util/identifiers/suffix.json", |
32 | 35 | "css:config/util/index/default.json", |
33 | 36 | "css:config/util/logging/winston.json", |
34 | | - "css:config/util/representation-conversion/default.json", |
35 | 37 | "css:config/util/resource-locker/file.json", |
| 38 | + |
| 39 | + "css:config/util/representation-conversion/converters/content-type-replacer.json", |
| 40 | + "css:config/util/representation-conversion/converters/dynamic-json-template.json", |
| 41 | + "css:config/util/representation-conversion/converters/errors.json", |
| 42 | + "css:config/util/representation-conversion/converters/form-to-json.json", |
| 43 | + "css:config/util/representation-conversion/converters/markdown.json", |
| 44 | + "css:config/util/representation-conversion/converters/quad-to-rdf.json", |
| 45 | + "css:config/util/representation-conversion/converters/rdf-to-quad.json", |
| 46 | + |
36 | 47 | "css:config/util/variables/default.json" |
37 | 48 | ], |
38 | 49 | "@graph": [ |
39 | 50 | { |
40 | | - "@id": "urn:css-vercel-blob-data-accessor:config:util:resource-locker:file:override_expiration", |
| 51 | + "comment": "No IDP, pod provisioning or static assets (static assets is not standard).", |
| 52 | + "@id": "urn:solid-server:default:HttpHandler", |
| 53 | + "@type": "SequenceHandler", |
| 54 | + "handlers": [ |
| 55 | + { "@id": "urn:solid-server:default:Middleware" }, |
| 56 | + { |
| 57 | + "@id": "urn:solid-server:default:BaseHttpHandler", |
| 58 | + "@type": "StatusWaterfallHandler", |
| 59 | + "handlers": [ |
| 60 | + { "@id": "urn:solid-server:default:StorageDescriptionHandler" }, |
| 61 | + { "@id": "urn:solid-server:default:LdpHandler" } |
| 62 | + ] |
| 63 | + } |
| 64 | + ] |
| 65 | + }, |
| 66 | + { |
| 67 | + "comment": "Long time for resource lock expiry to accomodate network delays.", |
| 68 | + "@id": "urn:css:config:util:resource-locker:file:override_expiration", |
41 | 69 | "@type": "Override", |
42 | 70 | "overrideInstance": { "@id": "urn:solid-server:default:ResourceLocker" }, |
43 | 71 | "overrideParameters": { |
|
46 | 74 | } |
47 | 75 | }, |
48 | 76 | { |
49 | | - "@id": "urn:css-vercel-blob-data-accessor:config:storage:middleware:override_resource_store_index", |
| 77 | + "comment": "Don't serve index.html instead of containers (as it is not standard).", |
| 78 | + "@id": "urn:css:config:storage:middleware:override_resource_store_index", |
50 | 79 | "@type": "Override", |
51 | 80 | "overrideInstance": { "@id": "urn:solid-server:default:ResourceStore_Index" }, |
52 | 81 | "overrideParameters": { |
53 | 82 | "@type": "PassthroughStore", |
54 | 83 | "source": { "@id": "urn:solid-server:default:ResourceStore_Locking" } |
55 | 84 | } |
| 85 | + }, |
| 86 | + { |
| 87 | + "comment": "Only use minimum set of standard content type converters (remove html/md templating as it is not standard).", |
| 88 | + "@id": "urn:solid-server:default:RepresentationConverter", |
| 89 | + "@type": "StatusWaterfallHandler", |
| 90 | + "handlers": [ |
| 91 | + { "@id": "urn:solid-server:default:DynamicJsonToTemplateConverter" }, |
| 92 | + { |
| 93 | + "comment": "Automatically finds a path through a set of converters from one type to another.", |
| 94 | + "@id": "urn:solid-server:default:ChainedConverter", |
| 95 | + "@type": "ChainedConverter", |
| 96 | + "converters": [ |
| 97 | + { "@id": "urn:solid-server:default:ContentTypeReplacer" }, |
| 98 | + { "@id": "urn:solid-server:default:RdfToQuadConverter" }, |
| 99 | + { "@id": "urn:solid-server:default:QuadToRdfConverter" }, |
| 100 | + { "@id": "urn:solid-server:default:ErrorToJsonConverter" }, |
| 101 | + { "@id": "urn:solid-server:default:ErrorToQuadConverter" } |
| 102 | + ] |
| 103 | + } |
| 104 | + ] |
| 105 | + }, |
| 106 | + { |
| 107 | + "comment": "No default UI converter (as it is not standard), go to representation converters instead.", |
| 108 | + "@id": "urn:solid-server:default:UiEnabledConverter", |
| 109 | + "@type": "StatusWaterfallHandler", |
| 110 | + "handlers": [ |
| 111 | + { "@id": "urn:solid-server:default:RepresentationConverter" } |
| 112 | + ] |
56 | 113 | } |
57 | 114 | ] |
58 | 115 | } |
0 commit comments