Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions config/system.trig
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,41 @@
a:graphStore <http://fuseki-end-user:3030/ds/> ;
a:quadStore <http://fuseki-end-user:3030/ds/> ;
lapp:backendProxy <http://varnish-end-user/> .

# papers admin

<urn:linkeddatahub:apps/papers/admin> a lapp:Application, lapp:AdminApplication ;
dct:title "Papers admin" ;
ldh:origin <https://admin.papers.localhost:4443> ;
ldt:ontology <https://w3id.org/atomgraph/linkeddatahub/admin#> ;
ldt:service <urn:linkeddatahub:services/papers/admin> ;
ac:stylesheet <static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/admin/layout.xsl> ;
lapp:endUserApplication <urn:linkeddatahub:apps/papers/end-user> ;
lapp:frontendProxy <http://varnish-frontend:6060/> .

<urn:linkeddatahub:services/papers/admin> a sd:Service ;
dct:title "Papers admin service" ;
sd:supportedLanguage sd:SPARQL11Query, sd:SPARQL11Update ;
sd:endpoint <http://fuseki-admin:3030/ds/> ;
a:graphStore <http://fuseki-admin:3030/ds/> ;
a:quadStore <http://fuseki-admin:3030/ds/> ;
lapp:backendProxy <http://varnish-admin/> .

# papers end-user

<urn:linkeddatahub:apps/papers/end-user> a lapp:Application, lapp:EndUserApplication ;
dct:title "Papers" ;
ldh:origin <https://papers.localhost:4443> ;
ldt:ontology <https://papers.localhost:4443/ns#> ;
ldt:service <urn:linkeddatahub:services/papers/end-user> ;
lapp:adminApplication <urn:linkeddatahub:apps/papers/admin> ;
lapp:frontendProxy <http://varnish-frontend:6060/> ;
lapp:public true .

<urn:linkeddatahub:services/papers/end-user> a sd:Service ;
dct:title "Papers service" ;
sd:supportedLanguage sd:SPARQL11Query, sd:SPARQL11Update ;
sd:endpoint <http://fuseki-end-user:3030/ds/> ;
a:graphStore <http://fuseki-end-user:3030/ds/> ;
a:quadStore <http://fuseki-end-user:3030/ds/> ;
lapp:backendProxy <http://varnish-end-user/> .
10 changes: 0 additions & 10 deletions platform/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,6 @@ OWNER_KEY_URI=$(echo "$owner_metadata" | xmlstarlet sel -N srx="http://www.w3.or
OWNER_KEY_DOC_URI=$(echo "$OWNER_KEY_URI" | sed 's|#this$||')
OWNER_KEY_URI="${OWNER_KEY_DOC_URI}#this"

printf "\n### Extracted OWNER_URI: %s\n" "$OWNER_URI"
printf "\n### Extracted OWNER_DOC_URI: %s\n" "$OWNER_DOC_URI"
printf "\n### Extracted OWNER_KEY_URI: %s\n" "$OWNER_KEY_URI"
printf "\n### Extracted OWNER_KEY_DOC_URI: %s\n" "$OWNER_KEY_DOC_URI"

printf "\n### Reading secretary metadata from existing file: %s\n" /var/linkeddatahub/based-datasets/root-secretary.nq

trig --base="$ADMIN_BASE_URI" --output=nq "$SECRETARY_DATASET_PATH" > /var/linkeddatahub/based-datasets/root-secretary.nq
Expand All @@ -510,11 +505,6 @@ SECRETARY_KEY_URI=$(echo "$secretary_metadata" | xmlstarlet sel -N srx="http://w
SECRETARY_KEY_DOC_URI=$(echo "$SECRETARY_KEY_URI" | sed 's|#this$||')
SECRETARY_KEY_URI="${SECRETARY_KEY_DOC_URI}#this"

printf "\n### Extracted SECRETARY_URI: %s\n" "$SECRETARY_URI"
printf "\n### Extracted SECRETARY_DOC_URI: %s\n" "$SECRETARY_DOC_URI"
printf "\n### Extracted SECRETARY_KEY_URI: %s\n" "$SECRETARY_KEY_URI"
printf "\n### Extracted SECRETARY_KEY_DOC_URI: %s\n" "$SECRETARY_KEY_DOC_URI"

# Note: LOAD_DATASETS check is now done per-app inside the loop

# base the $CONTEXT_DATASET
Expand Down
Loading