Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
370e84d
Uncommented @Ignore in ApiDocumentation.java
henrietteharmse Mar 11, 2019
94ba975
Merge branch '3.x-dev' of github.com:EBISPOT/OLS into 3.x-dev
simonjupp Mar 26, 2019
c7582cb
prefer english labels as primary
simonjupp Mar 26, 2019
57af349
This commit includes small changes that aims to address the following:
henrietteharmse Apr 1, 2019
fc878cd
Fix for ticket #241 is now working.
henrietteharmse Apr 1, 2019
c195362
Reverted MongoDB fix for now as it is too extreme. I.e., we still want
henrietteharmse Apr 1, 2019
964b6ca
A less extreme fix for ticket #236 that will give a `A server error
henrietteharmse Apr 2, 2019
91d6a6b
class renderer will handle when no language tag is present fixes #261
simonjupp Apr 25, 2019
c2bfdeb
Merge pull request #262 from EBISPOT/261
henrietteharmse Apr 29, 2019
fe3cde3
Upgraded to JUnit 5 to allow for using parameterised tests.
henrietteharmse May 7, 2019
0ee912c
This commit includes 2 main changes:
henrietteharmse May 10, 2019
e4dfd74
added docker file for Solr and docker-compose for dev envrionment
simonjupp May 10, 2019
7c0b4a5
Initial steps towards being able to unit test Neo4J indexing.
henrietteharmse May 14, 2019
23202b7
Initial testing and refactor of Neo4J.
henrietteharmse May 16, 2019
0b2f36e
Neo4J indexes updated for preferred root terms. Includes:
henrietteharmse May 23, 2019
b920825
Removed preferred roots that was accidentally added Solr TermDocument.
henrietteharmse May 23, 2019
9c237c4
Potential fix for Mondo issue
henrietteharmse Jun 4, 2019
5bbb5ed
Merge branch '3.x-dev'
henrietteharmse Jun 4, 2019
21dd1dd
Merge branch '3.x-dev' into dockercompose
simonjupp Jun 5, 2019
7429277
Resurrect Thymeleaf integration for new branding; dockerise solr & mongo
warrenread Jun 12, 2019
c0f7c8f
Fixed issue with cycles in properties not being detected.
henrietteharmse Jun 17, 2019
725a2b9
Fix for detecting cycles in properties.
henrietteharmse Jun 17, 2019
20b3f9f
Added Spring health check
henrietteharmse Jul 8, 2019
696b7bb
Merge branch '3.x-dev' with Spring health check enabled.
henrietteharmse Jul 8, 2019
e6d2b0d
Partial preferred roots implementation with new ols tree components. …
henrietteharmse Jul 9, 2019
d309b26
Merge branch 'dockercompose' into 3.x-dev
simonjupp Jul 10, 2019
3507112
added an API endpoint at api/ols-config that returns config in yaml. …
simonjupp Jul 10, 2019
d959816
added an API endpoint at api/ols-config that returns config in yaml. …
simonjupp Jul 10, 2019
2888634
fixed formatting error so config is under a ontologies property in th…
simonjupp Jul 11, 2019
16d8ec2
Merge pull request #276 from EBISPOT/config_export
simonjupp Jul 11, 2019
5002bdc
Conditional styling in header; update CSS; generalise OLS docker image
warrenread Jul 11, 2019
a48fb0f
Merge branch '3.x-dev' into ebi-rebranded
warrenread Jul 19, 2019
7128339
Neo4j queries not fully implemented yet, nor working properly. Commit…
henrietteharmse Jul 20, 2019
834317b
Added architecture diagram.
henrietteharmse Jul 23, 2019
558e30d
Added architecture diagram.
henrietteharmse Jul 23, 2019
ce96119
Correct final search page record count (fix #279); fix 'Prev' navigation
warrenread Jul 25, 2019
1702d39
Remove commented code line, for brevity ease of diffing
warrenread Jul 26, 2019
affef6f
Fix search and index page layout with CSS and template modifications
warrenread Jul 29, 2019
8afa10d
Merge branch '3.x-dev' into ebi-rebranded
warrenread Jul 29, 2019
95da45d
Update readme to correct typos and trademarks
warrenread Aug 5, 2019
3ba8b71
Incorporate typo and trademark corrections from ebi-rebranded branch
warrenread Aug 5, 2019
23f054b
Retrofit (to modified HTML) of commit 964b6c by henrietteharmse
warrenread Aug 5, 2019
3569cae
Resolve conflicts
warrenread Aug 5, 2019
1b6f0d5
Merge pull request #283 from EBISPOT/3.x-dev
simonjupp Aug 5, 2019
ef699c1
Merge branch '3.x-dev' into ebi-rebranded (for diagram in readme)
warrenread Aug 7, 2019
ca0932f
Whiten Elixir footer background; modify cursor and colour on facet hover
warrenread Aug 8, 2019
0442fed
Update Cypher DSL repository URL in POM
warrenread Aug 13, 2019
43d3cd0
A working implementation of preferred roots
henrietteharmse Aug 14, 2019
1d49c1d
Deleted integration test depending on Neo4j
henrietteharmse Aug 14, 2019
b7bb925
Refactor of JS components to use element names rather than ids
henrietteharmse Aug 14, 2019
b37f87b
Create .gitlab-ci.yml
simonjupp Aug 14, 2019
5bceb76
Merge 'preferred-roots' into 3.x-dev
henrietteharmse Aug 16, 2019
09db239
Fixed sibling label status issue.
henrietteharmse Aug 16, 2019
b648c9b
Fixed preferred roots issue causing null pointer exception on some re…
henrietteharmse Aug 16, 2019
edf8ae3
Improved styling of preferred root radio buttons
henrietteharmse Aug 27, 2019
d3f8e19
Preferred root terms can now be specified in YAML config.
henrietteharmse Aug 27, 2019
6151baf
Show preferred root option only for ontologies with preferred roots c…
henrietteharmse Aug 28, 2019
e888bea
Preferred roots displayed when found in Neo4j or Mongo
henrietteharmse Aug 29, 2019
08df187
Fixed preferred root state issue
henrietteharmse Aug 29, 2019
854549c
Update YamlConfigParser.java
johannes-darms Sep 2, 2019
e4f17f3
Improve and ease runnability of OLS branches within Docker
warrenread Sep 2, 2019
82a1ff7
Fix id of main content area to correct behaviour and stop console errors
warrenread Sep 6, 2019
8e18223
Fix accidental delegation, which was obfuscating facets' event handling
warrenread Sep 9, 2019
f11b876
Remove box shadow around search strings; use GNU grep within container
warrenread Sep 10, 2019
3b20278
Fix right-hand panel heading background colour, and depth (roughly)
warrenread Sep 12, 2019
257afb6
Use appropriate icon for 'Term mappings'
warrenread Sep 12, 2019
1d0bf81
Update readme for docker commit-specific local deployments
warrenread Sep 25, 2019
41e77f7
Fix for Neo4j NullPointerException. Changed dubug logging to log stac…
henrietteharmse Sep 30, 2019
c55e2c1
Fixed accidental rename of obo-config.yaml
henrietteharmse Sep 30, 2019
8ec6a91
Merge branch '3.x-dev' which implements preferred roots.
henrietteharmse Oct 11, 2019
2ef89f7
Implement Sass/SCSS pre-compilation; adjust alignment and font sizing
warrenread Oct 15, 2019
e5a62d9
Update Tomcat minor version for Docker
warrenread Oct 24, 2019
72c26a8
Fix breadcrumb vertical alignment and horizontal spacing
warrenread Oct 25, 2019
e29a8ba
Fixes for tickets #297 and #294
henrietteharmse Oct 28, 2019
bc4bb95
Merged with 3.x-dev
henrietteharmse Nov 5, 2019
e01a442
Added new_ols.css
henrietteharmse Nov 5, 2019
d0b9212
Fix for tree component issues for properties and individuals.
henrietteharmse Nov 7, 2019
de8c0ea
Merge 3.x-dev into master
henrietteharmse Nov 7, 2019
1be701e
Enable all ontologies to be viewed on ontologies browse page
warrenread Nov 18, 2019
7426ab5
Restore short name coloured backround on ontologies list page
warrenread Nov 19, 2019
60f7393
Adjust left margins to fix horizontal spacing; add SassDoc for mixin
warrenread Nov 20, 2019
9f0ee8a
Improve URI display in search results page
warrenread Nov 20, 2019
6400cc1
Cut template whitespace; tidy html; add spacer CSS; serve source map
warrenread Nov 20, 2019
4c1aee0
Populate individuals page; adjust whitespace below header & above footer
warrenread Dec 4, 2019
d787dbc
Undo EBI styling's breadcrumb capitalisation; add icon-text interspace
warrenread Dec 16, 2019
4c144be
Remove exclamation mark from search button
warrenread Dec 17, 2019
2ee2a3b
Restore tree icons denoting partonomic relations
warrenread Dec 17, 2019
381be05
Restyle and tooltip term URIs; add thinspace class; fix SCSS warnings
warrenread Dec 17, 2019
e342fc6
Fixes the following small issues:
henrietteharmse Jan 3, 2020
65741d7
Change from logback.xml to logback-spring.xml according to Spring rec…
henrietteharmse Jan 6, 2020
6a7f97e
Merged 3.x-dev
henrietteharmse Jan 6, 2020
9bec84c
VersionIri's should rather not be displayed than displayed with empty…
henrietteharmse Jan 7, 2020
115afcf
Merge 3.x-dev
henrietteharmse Jan 7, 2020
a303468
Commented out gitlab config issue for now
henrietteharmse Jan 8, 2020
d88786e
Add protocol for using containerised Solr and MongoDB instances
warrenread Jan 21, 2020
f839113
Merge branch 'ebi-rebranded' into ebi-rebranded-merge2
warrenread Jan 22, 2020
ab64b03
Remove post-precompilation CSS; alter active search box highlight colour
warrenread Jan 23, 2020
54cf753
Merge branch 'ebi-rebranded-merge' into ebi-rebranded-merge2
warrenread Jan 23, 2020
4a76eaf
Enable execute permission on script
warrenread Jan 23, 2020
c141d6e
Add focus pseudo-class, and intensify emphasis around search box
warrenread Jan 23, 2020
a885d00
Sort additional ontologies list ('Also in: ...') by prefix
warrenread Jan 24, 2020
84befa0
Merge branch '3.x-dev' into ebi-rebranded-merge
warrenread Jan 27, 2020
4a8129f
Merge branch 'ebi-rebranded-merge' into ebi-rebranded-merge2
warrenread Jan 27, 2020
a385e40
Fix whitespace and issue with broken (HTMLencoded) HTML comment syntax
warrenread Jan 27, 2020
e4c7081
#306 Change preferred roots to use http://purl.obolibrary.org/obo/IAO…
henrietteharmse Mar 2, 2020
13b3bcd
Deleted catalog-v001.xml file
henrietteharmse Mar 2, 2020
be98707
Merge 3.x-dev
henrietteharmse Mar 2, 2020
6ab183d
Enable Foundation; Thymeleafise CSS links; tidy code; volumise Solr data
warrenread Mar 4, 2020
2f1de73
Fix Foundation classes; fix icon; balance & align tags; improve styling
warrenread Mar 18, 2020
4d53ce3
Fix font in tree to be consistent with the rest of the page
jamesamcl Mar 19, 2020
bd55694
Fix icon spacing
jamesamcl Mar 19, 2020
8f5661d
Fix home button
jamesamcl Mar 19, 2020
c402153
Fix the term tree on the ontology page
jamesamcl Mar 20, 2020
9c0610a
Fix some colours, styling, and text (info -> information, id -> ID)
jamesamcl Mar 23, 2020
467b55c
More style fixes and add ols.debrand option (#332)
jamesamcl Mar 23, 2020
37ee3ba
Added documentation about how to fix OLS build errors
henrietteharmse Mar 24, 2020
f73f2af
Merge branch '3.x-dev'
henrietteharmse Mar 24, 2020
40424cb
Logo and title customisation options (#332)
jamesamcl Mar 25, 2020
2e0f0f3
Hide docs and about for ols.debrand (#332)
jamesamcl Mar 25, 2020
3ac0e5f
Add customisation section to README
jamesamcl Mar 25, 2020
c2ea07a
shortName -> shortTitle and fix "null"s in term page
jamesamcl Mar 25, 2020
e8ace4b
Fix Term relations header styling
jamesamcl Mar 25, 2020
92259b9
Top align text in ontology table
jamesamcl Mar 25, 2020
07e033a
Update ebi:owner
jamesamcl Mar 25, 2020
5e4a4cc
Merge remote-tracking branch 'origin/3.x-dev' into ebi-rebranded-merge2
jamesamcl Mar 25, 2020
d236870
Make blue things green
jamesamcl Mar 26, 2020
2c81cfc
Clickable links in annotations
jamesamcl Mar 30, 2020
3b94994
Index data properties in solr
jamesamcl Mar 31, 2020
ed4d5da
Create Makefile to run docker build commands
matentzn Mar 31, 2020
1339887
.war Manifest fix
henrietteharmse Apr 1, 2020
29ebd83
.pom cleanup
henrietteharmse Apr 1, 2020
93c5382
Hopefully fix the issue of ontologies not updating
jamesamcl Apr 2, 2020
09fbad4
Merge branch 'patch-1' of github.com:johannes-darms/OLS into 3.x-dev
jamesamcl Apr 3, 2020
6cb51f5
Merge branch '3.x-dev' of github.com:EBISPOT/OLS into ebi-rebranded-m…
jamesamcl Apr 3, 2020
b853d73
Merge branch '3.x-dev' into make-docker
jamesamcl Apr 3, 2020
bcc5057
Merge pull request #335 from EBISPOT/make-docker
jamesamcl Apr 3, 2020
e41baaa
Update Makefile
matentzn Apr 4, 2020
3e46164
Merge branch 'make-docker' of https://github.com/EBISPOT/OLS into mak…
matentzn Apr 4, 2020
04ca0a6
enable static web content to be overridden from ols home
jamesamcl Apr 6, 2020
3cf99ac
Merge pull request #341 from EBISPOT/make-docker
henrietteharmse Apr 8, 2020
28d4aa6
Implement allow_download ontology option
jamesamcl Apr 8, 2020
d9d2620
Implement allow_download ontology option
jamesamcl Apr 8, 2020
d9fba5f
Merge pull request #340 from EBISPOT/fix-updating-ontologies
henrietteharmse Apr 8, 2020
c2b9fdc
Merge pull request #345 from EBISPOT/allow-download-old-ui
henrietteharmse Apr 8, 2020
c2e855a
fix null pointer deref when no file hash is yet in the database
jamesamcl Apr 9, 2020
175d6a5
Also check status for null in case loading failed for some other reason
jamesamcl Apr 9, 2020
8208029
Merge pull request #334 from EBISPOT/237-data-property-indexing
henrietteharmse Apr 14, 2020
d601e5d
Hopefully fix the cycles in jstree generation
jamesamcl Apr 20, 2020
1c7609a
Merge branch 'ebi-rebranded-merge2' into 3.x-dev
jamesamcl Apr 21, 2020
77824f0
move custom web directory to fix static content 404s
jamesamcl Apr 21, 2020
e948b60
fix typo in template (getConfig to getConfig())
jamesamcl Apr 21, 2020
08a1e20
Styling fixes, including prefixing of graph view HTML classes
jamesamcl Apr 22, 2020
8eeda16
New UI tweaks, including collapsible sections
jamesamcl Apr 22, 2020
5e18f7a
Make tree views scrollable
jamesamcl Apr 23, 2020
15a2bc2
Fix toggles appearing multiple times due to doubly included JS
jamesamcl Apr 23, 2020
af9b54a
Revert "Also check status for null in case loading failed for some ot…
jamesamcl Apr 24, 2020
49c7a8a
Revert "fix null pointer deref when no file hash is yet in the database"
jamesamcl Apr 24, 2020
164567c
Revert "Hopefully fix the issue of ontologies not updating"
jamesamcl Apr 24, 2020
87b9dce
Revert "Also check status for null in case loading failed for some ot…
jamesamcl Apr 24, 2020
d299478
Revert "fix null pointer deref when no file hash is yet in the database"
jamesamcl Apr 24, 2020
e2949f9
Revert "Hopefully fix the issue of ontologies not updating"
jamesamcl Apr 24, 2020
6df8976
Reinstate changes to file hashing after verified working on prod
jamesamcl Apr 2, 2020
1b90953
Reinstate changes to file hashing after verified working on prod
jamesamcl Apr 2, 2020
da50438
Upgrade of OWL API to 5.1.14
henrietteharmse May 1, 2020
8c8ce1e
Resolved HermiT and ELK reasoner related version conflicts
henrietteharmse May 4, 2020
edf5dc8
Fix for the issue of owl:Thing not being labelled as a Root in neo4j
jamesamcl May 4, 2020
00f936a
Merge remote-tracking branch 'origin/3.x-dev'
jamesamcl May 13, 2020
9d68760
Fix for Tomcat startup issue
henrietteharmse May 19, 2020
d691314
Merge 3.x-dev
henrietteharmse May 19, 2020
75b1b88
Fix URIs in info box
jamesamcl May 21, 2020
bc9e5b7
Merge pull request #361 from EBISPOT/roots-fix
jamesamcl May 22, 2020
7d6268d
Merge pull request #351 from EBISPOT/tree-cycle-fix
jamesamcl May 22, 2020
c403b13
Fix disappearing annotations
jamesamcl May 22, 2020
300ce7d
Fix missing titles
jamesamcl May 26, 2020
fef69a2
Fix xrefs (#372)
jamesamcl May 27, 2020
4843a57
Skip failing ontologies after multiple attempts
jamesamcl Jun 1, 2020
e2eb6f4
Reset load attempts to 0 after successful load
jamesamcl Jun 2, 2020
5967367
Merge pull request #366 from EBISPOT/new-ui-fixes
jamesamcl Jun 2, 2020
73d9917
Merge branch '3.x-dev' of github.com:EBISPOT/OLS
jamesamcl Jun 3, 2020
9a0c1b5
fix errors for terms with obo xrefs
jamesamcl Jun 3, 2020
9c96c96
Added spreadsheet to request ontology to be added to OLS
henrietteharmse Jun 8, 2020
2ee0a4d
fix tree issues (including #379)
jamesamcl Jun 8, 2020
f9498a3
Merge pull request #380 from EBISPOT/tree-fixes
jamesamcl Jun 8, 2020
82d944f
Docker refactoring
jamesamcl Jun 5, 2020
b28e141
add final docker compose instruction
jamesamcl Jun 10, 2020
d924b65
Merge pull request #375 from EBISPOT/skip-failing2
henrietteharmse Jun 11, 2020
ebded87
fix invisible docs headers
jamesamcl Jun 11, 2020
d12d244
Merge branch '3.x-dev' of github.com:EBISPOT/OLS into 3.x-dev
jamesamcl Jun 11, 2020
1ebc83d
Remove old docker files
jamesamcl Jun 17, 2020
211d9a6
Update docker instruction to include version :latest
jamesamcl Jun 17, 2020
c685680
Add .gitlab-ci.yml
jamesamcl Jun 17, 2020
2828290
Remove old gitlab config
jamesamcl Jun 17, 2020
dcc67c7
update gitlab CI to build all images
jamesamcl Jun 17, 2020
8a8bd18
limit ci to certain branches
jamesamcl Jun 17, 2020
6c60bf9
Merge branch 'dev'
jamesamcl Jun 17, 2020
9c12af0
Further docker refactoring to fix issues with volumes
jamesamcl Jun 18, 2020
beed64f
Add ols/obo configs back to ols-config-importer resources
jamesamcl Jun 18, 2020
bf9f727
Merge branch 'master' into 3.x-dev
jamesamcl Jun 18, 2020
ac8778d
fix only first annotation being shown
jamesamcl Jun 19, 2020
3ab95b6
fix only first annotation being shown
jamesamcl Jun 19, 2020
f075dbc
Added CPU and memory usages stats for indexing
henrietteharmse Jul 21, 2020
42439c8
Minor updates
henrietteharmse Jul 23, 2020
5338381
Merge branch '3.x-dev' of github.com:EBISPOT/OLS into owlapi
jamesamcl Jul 23, 2020
df96ded
Added marker for resource usage logging
henrietteharmse Aug 4, 2020
bceebdd
Merge pull request #392 from EBISPOT/owlapi
jamesamcl Aug 7, 2020
65f2f71
Exclude owl api from hermit and elk
henrietteharmse Aug 7, 2020
8512355
Exclude owl api from hermit and elk
henrietteharmse Aug 7, 2020
4c50d21
Changed resource usage logging to info rather than debug.
henrietteharmse Aug 10, 2020
ad321a3
Merge 3.x-dev
henrietteharmse Aug 10, 2020
a1f2720
Fix for labels in imports issue
henrietteharmse Aug 11, 2020
7f63b84
Merge pull request #393 from EBISPOT/3.x-dev
jamesamcl Aug 11, 2020
0b792a5
Use full IRI in getOWLAnnotationValueAsString if short form is empty …
jamesamcl Aug 25, 2020
ead031b
Include SOLR config within docker image
johannes-darms Aug 26, 2020
6f3683d
Merge pull request #405 from EBISPOT/short-form-fix
jamesamcl Aug 26, 2020
9588521
Merge pull request #408 from johannes-darms/patch-2
jamesamcl Aug 26, 2020
f786478
Remove solr build from docker compose file
jamesamcl Aug 26, 2020
29a039a
Workaround for owlapi EnititySearcher.getSuperProperties issue where …
henrietteharmse Aug 27, 2020
70a9f7d
Merge pull request #412 from EBISPOT/3.x-dev
jamesamcl Aug 27, 2020
0bb6804
Add powered by footer for debranded mode
jamesamcl Aug 27, 2020
f1610b6
Change contact us link to link to issue tracker
jamesamcl Aug 28, 2020
e6e43d7
Test branch push restrictions
jamesamcl Aug 28, 2020
bae0b1d
Made ELK the default reasoner and removed use of Structural reasoner
henrietteharmse Sep 7, 2020
2866e83
Merge pull request #414 from EBISPOT/pseudo-reasoner
jamesamcl Sep 8, 2020
ce24b7b
fix links/images not working in term property values
jamesamcl Sep 25, 2020
696a581
Merge branch 'master' into 3.x-dev
jamesamcl Sep 25, 2020
c37bc64
fix links/images not working in term property values
jamesamcl Sep 25, 2020
3377fb2
Merge pull request #421 from EBISPOT/depictions-hotfix
henrietteharmse Sep 25, 2020
b141ced
Default reasoner set to ELK. Structural Reasoner used when ontology i…
henrietteharmse Oct 9, 2020
c2c5e56
Fix a typo in the .m2 path
Oct 18, 2020
1905a33
Defaults to structural reasoner when no reasoner is specified
henrietteharmse Oct 22, 2020
a6ec36f
Commented out some logging
henrietteharmse Oct 26, 2020
ea13f3f
Merge pull request #432 from EBISPOT/pseudo-reasoner
jamesamcl Oct 26, 2020
5cd35a4
Merge pull request #433 from EBISPOT/pseudo-reasoner
henrietteharmse Oct 27, 2020
5d66498
Merge pull request #434 from EBISPOT/3.x-dev
jamesamcl Oct 27, 2020
47919f1
Merge pull request #429 from jiaola/master
henrietteharmse Oct 27, 2020
bb32c4e
fix ebi link in debranded footer
jamesamcl Oct 27, 2020
ae72acf
Fix formatting of ontology request form
jamesamcl Oct 29, 2020
b304c49
Merge pull request #436 from EBISPOT/3.x-dev
henrietteharmse Oct 29, 2020
c47c78a
Reinstate solr config in compose file
jamesamcl Dec 1, 2020
8b06316
Fix extracting short name from URNs
jamesamcl Dec 1, 2020
00b7bea
Merge branch '3.x-dev' of github.com:EBISPOT/OLS into 3.x-dev
jamesamcl Dec 1, 2020
31c7ba5
Merge pull request #441 from EBISPOT/3.x-dev
henrietteharmse Dec 1, 2020
58f5d68
fix missing citations on term page
jamesamcl Dec 7, 2020
a4b0626
fix empty term annotations where the value is an IRI
jamesamcl Dec 7, 2020
3d3c035
Merge pull request #445 from EBISPOT/3.x-dev
jamesamcl Dec 8, 2020
9641bcb
Defaulting reasoner to NONE rather than EL.
henrietteharmse Dec 8, 2020
60640e1
Merge branch '3.x-dev' of https://github.com/EBISPOT/OLS into 3.x-dev
henrietteharmse Dec 8, 2020
91cbd91
Merge pull request #447 from EBISPOT/3.x-dev
jamesamcl Dec 8, 2020
d437879
Add property information
jamesamcl Feb 11, 2021
57bd029
Merge pull request #463 from EBISPOT/3.x-dev
jamesamcl Feb 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.git
.idea
properties
OLS_logo_and_family
*.rtf
*.iml
*.md
!ols-web/src/main/resources/application.properties
!ols-web/target/ols-boot.war
!ols-apps/ols-config-importer/target/ols-config-importer.jar
!ols-apps/ols-loading-app/target/ols-indexer.jar
!ols-solr/src/main/solr-5-config
data
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ ols-loader/src/test/resources/tmp
ols-solr/src/main/resources/solr-conf/ontology/data
ols-mongo/src/main/resources/mongodb
ols-web/src/main/resources/static/documents/*
properties
properties
.classpath
.settings
.project
*.log
new_ols.css
new_ols.css.map
.factorypath
25 changes: 25 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

build:
image: docker:18-git
stage: build
only:
- dev
- test
- stable
services:
- docker:18-dind
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t ${OLS_IMAGE_PREFIX}/ols-config-importer:$CI_COMMIT_REF_NAME-$CI_BUILD_ID -f ./ols-apps/ols-config-importer/Dockerfile .
- docker build -t ${OLS_IMAGE_PREFIX}/ols-indexer:$CI_COMMIT_REF_NAME-$CI_BUILD_ID -f ./ols-apps/ols-indexer/Dockerfile .
- docker build -t ${OLS_IMAGE_PREFIX}/ols-web:$CI_COMMIT_REF_NAME-$CI_BUILD_ID -f ./ols-web/Dockerfile .
- docker tag ${OLS_IMAGE_PREFIX}/ols-config-importer:$CI_COMMIT_REF_NAME-$CI_BUILD_ID ${OLS_IMAGE_PREFIX}/ols-config-importer:$CI_COMMIT_REF_NAME
- docker tag ${OLS_IMAGE_PREFIX}/ols-indexer:$CI_COMMIT_REF_NAME-$CI_BUILD_ID ${OLS_IMAGE_PREFIX}/ols-indexer:$CI_COMMIT_REF_NAME
- docker tag ${OLS_IMAGE_PREFIX}/ols-web:$CI_COMMIT_REF_NAME-$CI_BUILD_ID ${OLS_IMAGE_PREFIX}/ols-web:$CI_COMMIT_REF_NAME
- docker push ${OLS_IMAGE_PREFIX}/ols-config-importer:$CI_COMMIT_REF_NAME-$CI_BUILD_ID
- docker push ${OLS_IMAGE_PREFIX}/ols-config-importer:$CI_COMMIT_REF_NAME
- docker push ${OLS_IMAGE_PREFIX}/ols-indexer:$CI_COMMIT_REF_NAME-$CI_BUILD_ID
- docker push ${OLS_IMAGE_PREFIX}/ols-indexer:$CI_COMMIT_REF_NAME
- docker push ${OLS_IMAGE_PREFIX}/ols-web:$CI_COMMIT_REF_NAME-$CI_BUILD_ID
- docker push ${OLS_IMAGE_PREFIX}/ols-web:$CI_COMMIT_REF_NAME

Binary file added OLS-Architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
140 changes: 126 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,139 @@
# OLS
Ontology Lookup Service from SPOT at EBI.

Ontology Lookup Service from SPOT at EBI.

* OLS is currently live at the EBI here http://www.ebi.ac.uk/ols
* A REST API for OLS is described here http://www.ebi.ac.uk/ols/docs/api
* Instruction on how to build a local OLS installation are here http://www.ebi.ac.uk/ols/docs/installation-guide
* Run OLS with docker here https://github.com/MaastrichtUniversity/ols-docker
* Further OLS documentation can be found here http://www.ebi.ac.uk/ols/docs
* Instructions on how to build a local OLS installation are here
http://www.ebi.ac.uk/ols/docs/installation-guide
* Run OLS with docker here
https://github.com/MaastrichtUniversity/ols-docker
* Further OLS documentation can be found here
http://www.ebi.ac.uk/ols/docs

## Overview

This is the entire codebase for the EBI OLS. OLS has been developed around two key ontology indexes that can be built and used
independently from the core website. We provide service to build a SOLR index and and a Neo4j index. The SOLR index is used to provide text based queries over the ontologies while the neo4j index is used to query the ontology structure and is the primary driver of the OLS REST API.
![OLS Architecture](OLS-Architecture.png)

This is the entire codebase for the EBI OLS. OLS has been developed
around two key ontology indexes that can be built and used independently
from the core website. We provide services to build a Solr index and a
Neo4j index. The Solr index is used to provide text-based queries over
the ontologies while the Neo4j index is used to query the ontology
structure and is the primary driver of the OLS REST API.

OLS has been developed with the Spring Data and Spring Boot framework.
You can build this project with Maven and the following Spring Boot
applications will be available to run.

OLS has been developed with the Spring data and Spring boot framework. You can build this project with Maven and the following Spring Boot applications will be available to run.
All of the apps are available under the ols-apps module.

* [ols-apps/ols-solr-app](ols-apps/ols-solr-app) - Spring Boot
application for building a Solr index for one or more ontologies.
Requires access to a Solr server.
* [ols-apps/ols-neo4j-app](ols-apps/ols-neo4j-app) - Spring Boot
application for building a Neo4j index for one or more ontologies.
Builds an embedded Neo4j database. You can run a Neo4j server that
uses the generated Neo4j database.

To run a complete local OLS installation you will need a MongoDB
database. This is a lightweight database that is used to store all the
ontology configuration and application state information. See here for
more information http://www.ebi.ac.uk/ols/docs/installation-guide

* [ols-apps/ols-config-importer](ols-apps/ols-config-importer) - Spring
Boot application for loading config files into the MongoDB database.
This includes support for reading config files specified using the OBO
Foundry YAML format.
* [ols-apps/ols-indexer](ols-apps/ols-indexer) - Spring Boot
application for building the complete OLS indexes. This app fetches
ontologies specified in the config files, checks whether they have
changed from a previous download, and if they have changed, will
create all the necessary Solr and Neo4j indexes.
* [ols-web](ols-web) - This contains the WAR file that can be deployed
in Tomcat to launch the OLS website and REST API. It depends on
[ols-term-type-treeview]
(https://github.com/EBISPOT/ols-term-type-treeview) and
[ols-tabbed-term-treeview]
(https://github.com/EBISPOT/ols-tabbed-term-treeview).


## Deploying with Docker

The preferred method of deployment for OLS is using Docker. First, create the
necessary volumes:

docker volume create --name=ols-neo4j-data
docker volume create --name=ols-mongo-data
docker volume create --name=ols-solr-data
docker volume create --name=ols-downloads

Then, start solr and mongodb only:

docker-compose up -d solr mongo

Then, adjust the configuration YAML files in the `config` directory as required,
and load the configuration into the Mongo database using the config loader:

docker run --net=host -v $(pwd)/config:/config ebispot/ols-config-importer:stable

Then, run the indexer:

docker run --net=host -v ols-neo4j-data:/mnt/neo4j -v ols-downloads:/mnt/downloads ebispot/ols-indexer:stable

Finally, start the OLS webserver:

docker-compose up -d ols-web

You should now be able to access a populated OLS instance at `http://localhost:8080`.


### Building the Docker images manually

Rather than using the images from Docker Hub, the Docker images can also be
built using the Dockerfiles in this repository.

docker build -f ols-apps/ols-config-importer/Dockerfile -t ols-config-importer .
docker build -f ols-apps/ols-indexer/Dockerfile -t ols-indexer .



## Building OLS manually

To build OLS you will need to use Java 8 and Maven 3.x.

To build OLS, in the root directory of OLS, run:
`mvn clean package`. Currently this will fail with the following error:

`[ERROR] Failed to execute goal on project ols-neo4j: Could not resolve dependencies for project uk.ac.ebi.spot:ols-neo4j:jar:3.2.1-SNAPSHOT: Failed to collect dependencies at org.springframework.data:spring-data-neo4j:jar:3.4.5.RELEASE -> org.neo4j:neo4j-cypher-dsl:jar:2.0.1: Failed to read artifact descriptor for org.neo4j:neo4j-cypher-dsl:jar:2.0.1: Could not transfer artifact org.neo4j:neo4j-cypher-dsl:pom:2.0.1 from/to maven-neo4j (https://m2.neo4j.org/content/repositories/releases/): Failed to transfer file https://m2.neo4j.org/content/repositories/releases/org/neo4j/neo4j-cypher-dsl/2.0.1/neo4j-cypher-dsl-2.0.1.pom with status code 502 -> [Help 1]`

To correct this, copy the contents of the `build-fix` directory into your Maven
repository under `~/.m2/repository`.

Run `mvn clean package` again. OLS should now build successfully.

### Other build errors
Other build errors you may come across are the following:

1. Wrong version of Java used:

`[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ols-solr: Compilation failure: Compilation failure:
[ERROR] /Users/james/OLS/ols-solr/src/main/java/uk/ac/ebi/spot/ols/config/SolrContext.java:[15,24] package javax.annotation does not exist
[ERROR] /Users/james/OLS/ols-solr/src/main/java/uk/ac/ebi/spot/ols/config/SolrContext.java:[25,4] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class uk.ac.ebi.spot.ols.config.SolrContext
[ERROR] -> [Help 1]`

All of the apps are available under the ols-apps module.
This is the error you get when you compile OLS with Java 11. The fix for this
build error is to ensure your Maven installation is indeed using Java 8 for
compilation.

* [ols-apps/ols-solr-app](ols-apps/ols-solr-app) - Spring boot application for building a SOLR index for one of more ontologies. Requires access to a SOLR server.
* [ols-apps/ols-neo4j-app](ols-apps/ols-neo4j-app) - Spring boot application for building a Neo4j index for one of more ontologies. Builds an embedded neo4j database. You can run a Neo4j server that uses the generated neo4j database.
## Customisation

To run a complete local OLS installation you will need a mongodb database. This is a lightweight database that used to store all the ontology configuration and application state information. See here for more information http://www.ebi.ac.uk/ols/docs/installation-guide
It is possible to customise several branding options in `ols-web/src/main/resources/application.properties`:

* [ols-apps/ols-config-importer](ols-apps/ols-config-importer) - Spring boot application for loading config files into the mongodb database. This includes support for reading config files specified using the OBO foundry YAML format.
* [ols-apps/ols-loading-app](ols-apps/ols-loading-app) - Spring boot application for that build the complete OLS indexes. This app fetches ontologies specified in the config files, checks if they have changed form a previous download, and if hey have changed it will create all the necessary SOLR and Neo4j indexes.
* `ols.customisation.debrand` — If set to true, removes the EBI header and footer, documentation, and about page
* `ols.customisation.title` — A custom title for your instance, e.g. "My OLS Instance"
* `ols.customisation.short-title` — A shorter version of the custom title, e.g. "MYOLS"
* `ols.customisation.org` — The organisation hosting your instance

* [ols-web](ols-web) - This will contain the WAR file that can be deployed in tomcat to launch the OLS website and REST API.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
See https://github.com/EBISPOT/ols/releases for latest releases and notes.


--------------------------------
OLS 3.1.0 release notes
--------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Fri Jan 17 16:17:27 GMT 2020
neo4j-cypher-dsl-2.0.1.pom>maven-neo4j=
neo4j-cypher-dsl-2.0.1.jar>maven-neo4j=
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
519d317979935773646356ee2f7923090f7d53e8
Loading