|
1 | 1 | { |
2 | 2 | "@context": [ |
3 | | - "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", |
4 | 3 | "https://linkedsoftwaredependencies.org/bundles/npm/@solidlab/uma-css/^0.0.0/components/context.jsonld" |
5 | 4 | ], |
6 | | - "@graph": [ |
7 | | - { |
8 | | - "@id": "urn:solid-server:default:ServerConfigurator", |
9 | | - "@type": "ParallelHandler", |
10 | | - "handlers": [ |
11 | | - { |
12 | | - "@id": "urn:solid-server:default:StatusDependantServerConfigurator", |
13 | | - "@type": "StatusDependantServerConfigurator", |
14 | | - "dependants": [ |
15 | | - { "@id": "urn:solid-server:default:UmaFetcher" } |
16 | | - ], |
17 | | - "statusMap": [ |
18 | | - { |
19 | | - "StatusDependantServerConfigurator:_statusMap_key": "listening", |
20 | | - "StatusDependantServerConfigurator:_statusMap_value": true |
21 | | - }, |
22 | | - { |
23 | | - "StatusDependantServerConfigurator:_statusMap_key": "close", |
24 | | - "StatusDependantServerConfigurator:_statusMap_value": false |
25 | | - }, |
26 | | - { |
27 | | - "StatusDependantServerConfigurator:_statusMap_key": "error", |
28 | | - "StatusDependantServerConfigurator:_statusMap_value": false |
29 | | - } |
30 | | - ] |
31 | | - } |
32 | | - ] |
33 | | - }, |
34 | | - { |
35 | | - "comment": "Returns the UMA ticket in case of an unauthorized request.", |
36 | | - "@id": "urn:solid-server:default:UmaClient", |
37 | | - "@type": "UmaClient", |
38 | | - "umaIdStore": { |
39 | | - "@id": "urn:solid-server:default:UmaIdStore", |
40 | | - "@type": "MemoryMapStorage" |
41 | | - }, |
42 | | - "fetcher": { |
43 | | - "@id": "urn:solid-server:default:UmaFetcher", |
44 | | - "@type": "PausableFetcher", |
45 | | - "fetcher": { |
46 | | - "@type": "RetryingFetcher", |
47 | | - "fetcher": { |
48 | | - "@type": "SignedFetcher", |
49 | | - "fetcher": { |
50 | | - "@type": "BaseFetcher" |
51 | | - }, |
52 | | - "baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" }, |
53 | | - "keyGen": { "@id": "urn:solid-server:default:JwkGenerator" } |
54 | | - }, |
55 | | - "retries": 150, |
56 | | - "exponent": 3, |
57 | | - "retryOn": [401, 500] |
58 | | - } |
59 | | - } |
60 | | - }, |
61 | | - { |
62 | | - "@id": "urn:solid-server:default:OwnerUtil", |
63 | | - "@type": "OwnerUtil", |
64 | | - "podStore": { |
65 | | - "@id": "urn:solid-server:default:PodStore" |
66 | | - }, |
67 | | - "accountStore": { |
68 | | - "@id": "urn:solid-server:default:AccountStore" |
69 | | - }, |
70 | | - "storageStrategy": { |
71 | | - "@id": "urn:solid-server:default:StorageLocationStrategy" |
72 | | - }, |
73 | | - "umaPatStore": { |
74 | | - "@id": "urn:solid-server:default:UmaPatStore", |
75 | | - "@type": "MemoryMapStorage" |
76 | | - }, |
77 | | - "umaServerURL": { |
78 | | - "@id": "urn:solid-server:uma:variable:AuthorizationServer" |
79 | | - } |
80 | | - }, |
81 | | - { |
82 | | - "comment": "Listens to the activities emitted by the MonitoringStore.", |
83 | | - "@id": "urn:solid-server:default:ResourceRegistrar", |
84 | | - "@type": "ResourceRegistrar", |
85 | | - "store": { |
86 | | - "@id": "urn:solid-server:default:ResourceStore" |
87 | | - }, |
88 | | - "ownerUtil": { |
89 | | - "@id": "urn:solid-server:default:OwnerUtil" |
90 | | - }, |
91 | | - "umaClient": { |
92 | | - "@id": "urn:solid-server:default:UmaClient" |
93 | | - } |
94 | | - }, |
95 | | - { |
96 | | - "comment": "The ResourceRegistrar is added to the list of Initializers so Components.js finds and instantiates it.", |
97 | | - "@id": "urn:solid-server:default:PrimaryParallelInitializer", |
98 | | - "@type": "ParallelHandler", |
99 | | - "handlers": [ |
100 | | - { |
101 | | - "@id": "urn:solid-server:default:ResourceRegistrar" |
102 | | - } |
103 | | - ] |
104 | | - }, |
105 | | - { |
106 | | - "@id": "urn:solid-server-app-setup:default:CliExtractor", |
107 | | - "@type": "YargsCliExtractor", |
108 | | - "parameters": [ |
109 | | - { |
110 | | - "@type": "YargsParameter", |
111 | | - "name": "authServer", |
112 | | - "options": { |
113 | | - "alias": "a", |
114 | | - "requiresArg": true, |
115 | | - "type": "string", |
116 | | - "describe": "The URL of the UMA Authorization Server." |
117 | | - } |
118 | | - } |
119 | | - ] |
120 | | - }, { |
121 | | - "comment": "Converts an input key/value object into an object mapping values to Components.js variables", |
122 | | - "@id": "urn:solid-server-app-setup:default:ShorthandResolver", |
123 | | - "@type": "CombinedShorthandResolver", |
124 | | - "resolvers": [ |
125 | | - { |
126 | | - "CombinedShorthandResolver:_resolvers_key": "urn:solid-server:uma:variable:AuthorizationServer", |
127 | | - "CombinedShorthandResolver:_resolvers_value": { |
128 | | - "@type": "KeyExtractor", |
129 | | - "key": "authServer", |
130 | | - "defaultValue": "http://localhost:4000" |
131 | | - } |
132 | | - } |
133 | | - ] |
134 | | - }, |
135 | | - { |
136 | | - "comment": "URL of the UMA Authorization Server.", |
137 | | - "@id": "urn:solid-server:uma:variable:AuthorizationServer", |
138 | | - "@type": "Variable" |
139 | | - } |
140 | | - ] |
| 5 | + "import": [ |
| 6 | + "uma-css:config/uma/parts/cli.json", |
| 7 | + "uma-css:config/uma/parts/client.json", |
| 8 | + "uma-css:config/uma/parts/fetcher.json", |
| 9 | + "uma-css:config/uma/parts/owner-util.json", |
| 10 | + "uma-css:config/uma/parts/resource-registrar.json", |
| 11 | + "uma-css:config/uma/parts/server-configurator.json" |
| 12 | + ], |
| 13 | + "@graph": [] |
141 | 14 | } |
0 commit comments