Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

make is easy to configure this via inventory #7

Merged
merged 4 commits into from
Jul 29, 2019

Conversation

Natkeeran
Copy link
Contributor

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?

  • Replace the role with the PR
  • Vagrant up
  • Verify the things get index in Fedora

Interested parties

@Islandora-Devops/committers

@@ -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"
Copy link
Contributor

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.

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
Copy link
Contributor

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.

Copy link
Contributor Author

@Natkeeran Natkeeran Jul 12, 2019

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
Copy link
Contributor

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

@Natkeeran
Copy link
Contributor Author

@whikloj

Addressed your feedback.

Triplestore url is used here as well: https://github.com/Islandora-Devops/ansible-role-blazegraph. Will update that role as well.

@dannylamb
Copy link
Contributor

vagrant up

Copy link
Contributor

@dannylamb dannylamb left a 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.

@dannylamb dannylamb merged commit e2e55c1 into islandora-deprecated:master Jul 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants