-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable domain #109
Configurable domain #109
Conversation
… configurable-domain
Codecov Report
@@ Coverage Diff @@
## dev #109 +/- ##
============================================
- Coverage 91.89% 91.74% -0.16%
- Complexity 175 184 +9
============================================
Files 9 9
Lines 728 751 +23
============================================
+ Hits 669 689 +20
- Misses 59 62 +3
Continue to review full report at Codecov.
|
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.
Works as advertised. 👍
Other than codecov, it looks good to me, @dannylamb. |
You mind merging @seth-shaw-unlv ? |
@dannylamb, are we not worrying about codecov on this one? |
@seth-shaw-unlv Nope, Travis is the only required check that must pass. Codecov is mostly there to remind us to update the tests, which I did, only to create a 0.15% drop in code coverage 😞 |
Many thanks @seth-shaw-unlv 🙇 |
- Remove crayfish_gemini_fedora_base_url - Add crayfish_gemini_fedora_domain - Add crayfish_gemini_drupal_domain
GitHub Issue: Islandora/documentation#1664
What does this Pull Request do?
These changes let you configure Gemini with drupal and fedora domains. If you do not configure these values, behaviour is unchanged.
This is useful when you want to take data ingested in one environment to another, like a testing/staging server to production. By configuring the
drupal_domain
andfedora_domain
variables, you can force gemini to rewrite the urls on the way out so that they have the new domain.What's new?
Jams in two new config variables and makes
getUrls()
andfindByUri()
respect them.How should this be tested?
config.example.yml
to yourconfig.yaml
fileby_uri
drupal_domain
andfedora_domain
in yourconfig.yaml
file. I used theseAdditional Notes:
Part of the ongoin ISLE sprint: https://github.com/orgs/Islandora/projects/2
Interested parties
@Islandora/8-x-committers