Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Sync: BioPortal v5.33.0 release #7

Merged
merged 71 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
141cbce
update minitest, bigdecimal, and activesupport to newer versions
syphax-bouazzouni Mar 20, 2024
b3c5eb7
update the tests files to use the new minitest framework
syphax-bouazzouni Mar 20, 2024
d56d522
Merge branch 'develop' into pr/refactor/migrate-to-minitest-5
syphax-bouazzouni Mar 21, 2024
acca940
Gemfile.lock update after merging pull request #150
mdorf Apr 24, 2024
bcc5d78
Gemfile.lock update
mdorf Apr 24, 2024
bcbe45d
Gemfile.lock update
mdorf Apr 30, 2024
854bf26
Gemfile update
alexskr May 3, 2024
fe2c14b
confirm to minitest style guide
alexskr May 3, 2024
158f3e1
Merge pull request #147 from ncbo/minitest_styleguide_update_for_test…
alexskr May 4, 2024
f439e21
Gemfile update
alexskr May 4, 2024
f39d91d
Gemfile update
alexskr May 4, 2024
75b05fe
add again SOLR config file as changed for the multilingual support
syphax-bouazzouni May 6, 2024
9435c7e
add request lang middleware to save as a global variable the request …
syphax-bouazzouni May 6, 2024
f7eaf98
update the search helper to add as a suffix the selected language
syphax-bouazzouni May 6, 2024
b5360d2
refactor test to be faster by doing the indexation only if needed
syphax-bouazzouni May 6, 2024
84f079e
add multilingual search unit tests
syphax-bouazzouni May 6, 2024
2a675bb
Merge branch 'develop' into pr/sync-agroportal-bioportal
syphax-bouazzouni May 6, 2024
a208415
Merge pull request #148 from ontoportal-lirmm/pr/sync-agroportal-biop…
alexskr May 8, 2024
f8db0d8
use gems from ncbo repo
alexskr May 8, 2024
3dc9f9d
Gemfile update
alexskr May 9, 2024
9ca2500
make the api use submission naturalLanguage to choose the default la…
syphax-bouazzouni May 20, 2024
9892e98
Merge branch 'feature/multilingual-support-add-language-request-middl…
syphax-bouazzouni May 20, 2024
d9398ce
Merge pull request #149 from ontoportal-lirmm/pr/sync-agroportal-biop…
alexskr May 21, 2024
0ee0a68
Gemfile update
alexskr May 21, 2024
52f2315
Merge pull request #150 from ncbo/feature/multilingual-support-add-la…
alexskr May 21, 2024
321b37b
Gemfile update
alexskr May 21, 2024
4f5d0b0
Gemfile update
alexskr May 21, 2024
2e98535
Gemfile update
alexskr May 21, 2024
2da8763
use 127.0.0.1 for better compat
alexskr May 21, 2024
c53f759
Gemfile update
alexskr May 22, 2024
05e4bba
remove duplicates, fix error message
alexskr May 23, 2024
9dbf2d4
Merge pull request #151 from ncbo/refactor/remove-duplicates-fix-erro…
mdorf May 23, 2024
4c35bb9
Gemfile update
alexskr Jun 12, 2024
8910ca4
Merge pull request #152 from ncbo/develop
alexskr Jun 12, 2024
75b98e0
reset branch specifier to master
alexskr Jun 12, 2024
888eb0b
fixed ontologies_linked_data#211 - Multilingual Ontologies: search re…
mdorf Jun 18, 2024
bcd8938
Gemfile.lock update
mdorf Jun 18, 2024
130ee63
fixed failing unit tests related to multi-lingual functionality
mdorf Jun 18, 2024
a29960b
Gemfile.lock update
mdorf Jun 19, 2024
a4e9013
fixes to ncbo/ontologies_linked_data#211 and ontoportal/ontoportal-pr…
mdorf Jun 27, 2024
52e1175
Gemfile.lock update
mdorf Jun 27, 2024
9ad0a8b
update documentation: by default, search in English
alexskr Jul 3, 2024
237ecd5
Merge branch 'master' into develop
alexskr Jul 3, 2024
6d7643f
Merge pull request #153 from ncbo/develop
alexskr Jul 3, 2024
1b323bc
fix annotator attributes languague filter
syphax-bouazzouni Jul 22, 2024
db96fed
Merge pull request #155 from ontoportal-lirmm/pr/fix/annotator-multil…
alexskr Jul 22, 2024
02bcf36
Merge pull request #156 from ncbo/develop
alexskr Jul 25, 2024
27bc7cb
Update Ruby: v2.7 → v3.0 (#159)
alexskr Sep 24, 2024
8d8f576
Merge pull request #158 from ontoportal/master
alexskr Sep 25, 2024
cef6801
Merge pull request #160 from ncbo/develop
alexskr Sep 25, 2024
81ca033
reset branch specifier to master
alexskr Sep 25, 2024
16d50db
replace delete_if with select
alexskr Sep 26, 2024
f98bead
replace delete_if with select
alexskr Sep 27, 2024
15a5d03
Merge pull request #162 from ncbo/fix/161
alexskr Sep 27, 2024
3c78a99
Merge pull request #163 from ncbo/develop
alexskr Sep 27, 2024
e8301e6
Merge branch 'pr/refactor/migrate-to-minitest-5' of github.com:ontopo…
alexskr Sep 27, 2024
c2f1c58
Merge pull request #165 from ncbo/ontoportal-lirmm-pr/refactor/migrat…
alexskr Sep 28, 2024
af63f6a
deprecate recommender_v1 endpoint
alexskr Sep 28, 2024
f089e32
Merge branch 'develop' into deprecate_recommender_v1
alexskr Sep 28, 2024
e52d630
Merge pull request #166 from ncbo/deprecate_recommender_v1
alexskr Sep 30, 2024
c6619cb
Gemfile.lock update
alexskr Oct 1, 2024
ea55c9e
set default ruby version for image builds in Dockerfile
alexskr Oct 1, 2024
09ca679
set default ruby version for image builds in Dockerfile
alexskr Oct 1, 2024
d405417
added a unit test for ncbo/ontologies_linked_data/pull#216
mdorf Oct 2, 2024
720c900
fixed reset_password endpoint after committing PR ncbo/ontologies_lin…
mdorf Oct 2, 2024
a84633b
fixed reset_password endpoint after committing PR https://github.com/…
mdorf Oct 2, 2024
84febcf
Merge branch 'develop' of github.com:ncbo/ontologies_api into develop
mdorf Oct 2, 2024
2a2efcf
gemfile update
alexskr Oct 8, 2024
ebf586c
gemfile update
alexskr Oct 8, 2024
73a23db
Merge pull request #167 from ncbo/develop
alexskr Oct 8, 2024
581eb69
reset branch specifier to master
alexskr Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
API_URL=http://localhost:9393
ONTOLOGIES_LINKED_DATA_PATH=
GOO_PATH=
SPARQL_CLIENT_PATH=
ONTOPORTAL_KB=ontoportal_kb
REDIS_HOST=redis-ut
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
build-args: |
RUBY_VERSION=2.7
# build-args: |
# RUBY_VERSION=2.7
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions .github/workflows/ruby-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build docker-compose
run: docker-compose --profile 4store build #profile flag is set in order to build all containers in this step
run: docker compose --profile 4store build #profile flag is set in order to build all containers in this step
- name: Run unit tests
# unit tests are run inside a container
# http://docs.codecov.io/docs/testing-with-docker
run: |
ci_env=`bash <(curl -s https://codecov.io/env)`
docker-compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v'
docker compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v'
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.8
3.0.6
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUBY_VERSION
ARG RUBY_VERSION=3.0
ARG DISTRO_NAME=bullseye

FROM ruby:$RUBY_VERSION-$DISTRO_NAME
Expand All @@ -14,10 +14,7 @@ COPY Gemfile* /srv/ontoportal/ontologies_api/

WORKDIR /srv/ontoportal/ontologies_api

# set rubygem and bundler to the last version supported by ruby 2.7
# remove version after ruby v3 upgrade
RUN gem update --system '3.4.22'
RUN gem install bundler -v 2.4.22
RUN gem update --system
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
RUN bundle install
Expand Down
25 changes: 16 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
source 'https://rubygems.org'

gem 'activesupport', '~> 3.2'
gem 'activesupport', '~> 5'
# see https://github.com/ncbo/ontologies_api/issues/69
gem 'bigdecimal', '1.4.2'
gem 'bigdecimal'
# gem 'faraday', '~> 1.9'
gem 'json-schema', '~> 2.0'
gem 'multi_json', '~> 1.0'
gem 'oj', '~> 3.0'
gem 'multi_json'
gem 'oj'
gem 'parseconfig'
gem 'rack'
gem 'rake', '~> 10.0'
gem 'rexml' # Investigate why unicorn fails to start under ruby 3 without adding rexml gem to the Gemfile
gem 'sinatra', '~> 1.0'
gem 'sinatra-advanced-routes'
gem 'sinatra-contrib', '~> 1.0'
Expand Down Expand Up @@ -40,13 +41,15 @@ gem 'unicorn-worker-killer'
gem 'haml', '~> 5.2.2' # pin see https://github.com/ncbo/ontologies_api/pull/107
gem 'redcarpet'

# NCBO
gem 'goo', github: 'ncbo/goo', branch: 'master'

# NCBO gems (can be from a local dev path or from rubygems/git)
gem 'ncbo_annotator', github: 'ncbo/ncbo_annotator', branch: 'master'
gem 'ncbo_cron', github: 'ncbo/ncbo_cron', branch: 'master'
gem 'ncbo_ontology_recommender', github: 'ncbo/ncbo_ontology_recommender', branch: 'master'
gem 'ontologies_linked_data', github: 'ncbo/ontologies_linked_data', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'master'
gem 'goo', github: 'ncbo/goo', branch: 'master'
gem 'ontologies_linked_data', github: 'ncbo/ontologies_linked_data', branch: 'master'


group :development do
# bcrypt_pbkdf and ed35519 is required for capistrano deployments when using ed25519 keys; see https://github.com/miloserdow/capistrano-deploy/issues/42
Expand All @@ -69,9 +72,13 @@ group :profiling do
end

group :test do
gem 'minitest', '~> 4.0'
gem 'crack', '0.4.5'
gem 'minitest', '~> 5.0'
gem 'minitest-hooks', "~> 1.5"
gem 'minitest-stub_any_instance'
gem 'rack-test'
gem 'simplecov', require: false
gem 'simplecov-cobertura' # for codecov.io
gem 'webmock', '~> 3.19.1'
gem 'webrick'
end
Loading