Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
117c31b
split mappings_ontologies method to small functions
syphax-bouazzouni Sep 23, 2022
29862df
fix rest mappings tests
syphax-bouazzouni Dec 17, 2022
363fcb5
Merge branch 'pr/fix/get-rest-mapping-with-prefix-url' into development
syphax-bouazzouni Dec 17, 2022
3d502b7
remove SAME_URI filter exception
syphax-bouazzouni Dec 17, 2022
f403571
fix miss typing variable
syphax-bouazzouni Dec 17, 2022
ad092d5
Merge branch 'upstream' into pr/refactor/simple-refactor-mapping-onto…
syphax-bouazzouni Dec 17, 2022
07eccad
add internal_mapping_predicates
syphax-bouazzouni Dec 17, 2022
a67f638
add internal_mapping_predicates to mappings_ont_build_query
syphax-bouazzouni Dec 17, 2022
b7fd016
if internal_mapping_predicates extract external_ontology from class id
syphax-bouazzouni Dec 17, 2022
769e92f
exrtact ontology mapping only if sub2 is nil
syphax-bouazzouni Sep 26, 2022
44d8506
fix mappings rest tests
syphax-bouazzouni Dec 17, 2022
7fbe880
Merge branch 'pr/refactor/simple-refactor-mapping-ontologies' into pr…
syphax-bouazzouni Dec 17, 2022
c963b7c
resolved ncbo/ncbo_cron/issues#82 - Metrics disappear when the ontolo…
mdorf Dec 12, 2024
b8fbcc7
Merge branch 'develop' of github.com:ncbo/ontologies_linked_data into…
mdorf Dec 12, 2024
7a46e09
Gemfile.lock update
mdorf Dec 12, 2024
f654460
Gemfile.lock update
alexskr Feb 22, 2025
4b22f25
Merge upstream/master into downstream/upstream-merge to resolve
alexskr Feb 22, 2025
fe9c6f4
replace lexvo with a subset of iso639-1; downcase uri
alexskr Feb 25, 2025
8bf9a11
Merge pull request #235 from ncbo/feature/add_MOD_metadata_to_submiss…
alexskr Mar 6, 2025
c5e3a01
Update for Ruby 3.1 compatibility
alexskr Mar 7, 2025
06205c1
generalize Dockerfile and docker-compose setup
alexskr Mar 8, 2025
11c7844
dont use slim distro
alexskr Mar 8, 2025
85e0185
udpate gemspec for better depenency management
alexskr Mar 8, 2025
db4286c
Merge pull request #237 from ncbo/chore/docker-gemspec-improvements
alexskr Mar 10, 2025
7f0e096
Merge remote-tracking branch 'ontoportal/master' into pr/feature/add-…
syphax-bouazzouni Mar 10, 2025
ba9b7a3
update submission extaction to fetch all mod metadata with extraction…
syphax-bouazzouni Mar 10, 2025
72e5f81
add metadata extraction test
syphax-bouazzouni Mar 10, 2025
28e729c
replace URI by uri in the yaml schema file
syphax-bouazzouni Mar 10, 2025
c1bd395
simplify; use defaults
alexskr Mar 11, 2025
67b7c7d
Merge pull request #238 from ncbo/develop
alexskr Mar 11, 2025
affd038
Gemfile.lock update
mdorf Mar 17, 2025
125111c
fixed a pullLocation throwing error even when remote file exists
mdorf Mar 18, 2025
9757cca
Gemfile.lock update
mdorf Mar 18, 2025
8bb09be
fix URI validation issue on saving
syphax-bouazzouni Mar 20, 2025
eb6d356
fix for ncbo/bioportal_web_ui#408
mdorf Mar 20, 2025
867f9bc
feat(ontology_submission): enforce correct permissions on repo files …
alexskr Apr 20, 2025
bf575f8
Merge pull request #240 from ncbo/fix/repository-permissions-modes
alexskr Apr 21, 2025
3b364f1
Merge pull request #241 from ncbo/develop
alexskr Apr 29, 2025
f614b4f
reset branch specifier to master
alexskr Apr 29, 2025
84a323f
Merge remote-tracking branch 'ncbo/master' into pr/feature/extract-in…
syphax-bouazzouni May 9, 2025
95e6afa
Merge remote-tracking branch 'ncbo/master' into pr/feature/add-metada…
syphax-bouazzouni May 9, 2025
52b8cfa
added #158
mdorf May 12, 2025
d1c220d
Merge branch 'ontoportal-lirmm-pr/feature/add-metadata-extraction' in…
mdorf May 12, 2025
a171413
commented out some tests for Agent properties
mdorf May 12, 2025
af6d584
Revert "added #158"
syphax-bouazzouni May 28, 2025
368f975
fix the new metadata extraction tests
syphax-bouazzouni May 28, 2025
051058f
update owlapi wrapper
syphax-bouazzouni Jun 19, 2025
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ migration/test*
*.sublime-workspace

