Skip to content
This repository was archived by the owner on Oct 10, 2021. It is now read-only.
Merged
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
4 changes: 4 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ blazegraph_config_namespace_kb_spo_blazegraph_config_btree_BTree_branchingFactor
# the workbench "Performance" tab_
#
blazegraph_config_journal_Journal_collectPlatformStatistics: "false"


triplestore_namespace: islandora
alpaca_triplestore_base_url: "http://{{ hostvars[groups['tomcat'][0]].ansible_host }}:8080/bigdata"
6 changes: 3 additions & 3 deletions tasks/namespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- name: "Wait for Blazegraph to come up"
uri:
url: "http://localhost:8080/bigdata/#namespaces"
url: "{{ alpaca_triplestore_base_url }}/#namespaces"
status_code: 200
timeout: 5
register: result
Expand All @@ -18,7 +18,7 @@

- name: Setup namespace in blazegraph
uri:
url: http://localhost:8080/bigdata/namespace
url: "{{ alpaca_triplestore_base_url }}/namespace"
method: POST
body: "{{ lookup('file', 'blazegraph.properties') }}"
status_code: 201
Expand All @@ -28,7 +28,7 @@

- name: Setup inference in blazegraph
uri:
url: http://localhost:8080/bigdata/namespace/islandora/sparql
url: "{{ alpaca_triplestore_base_url }}/namespace/{{ triplestore_namespace }}/sparql"
method: POST
body: "{{ lookup('file', 'inference.nt') }}"
status_code: 200
Expand Down