-
Notifications
You must be signed in to change notification settings - Fork 9
make is easy to configure this via inventory #7
Conversation
defaults/main.yml
Outdated
@@ -33,13 +39,13 @@ alpaca_settings: | |||
settings: | |||
input.stream: activemq:topic:fedora | |||
triplestore.reindex.stream: activemq:queue:triplestore.reindex | |||
triplestore.baseUrl: http://localhost:8080/bigdata/namespace/islandora/sparql | |||
triplestore.baseUrl: "{{ alpaca_triplestore_base_url }}/namespace/islandora/sparql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are going part way, why not remove the assumption that all triplestores will use the "islandora" namespace.
defaults/main.yml
Outdated
alpaca_milliner_base_url: http://localhost:8000/milliner/ | ||
alpaca_gemini_base_url: http://localhost:8000/gemini/ | ||
alpaca_houdini_base_url: http://localhost:8000/houdini/convert | ||
alpaca_homarus_base_url: http://localhost:8000/homarus/convert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like the name ..._base_url
might be incorrect for these last two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whikloj endpoint?
@@ -25,6 +25,12 @@ alpaca_karaf_deploy_dir: "{{ alpaca_karaf_dir }}/deploy" | |||
alpaca_karaf_user: karaf | |||
alpaca_local_mvn_path: /opt/maven/repo | |||
|
|||
alpaca_triplestore_base_url: http://localhost:8080/bigdata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should be consistent on whether to end with a slash or not. Unless we can adjust to account for either
Addressed your feedback. Triplestore url is used here as well: https://github.com/Islandora-Devops/ansible-role-blazegraph. Will update that role as well. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested along with the other PRs, and this works as intended. e.g. nothing broke but now we can use all these variables.
What does this Pull Request do?
Make the urls as variable so they can be configured more easily in the inventory.
How should this be tested?
Interested parties
@Islandora-Devops/committers