# Rbenv artifacts
.ruby-version
test/test_run.log

# Debug output
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.6
46 changes: 30 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
ARG RUBY_VERSION
ARG DISTRO_NAME=bullseye
ARG RUBY_VERSION=3.1
ARG DISTRO=bullseye

FROM ruby:$RUBY_VERSION-$DISTRO_NAME
FROM ruby:$RUBY_VERSION-$DISTRO

RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
openjdk-11-jre-headless \
raptor2-utils \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
libxml2 \
libxslt-dev \
openjdk-11-jre-headless \
raptor2-utils \
&& rm -rf /var/lib/apt/lists/*

RUN mkdir -p /srv/ontoportal/ontologies_linked_data
RUN mkdir -p /srv/ontoportal/bundle
COPY Gemfile* /srv/ontoportal/ontologies_linked_data/
WORKDIR /app

WORKDIR /srv/ontoportal/ontologies_linked_data
COPY Gemfile* *.gemspec ./

RUN gem update --system
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
RUN bundle install
# Copy only the `version.rb` file to prevent missing file errors!
COPY lib/ontologies_linked_data/version.rb lib/ontologies_linked_data/

COPY . /srv/ontoportal/ontologies_linked_data
#Install the exact Bundler version from Gemfile.lock (if it exists)
RUN gem update --system && \
if [ -f Gemfile.lock ]; then \
BUNDLER_VERSION=$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1 | tr -d ' '); \
gem install bundler -v "$BUNDLER_VERSION"; \
else \
gem install bundler; \
fi

RUN bundle config set --global no-document 'true'
RUN bundle install --jobs 4 --retry 3

COPY . ./

CMD ["bundle", "exec", "rake"]
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
source 'https://rubygems.org'

gemspec

gem 'activesupport', '~> 4'
gem 'addressable', '~> 2.8'
gem 'bcrypt', '~> 3.0'
Expand Down Expand Up @@ -37,6 +39,5 @@ end
gem 'goo', github: 'ncbo/goo', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'master'

gem 'net-ftp'
gem 'public_suffix', '~> 5.1.1'
gem 'net-imap', '~> 0.4.18'
gem 'net-imap', '~> 0.4.18'
80 changes: 51 additions & 29 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/ncbo/goo.git
revision: 39f67ab7fae7675b6ff417ace0ab923e40ffcbcd
revision: b9019ad9e1eb78c74105fc6c6a879085066da17d
branch: master
specs:
goo (0.0.2)
Expand All @@ -24,6 +24,25 @@ GIT
net-http-persistent (= 2.9.4)
rdf (>= 1.0)

PATH
remote: .
specs:
ontologies_linked_data (0.0.1)
activesupport
bcrypt
goo
json
libxml-ruby
multi_json
net-ftp
oj
omni_logger
pony
rack
rack-test
rsolr
rubyzip

GEM
remote: https://rubygems.org/
specs:
Expand All @@ -36,15 +55,15 @@ GEM
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ansi (1.5.0)
ast (2.4.2)
ast (2.4.3)
bcrypt (3.1.20)
bigdecimal (3.1.9)
builder (3.3.0)
childprocess (5.1.0)
logger (~> 1.5)
coderay (1.1.3)
concurrent-ruby (1.3.5)
connection_pool (2.5.0)
connection_pool (2.5.3)
cube-ruby (0.0.3)
daemons (1.4.1)
date (3.4.1)
Expand All @@ -55,31 +74,32 @@ GEM
launchy (>= 2.1, < 4.0)
mail (~> 2.7)
eventmachine (1.2.7)
faraday (2.12.2)
faraday (2.13.1)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
ffi (1.17.2-aarch64-linux-gnu)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
hashie (5.0.0)
htmlentities (4.3.4)
http-accept (1.7.0)
http-cookie (1.0.8)
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json (2.10.1)
json (2.11.3)
json_pure (2.8.1)
language_server-protocol (3.17.0.4)
launchy (3.1.0)
launchy (3.1.1)
addressable (~> 2.8)
childprocess (~> 5.0)
logger (~> 1.6)
libxml-ruby (5.0.3)
logger (1.6.5)
lint_roller (1.1.0)
logger (1.7.0)
macaddr (1.7.2)
systemu (~> 2.6.5)
mail (2.8.1)
Expand All @@ -88,10 +108,10 @@ GEM
net-pop
net-smtp
method_source (1.1.0)
mime-types (3.6.0)
mime-types (3.6.2)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2025.0204)
mime-types-data (3.2025.0422)
mini_mime (1.1.5)
minitest (4.7.5)
minitest-reporters (0.14.24)
Expand All @@ -106,7 +126,7 @@ GEM
net-http (0.6.0)
uri
net-http-persistent (2.9.4)
net-imap (0.4.19)
net-imap (0.4.21)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -116,35 +136,36 @@ GEM
net-smtp (0.5.1)
net-protocol
netrc (0.11.0)
oj (3.16.9)
oj (3.16.10)
bigdecimal (>= 3.0)
ostruct (>= 0.2)
omni_logger (0.1.4)
logger
ostruct (0.6.1)
parallel (1.26.3)
parser (3.3.7.1)
parallel (1.27.0)
parser (3.3.8.0)
ast (~> 2.4.1)
racc
pony (1.13.1)
mail (>= 2.0)
powerbar (2.0.1)
hashie (>= 1.1.0)
prism (1.4.0)
pry (0.15.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.1.1)
racc (1.8.1)
rack (2.2.11)
rack (2.2.13)
rack-test (0.8.3)
rack (>= 1.0, < 3)
rainbow (3.1.1)
rake (10.5.0)
rdf (1.0.8)
addressable (>= 2.2)
redis (5.3.0)
redis (5.4.0)
redis-client (>= 0.22.0)
redis-client (0.23.2)
redis-client (0.24.0)
connection_pool
regexp_parser (2.10.0)
request_store (1.7.0)
Expand All @@ -154,22 +175,24 @@ GEM
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.4.0)
rexml (3.4.1)
rsolr (2.6.0)
builder (>= 2.1.2)
faraday (>= 0.9, < 3, != 2.0.0)
rubocop (1.71.2)
rubocop (1.75.4)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.38.0, < 2.0)
rubocop-ast (>= 1.44.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.38.0)
parser (>= 3.3.1.0)
rubocop-ast (1.44.1)
parser (>= 3.3.7.2)
prism (~> 1.4)
ruby-progressbar (1.13.0)
rubyzip (1.3.0)
simplecov (0.22.0)
Expand All @@ -194,15 +217,14 @@ GEM
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.2)
uri (1.0.3)
uuid (2.3.9)
macaddr (~> 1.0)

PLATFORMS
aarch64-linux
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand All @@ -217,10 +239,10 @@ DEPENDENCIES
minitest (~> 4)
minitest-reporters (>= 0.5.0)
multi_json (~> 1.0)
net-ftp
net-imap (~> 0.4.18)
oj (~> 3.0)
omni_logger
ontologies_linked_data!
pony
pry
public_suffix (~> 5.1.1)
Expand All @@ -238,4 +260,4 @@ DEPENDENCIES
thin

BUNDLED WITH
2.4.22
2.6.3
Empty file modified bin/owlapi-wrapper-1.4.2.jar
100644 → 100755
Empty file.
Binary file added bin/owlapi-wrapper-1.4.3.jar
Binary file not shown.
Loading