forked from vivo-project/Vitro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create vivo/home on application start-up (vivo-project#192)
* Create vivo/home on application start-up - Add logic for untarring vivo-home Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Require runtime.properties and applicationSetup.n3 be in 'config/' dir Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Support loading config files with or without 'default' prefix * Prioritize without the prefix Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Add leading slash to location of vivo-home.tar resource path * This allows for deployment in both Tomcat and Jetty Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Ensure VIVO_HOME is populated whether it is empty or not Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Require common properties to be in JNDI Properties include: - vitro/home - vitro/appName - vitro/rootUserAddress - vitro/defaultNamespace Related to: https://jira.lyrasis.org/browse/VIVO-1443 * VIVO-1443: non destructive vivo home untarring (vivo-project#2) * Upgrade Jena version to 3.16.0 (vivo-project#196) Related to: https://jira.lyrasis.org/browse/VIVO-1943 * remove example-settings.xml * update home directory untar non-destructive * checksum digest to retain modified files * compare checksum from digest with existing file * overwrite files that have not changed * add command to manually generate checksum digest * simplify parsing checksum digest using pattern Co-authored-by: Andrew Woods <[email protected]> Co-authored-by: Andrew Woods <[email protected]> * not overwrite existing file if same as tar entry (vivo-project#3) * Upgrade Jena version to 3.16.0 (vivo-project#196) Related to: https://jira.lyrasis.org/browse/VIVO-1943 * remove example-settings.xml * update home directory untar non-destructive * checksum digest to retain modified files * compare checksum from digest with existing file * overwrite files that have not changed * add command to manually generate checksum digest * simplify parsing checksum digest using pattern * do not overwrite file if same as already exists Co-authored-by: Andrew Woods <[email protected]> Co-authored-by: Andrew Woods <[email protected]> * Update log messages for clarity Co-authored-by: Andrew Woods <[email protected]> Co-authored-by: William Welling <[email protected]> Co-authored-by: Gross, Benjamin <[email protected]>
- Loading branch information
1 parent
936305b
commit 8b9a748
Showing
13 changed files
with
412 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.