-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig-replay-abac.ttl
51 lines (40 loc) · 1.49 KB
/
config-replay-abac.ttl
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
PREFIX : <#>
PREFIX fuseki: <http://jena.apache.org/fuseki#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
PREFIX authz: <http://telicent.io/security#>
[] rdf:type fuseki:Server ;
fuseki:services (
:service
) .
:service rdf:type fuseki:Service ;
fuseki:name "/ds" ;
fuseki:endpoint [ fuseki:operation fuseki:query ] ;
fuseki:endpoint [ fuseki:operation fuseki:gsp-r ] ;
fuseki:endpoint [ fuseki:operation fuseki:query ; fuseki:name "sparql" ] ;
fuseki:endpoint [ fuseki:operation authz:upload ; fuseki:name "upload" ] ;
fuseki:dataset :dataset ;
.
:dataset rdf:type authz:DatasetAuthz ;
authz:dataset :datasetBase;
## authz:tripleDefaultAttributes "!";
## Use a local store. Development.
authz:attributes <file:attribute-store.ttl> ;
## Production.
## authz:attributesURL <env:USER_ATTRIBUTES_URL> ;
.
# Transactional in-memory dataset.
:datasetBase rdf:type ja:MemoryDataset .
# Fuseki-Kafka connector
PREFIX fk: <http://jena.apache.org/fuseki/kafka#>
<#connector> rdf:type fk:Connector ;
fk:bootstrapServers "localhost:9092";
fk:topic "RDF";
fk:fusekiServiceName "/ds/upload";
##fk:syncTopic false;
fk:replayTopic true;
fk:stateFile "databases/Replay-ABAC.state";
## fk:config ( "K1" "V1") ;
## fk:config ( "K2" "V2") ;
.