-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-example.json
165 lines (165 loc) · 5.08 KB
/
config-example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/solid-calendar-store/^0.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@rmlio/solid-rml-store/^0.0.0/components/context.jsonld",
{
"solid-calendar-store": "urn:solid-calendar-store:default:",
"solid-server": "urn:solid-server:default:",
"my": "urn:example:"
}
],
"import": [
"css:config/app/main/default.json",
"css:config/app/init/default.json",
"css:config/app/setup/required.json",
"css:config/app/variables/default.json",
"css:config/http/handler/default.json",
"css:config/http/middleware/http.json",
"css:config/http/notifications/websockets.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/ownership/token.json",
"css:config/identity/pod/static.json",
"css:config/identity/registration/enabled.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/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/memory.json",
"css:config/util/variables/default.json",
"css:config/storage/backend/data-accessors/file.json"
],
"@graph": [
{
"comment": "A single-pod server that stores its resources on disk."
},
{
"@id": "urn:solid-server:default:ResourceStore_Backend",
"@type": "RoutingResourceStore",
"rule": {
"@id": "my:RouterRule"
}
},
{
"@id": "my:RouterRule",
"@type": "RegexRouterRule",
"base": {
"@id": "solid-server:variable:baseUrl"
},
"rules": [
{
"@type": "RegexRouterRule",
"regex": "^/availability$",
"store": {
"@id": "my:AvailabilityStore"
}
},
{
"@type": "RegexRouterRule",
"comment": "Send everything else to file store",
"regex": "^/(?!availability$).*",
"store": {
"@id": "urn:solid-server:default:FileResourceStore"
}
}
]
},
{
"@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": "solid-server:MetadataStrategy"
}
},
{
"@id": "my:PersonalGoogleCalendar",
"@type": "RepresentationConvertingStore",
"RepresentationConvertingStore:_source": {
"@type": "HttpGetStore",
"HttpGetStore:_options_url": "**CALENDAR_URL**"
},
"RepresentationConvertingStore:_options_outConverter": {
"@id": "my:RepresentationConverter"
}
},
{
"@id": "my:AvailabilityStore",
"@type": "RepresentationConvertingStore",
"RepresentationConvertingStore:_source": {
"@type": "AvailabilityStore",
"source": {
"@id": "my:PersonalGoogleCalendar"
},
"options_settingsPath": "availability-store-settings.yaml",
"options_baseUrl": "http://example.com/",
"options_name": "Availability of **YOUR_NAME**"
},
"RepresentationConvertingStore:_options_outConverter": {
"@id": "my:RepresentationConverter"
}
},
{
"@id": "my:RepresentationConverter",
"@type": "ChainedConverter",
"converters": [
{
"@id": "my:json-to-rdf-converter"
},
{
"@id": "my:IcsToJsonConverter"
},
{
"@id": "my:JsonToIcsConverter"
}
]
},
{
"@id": "my:RdfRepresentationConverter",
"@type": "ChainedConverter",
"converters": [
{
"@id": "my:IcsToJsonConverter"
},
{
"@id": "my:json-to-rdf-converter"
}
]
},
{
"@id": "my:IcsToJsonConverter",
"@type": "IcsToJsonConverter"
},
{
"@id": "my:JsonToIcsConverter",
"@type": "JsonToIcsConverter"
},
{
"@id": "my:json-to-rdf-converter",
"@type": "AnyToRdfConverter",
"rmlRulesPath": "events.rml.ttl",
"rmlmapperPath": "./rmlmapper.jar"
}
]
}