Skip to content
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

Feature: Align with AgroPortal API #17

Draft
wants to merge 1,087 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1087 commits
Select commit Hold shift + click to select a range
4609ce3
Merge remote-tracking branch 'origin/development' into development
syphax-bouazzouni Mar 7, 2023
366f696
migrate submission attributes metadata to a yaml scheme file
syphax-bouazzouni Mar 7, 2023
927e9cd
migrate submission types enforce to the type section
syphax-bouazzouni Mar 7, 2023
5b0461c
update ontology submission types and validators
syphax-bouazzouni Mar 8, 2023
feb8631
add metadata information to some attributes of ontology submission
syphax-bouazzouni Mar 8, 2023
525b7d7
fix a typo in ontology submission curatedOn attribute validator
syphax-bouazzouni Mar 8, 2023
fb23140
reading language value from request query parameter called 'language'
haddadzineddine Mar 10, 2023
759b032
Merge branch 'development' into feature/add-request-language-to-context
haddadzineddine Mar 10, 2023
c98181d
update the metadata extractor to handle the new goo validators
syphax-bouazzouni Mar 14, 2023
a6be2d1
fix tests to handle the new ontology submission validators
syphax-bouazzouni Mar 14, 2023
96980a4
force averageChildCount metrics to be a float
syphax-bouazzouni Mar 14, 2023
fb608fc
remove the ontology_submission creationDate attribute default value
syphax-bouazzouni Mar 14, 2023
b7882b5
disable extractedMeta the keyClasses and exampleIdentifier attributes
syphax-bouazzouni Mar 15, 2023
ee11b66
remove unique validator fro the URI attribute
syphax-bouazzouni Mar 15, 2023
1055e41
make exampleIdentifier default the first class of the ontology
syphax-bouazzouni Mar 15, 2023
6cd7380
add enforce_symmetric_ontologies proc validator test
syphax-bouazzouni Mar 16, 2023
3bf80d7
implment enforce_symmetric_ontologies proc validator
syphax-bouazzouni Mar 16, 2023
15bf781
use enforce_symmetric_ontologies proc validator for som submission attrs
syphax-bouazzouni Mar 16, 2023
84171b8
move ontology_submission_validators tests to a seperate file
syphax-bouazzouni Mar 16, 2023
218c17e
add status_align_callbacks tests
syphax-bouazzouni Mar 16, 2023
60620e9
implement submission status align callbacks
syphax-bouazzouni Mar 16, 2023
1fdcf91
add the new two status onUpdate callback to the submission attribute
syphax-bouazzouni Mar 16, 2023
3c33494
remove the old enforce_symmetric_ontologies from the submission tests
syphax-bouazzouni Mar 16, 2023
ad41744
implement submission retired validators and callback
syphax-bouazzouni Mar 16, 2023
13ad051
use submission retired validators and callbacks
syphax-bouazzouni Mar 16, 2023
187362b
add submission retired status validators and callbacks tests
syphax-bouazzouni Mar 16, 2023
75e16ec
add submission modification_date_previous_align validator test
syphax-bouazzouni Mar 16, 2023
4b1ccea
implement modification_date_previous_align validator
syphax-bouazzouni Mar 16, 2023
b932edc
refactor validators module to extract the callback module
syphax-bouazzouni Mar 16, 2023
8599476
add submission test_has_prior_version_callback
syphax-bouazzouni Mar 16, 2023
d3b8daa
implement and use include_previous_submission onUpdate callback
syphax-bouazzouni Mar 16, 2023
555c01b
add ontology update_submissions_has_part test
syphax-bouazzouni Mar 16, 2023
09d2239
implement and use ontology update_submissions_has_part callback
syphax-bouazzouni Mar 16, 2023
ee3eb03
implement and use submission include_ontology_views validator
syphax-bouazzouni Mar 16, 2023
0d17cfd
Update ontology_submission.yml
hibadjebabria169 Mar 16, 2023
c0bf105
Update Gemfile.luck to get the new version of Goo
syphax-bouazzouni Mar 17, 2023
cc31ab0
fix some syntax issue the ontology_submission.yml file
syphax-bouazzouni Mar 17, 2023
012031e
Merge pull request #73 from ontoportal-lirmm/feature/add-request-lang…
syphax-bouazzouni Mar 17, 2023
100798b
add submission inverse ontology properties callbacks tests
syphax-bouazzouni Mar 17, 2023
70d1c21
implement and use ontology_inverse_of callback for useImports and usedBy
syphax-bouazzouni Mar 17, 2023
556ab81
Update ontology_submission.yml
hibadjebabria169 Mar 17, 2023
6f59790
refactor and reorder submission attributes and group them by category
syphax-bouazzouni Mar 19, 2023
468ea2b
disable metadata extraction for hasOntologyLanguage attribute
syphax-bouazzouni Mar 19, 2023
8d9fd29
update Gemfile.lock to get the latest version of Goo
syphax-bouazzouni Mar 19, 2023
d8f89d0
fix syntax issues in the ontology_submission.yml file
syphax-bouazzouni Mar 19, 2023
ecd70f9
enable submission creationDate automatic extraction
syphax-bouazzouni Mar 19, 2023
b0b5638
implement and use lexvo_language validator
syphax-bouazzouni Mar 19, 2023
f1bc801
add submission lexvo_language_validator test
syphax-bouazzouni Mar 19, 2023
9aadc69
remove no more needed concatenate, textarea and isOntology attributes…
syphax-bouazzouni Mar 19, 2023
1b3fb68
remove submission metrics attributes and move them to the metrics model
syphax-bouazzouni Mar 19, 2023
9101dfc
set the default values callbacks to submissions attributes
syphax-bouazzouni Mar 19, 2023
6c0b4b8
don't show request language if @context is not enabled
syphax-bouazzouni Mar 20, 2023
7ea948c
Merge branch 'feature/add-request-language-to-context' into development
syphax-bouazzouni Mar 20, 2023
18c1daa
Merge branch 'development' into feature/migrate-attrbiutes-metadata-t…
syphax-bouazzouni Mar 20, 2023
f619cc8
Accrual periodicity values
hibadjebabria169 Mar 20, 2023
f227166
IncludedInDataCatalog : enforcedValues
hibadjebabria169 Mar 20, 2023
1e6886b
apply for some submission attributes ontologies_inverse_of callback
syphax-bouazzouni Mar 20, 2023
bf464ca
Add metadataMappings to properties
hibadjebabria169 Mar 24, 2023
0110364
Add metadataMappings values
hibadjebabria169 Mar 24, 2023
166a131
Add missing properties (Object description properties) & pullLocation
hibadjebabria169 Mar 27, 2023
c13637e
Add obsoleteParent property
hibadjebabria169 Mar 27, 2023
f903e52
Add Missing Metrics properties
hibadjebabria169 Mar 27, 2023
5ebbfc7
fix json serializer nil exception (#79)
RaimiSol Mar 30, 2023
f2168c8
Merge branch 'master' into development
syphax-bouazzouni Apr 28, 2023
8e6d9d0
add some metrics attributes as embed values for Submissions
syphax-bouazzouni May 1, 2023
ab816a3
prevent a bug when an embed object is null (e.g submission with no m…
syphax-bouazzouni May 1, 2023
4ac9873
Merge pull request #82 from ontoportal-lirmm/feature/embed-meterics-f…
syphax-bouazzouni May 1, 2023
24ff1cc
Feature: return requested languages in @language - part 2 - multiple …
haddadzineddine May 10, 2023
7d26b4e
Merge branch 'development' into feature/add-requested-language-to-con…
haddadzineddine May 17, 2023
3f528a4
add get_languages and get_submission_languages helpers
haddadzineddine May 17, 2023
a6ccc9f
use get_languages helper to get the current context language
haddadzineddine May 17, 2023
e9bc9a9
extract get_language helper to get the requested language
haddadzineddine May 17, 2023
7e343bb
Merge branch 'development' into feature/add-request-language-to-context
haddadzineddine May 17, 2023
52bec13
Merge pull request #83 from ontoportal-lirmm/feature/add-request-lang…
syphax-bouazzouni May 17, 2023
2ce2afe
get serialized object submission only if include 'submission' attribu…
syphax-bouazzouni May 25, 2023
a27864c
call to read_restricted? only if instance_to_base_on not nil
syphax-bouazzouni May 31, 2023
0ddc070
Merge pull request #86 from ontoportal-lirmm/fix/read_restricted_base…
syphax-bouazzouni May 31, 2023
7cae43a
remove duplicated gzip? function
syphax-bouazzouni May 31, 2023
6874cbd
add zip_file function to the file utilities module
syphax-bouazzouni May 31, 2023
dd766f4
add archiving submission zipping old uploadedFile file test
syphax-bouazzouni May 31, 2023
3498aed
add removing archived submission unzipped folder test
syphax-bouazzouni May 31, 2023
5ca8653
implement and extract the new archive action in the submission process
syphax-bouazzouni May 31, 2023
d0e916d
prevent interconnected tests of zipped_submission process tests
syphax-bouazzouni May 31, 2023
3296b59
Merge pull request #87 from ontoportal-lirmm/fix/achived-submission-s…
syphax-bouazzouni Jun 14, 2023
9d91c7a
add archiving file size threshold for zipping uploaded file
syphax-bouazzouni Jun 14, 2023
a89a452
Merge branch 'fix/achived-submission-space-optimization' into develop…
syphax-bouazzouni Jun 15, 2023
ffc7b3e
Merge branch 'development' into feature/migrate-attrbiutes-metadata-t…
syphax-bouazzouni Jun 15, 2023
62a9be9
fix ontology submission yaml file syntax issues
syphax-bouazzouni Jun 15, 2023
5c39fcb
Merge pull request #72 from ontoportal-lirmm/feature/migrate-attrbiut…
syphax-bouazzouni Jun 15, 2023
190ed43
add AgentIdentifier model
syphax-bouazzouni Jun 15, 2023
fcb6799
add FOAF Agent model
syphax-bouazzouni Jun 15, 2023
1f5063f
update submission person and organization attributes to use Agent model
syphax-bouazzouni Jun 15, 2023
14b7b6b
update Agent model to enforce name to be unique and an auto generated ID
syphax-bouazzouni Jun 15, 2023
6f72110
disable extracting metadata for attributes of type
syphax-bouazzouni Jun 15, 2023
5439e70
rename Agent 'type' to 'agentType' to not conflicts with JSON-LD @type
syphax-bouazzouni Jun 15, 2023
2d2b421
remove property: :pageHome form Agent model because it does not exist
syphax-bouazzouni Jun 15, 2023
453f56c
make identifier model embded true
syphax-bouazzouni Jun 16, 2023
26315bc
add read write access rules for agent and identifier models
syphax-bouazzouni Jun 16, 2023
0b01ef3
remove firstName and lastName attribute from Agent model
syphax-bouazzouni Jun 18, 2023
d766f88
enforce Agent affiliations to be all of type Organization
syphax-bouazzouni Jun 18, 2023
f1edac8
enforce Identifier notation attribute to not be a URL
syphax-bouazzouni Jun 18, 2023
ca7b3af
add agent test for creation validity
syphax-bouazzouni Jun 18, 2023
6715128
enforce to show all attributes of the embed affiliations of Agents
syphax-bouazzouni Jun 19, 2023
eadedd0
add show_with_language param
haddadzineddine Jun 20, 2023
1cb2c73
update get_submission_languages
haddadzineddine Jun 20, 2023
ebb02ce
change identifier id to make be schemaAgency + notation
syphax-bouazzouni Jun 29, 2023
e980b8d
make agent identifiers list unique
syphax-bouazzouni Jun 29, 2023
3a3ddb2
make agent email attribute unique
syphax-bouazzouni Jun 29, 2023
c31d44f
make agent name no more unique
syphax-bouazzouni Jun 29, 2023
9e1e367
change agent affiliations attribute namespace to org:memberOf
syphax-bouazzouni Jun 29, 2023
596dc90
fix identifier id to be nil if notation or agentType empty
syphax-bouazzouni Jun 29, 2023
5701ad4
make email agent attribute optional
syphax-bouazzouni Jul 8, 2023
1911ef2
add is_organizaion validator to agent and submission affiliation attr…
syphax-bouazzouni Jul 8, 2023
3abd9ae
Merge pull request #91 from ontoportal-lirmm/support-multi-lang-part-02
syphax-bouazzouni Jun 28, 2023
e1b9af7
fix the class portal language test for the new multilanagual support
syphax-bouazzouni Jul 14, 2023
09a3f48
optimize request and portal lang tests by parsing the test ontology once
syphax-bouazzouni Jul 14, 2023
56b88e6
add test request all languages unit test
syphax-bouazzouni Jul 14, 2023
707b69d
use the new getters argument to show languages
syphax-bouazzouni Jul 14, 2023
f63ccf7
Merge branch 'development' into support-multi-lang-part-02
syphax-bouazzouni Jul 14, 2023
b1863f9
fix skos xl tests after the new multilangual support
syphax-bouazzouni Jul 14, 2023
e1ea76d
Merge pull request #93 from ontoportal-lirmm/support-multi-lang-part-02
syphax-bouazzouni Jul 14, 2023
4f09fb6
add test for multilingual terms indexation and search
syphax-bouazzouni Jul 14, 2023
0c4ba8c
update SOLR terms schema to add dynamicFields for values in all langs
syphax-bouazzouni Jul 14, 2023
7aaf942
make the indexation use map_attributes with include_languages enabled
syphax-bouazzouni Jul 14, 2023
9dd8db7
override the Ressource to_hash method in Class model to
syphax-bouazzouni Jul 14, 2023
8280ded
update the indexed document of a class model to include the dynamic …
syphax-bouazzouni Jul 14, 2023
cba5930
rename the getters to show_all_languages argument to include_languages
syphax-bouazzouni Jul 14, 2023
50619e6
Merge pull request #94 from ontoportal-lirmm/feature/support-multi-la…
syphax-bouazzouni Jul 20, 2023
2f51f55
add is_person validator to hasCreator and hasContributor attributes
syphax-bouazzouni Jul 29, 2023
4fdcbc3
embed all agents attributes for the submission model
syphax-bouazzouni Jul 29, 2023
9e8ab6c
fix submission deprecate_previous_submissions callback when no valid
syphax-bouazzouni Jul 27, 2023
04dc114
Merge branch 'development' into feature/add-persons-and-organization-…
syphax-bouazzouni Jul 30, 2023
32d4bb2
Merge pull request #90 from ontoportal-lirmm/feature/add-persons-and-…
syphax-bouazzouni Jul 30, 2023
e0e4335
refactor submission agent validators to extract common logic
syphax-bouazzouni Jul 31, 2023
98178fa
Merge remote-tracking branch 'origin/feature/add-persons-and-organiza…
syphax-bouazzouni Jul 31, 2023
08187ca
Merge branch 'feature/add-persons-and-organization-models' into devel…
syphax-bouazzouni Jul 31, 2023
5b910c8
update the include_ontology_views validator to test prefixed url id
syphax-bouazzouni Jul 31, 2023
2fa4299
add Agent type to submission endorsedBy attribute
syphax-bouazzouni Jul 31, 2023
43a1510
remove URI type of submission usedOntologyEngineeringTool attribute
syphax-bouazzouni Jul 31, 2023
8139d6c
Merge branch 'feature/add-persons-and-organization-models' into devel…
syphax-bouazzouni Jul 31, 2023
40e3d0c
remove class type for exampleIdentifier and keyClasses attributes
syphax-bouazzouni Aug 1, 2023
ec1e02d
Merge branch 'feature/add-persons-and-organization-models' into devel…
syphax-bouazzouni Aug 1, 2023
f260f6a
check if object.class respond to attributes before calling it
syphax-bouazzouni Aug 3, 2023
e15150e
check if the attribute method is a getter and not serialized method
syphax-bouazzouni Aug 3, 2023
fed3fa9
Merge branch 'feature/support-multi-langual-search' into development
syphax-bouazzouni Aug 3, 2023
c63460a
check if the attribute method is a getter and not serialized method
syphax-bouazzouni Aug 3, 2023
9168b6f
Merge branch 'feature/support-multi-langual-search' into development
syphax-bouazzouni Aug 5, 2023
2faf21b
use the same populate method as the attribute to show languages in pr…
syphax-bouazzouni Aug 5, 2023
7e799ff
Merge branch 'feature/support-multi-langual-search' into development
syphax-bouazzouni Aug 5, 2023
ab7ed5d
use the same populate method as the attribute to show languages in pr…
syphax-bouazzouni Aug 5, 2023
310b681
Merge branch 'feature/support-multi-langual-search' into development
syphax-bouazzouni Aug 5, 2023
26eee93
Fix bug in authorization.rb
syphax-bouazzouni Apr 14, 2023
a83e927
Improved support for OAuth 2.0 and SSO
syphax-bouazzouni Apr 14, 2023
6895dfd
bundle add oauth2
syphax-bouazzouni Apr 14, 2023
1d063e1
remove duplicate find_apikey in the authorization call
syphax-bouazzouni May 27, 2023
97934a9
add find_access_token method oauth2 authorization
syphax-bouazzouni May 27, 2023
502c376
add the unauthorized message the alternative text if oath2 enabled
syphax-bouazzouni May 27, 2023
c856310
add user oauth2 tests
syphax-bouazzouni Aug 3, 2023
41b89b9
enforce user email attribute to be unique
syphax-bouazzouni Aug 3, 2023
50a5d15
on user save (creation) send a notification if enabled in the arguments
syphax-bouazzouni Aug 3, 2023
7c9a7cc
add oauth2 providers configs
syphax-bouazzouni Aug 3, 2023
dc73cfa
implement oauth2 providers token authentification
syphax-bouazzouni Aug 3, 2023
93d7ddd
remove access token authorization to use only apikeys methods
syphax-bouazzouni Aug 3, 2023
afe1d02
fix tests after enforcing user email uniqueness
syphax-bouazzouni Aug 3, 2023
e4b3a6d
override security when sync user with an external provider
syphax-bouazzouni Aug 4, 2023
eed7c46
Merge pull request #95 from ontoportal-lirmm/feature/add-multi-provid…
syphax-bouazzouni Aug 21, 2023
d245da4
fix update_submissions_has_part callback to check if valid before saving
syphax-bouazzouni Aug 22, 2023
c96708f
Merge branch 'feature/migrate-attrbiutes-metadata-to-scheme-file' int…
syphax-bouazzouni Aug 22, 2023
4c89c83
Merge remote-tracking branch 'origin/development' into development
syphax-bouazzouni Aug 22, 2023
66e562d
add uri type enforcement to submission URI attribute
syphax-bouazzouni Sep 7, 2023
ad8bb86
disable attributes onUpdate callbacks feature
syphax-bouazzouni Sep 7, 2023
e3be9ae
fix URI extraction process to enforce RDF::URI instead of string
syphax-bouazzouni Sep 7, 2023
ed2feaa
fix test after URI enforced to be URI
syphax-bouazzouni Sep 8, 2023
1204ede
Merge pull request #98 from ontoportal-lirmm/fix/disable-some-new-mod…
syphax-bouazzouni Sep 8, 2023
5973e84
disable complex attriubtes validators and callbacks
syphax-bouazzouni Oct 10, 2023
04d053f
Update Object description properties
jonquet Oct 11, 2023
71a8414
Remove enforced values for pullLocation
jonquet Oct 11, 2023
a60b483
fix ontology submission attributes categories
syphax-bouazzouni Oct 12, 2023
dcf9c06
disable complex validators tests
syphax-bouazzouni Oct 12, 2023
f2e41eb
Merge branch 'development' into feature/disable-new-validators
syphax-bouazzouni Oct 12, 2023
f44f7ba
fix json serializer nil exception (#79)
RaimiSol Mar 30, 2023
f61e8f2
Merge pull request #100 from ontoportal-lirmm/feature/disable-new-val…
syphax-bouazzouni Oct 12, 2023
e5da5b5
embed for submission model all the attributes of the object metrics
syphax-bouazzouni Oct 20, 2023
57599ca
Merge pull request #104 from ontoportal-lirmm/feature/migrate-attrbiu…
syphax-bouazzouni Oct 20, 2023
e9ff8c1
Fix: ontology submission metadata file rework (#108)
jonquet Nov 1, 2023
b49ad10
add usage method to the agent models (#109)
syphax-bouazzouni Nov 3, 2023
22d5fdb
Fix multiple errors and syntax bugs in ontology_submission.ym file (#…
jonquet Nov 7, 2023
7d16b7b
Fix: optimize fetch all agents usages query (#111)
syphax-bouazzouni Nov 8, 2023
4c7dfa8
Fix: the lexvo language validator to no check the iso version (#112)
syphax-bouazzouni Nov 13, 2023
82fffaa
Fix: login auth type mail options (#113)
galviset Nov 22, 2023
7d3359b
Fix: login auth type mail options (#113)
galviset Nov 22, 2023
a199eff
Fix: ontology submisison "includedInDataCatalog" and "accrualMethod" …
syphax-bouazzouni Nov 24, 2023
aa5081d
Merge to master: Release 2.4.2 - Multilingual & Submission compressio…
syphax-bouazzouni Dec 5, 2023
c20e1d3
Merge to master: Release 2.4.3 - New metadata model (#97)
syphax-bouazzouni Dec 5, 2023
9dd8d03
Merge branch 'master' into development
syphax-bouazzouni Dec 5, 2023
80a331d
Merge to master - Release 2.4.4 (#81)
syphax-bouazzouni Dec 5, 2023
1cfaf44
Fix: update submission yaml file for released, creationDate, uriRegex…
syphax-bouazzouni Dec 6, 2023
1af13e4
update the class index_doc to not save arrays for no multi_language_f…
syphax-bouazzouni Dec 13, 2023
e128d44
fix agent load usages sparql query taking too much time
syphax-bouazzouni Dec 16, 2023
2878f43
Merge branch 'development'
syphax-bouazzouni Dec 16, 2023
e98b884
update submission_processed notification to add invalidate_cache para…
syphax-bouazzouni Dec 20, 2023
c6d681d
Fix: Google analytics new version and add users analytics (#118)
syphax-bouazzouni Dec 28, 2023
95e7798
update Goo and add test to catch the case of single value props choos…
syphax-bouazzouni Feb 7, 2024
2bc3c98
Merge to master: Release 2.6.0 - Multi-backend stores integrations, I…
syphax-bouazzouni May 22, 2024
0209a89
fix note email URL (#138)
Bilelkihal May 29, 2024
cc16568
feature: use latest version of owlapi wrapper v1.4.3
syphax-bouazzouni May 28, 2024
a5b56a6
fix user creation notification and add unit test for it (#140)
syphax-bouazzouni Jun 26, 2024
e785635
Merge to master: Release 2.5.2 - fix note broken link and no owl:Onto…
syphax-bouazzouni Jun 26, 2024
4cd56da
Fix: show multiple languages tags (#141)
syphax-bouazzouni Jun 28, 2024
03a4e2e
fix: remove default value of submission obsoleteParent (#144)
syphax-bouazzouni Jul 19, 2024
a27cbfa
fix uppercase Ids in the api json (#149)
Bilelkihal Jul 23, 2024
8123ae6
Feature: add agent links to ontology model (#145)
syphax-bouazzouni Jul 23, 2024
dd73ab0
Fix: remove enforced values of agents type (person | organization) in…
Bilelkihal Jul 25, 2024
f0098d7
Feature: Make notes url open in the ontology notes interface instead …
Bilelkihal Jul 25, 2024
c4dbcc1
Feature: Add range and domain attributes for properties models (#150)
syphax-bouazzouni Jul 25, 2024
f8131ab
change dataDump default value to not use the rdf version
syphax-bouazzouni Jul 25, 2024
05c1bfc
Merge pull request #151 from ontoportal-lirmm/fix/data-dump-default-v…
Bilelkihal Jul 31, 2024
ca79d5a
Revert "fix uppercase Ids in the api json (#149)" (#153)
syphax-bouazzouni Aug 1, 2024
552fbe5
Merge branch 'master' into development
syphax-bouazzouni Aug 5, 2024
5f58b03
Merge pull request #148 from ontoportal-lirmm/development
syphax-bouazzouni Aug 5, 2024
9605eb4
Fix: Metadata extraction of erronous values and Agent extraction (#154)
syphax-bouazzouni Aug 22, 2024
651d2f4
Feature: add Brazilian to the enforced values of submission language …
syphax-bouazzouni Sep 5, 2024
be47dfd
Feature: Add portal configuration model reading from config file (#155)
syphax-bouazzouni Sep 16, 2024
0638717
Feature: add mappings to contextual API links (#158)
muhammedBkf Sep 29, 2024
f7ee9f1
Fix : prevent serialization of attributes tagged as :serialize_never …
muhammedBkf Oct 1, 2024
07143c4
Feature: make parent category multiple values (#162)
Bilelkihal Oct 9, 2024
25819bc
Fix : Prevent potential Local File Inclusion by ensuring filename use…
muhammedBkf Oct 9, 2024
0a45655
Feature: Parse xml diff files into a model (#161)
syphax-bouazzouni Oct 19, 2024
ca9a0e3
Merge pull request #160 from ontoportal-lirmm/development
syphax-bouazzouni Oct 22, 2024
793c4fd
Fix: issue when generating multilingual missing labels (#164)
syphax-bouazzouni Oct 24, 2024
e98f1e7
implemented ncbo/ontologies_api#127 - Add API call to trigger ontolog…
syphax-bouazzouni Oct 25, 2024
5ff7265
Merge remote-tracking branch 'origin/development' into development
syphax-bouazzouni Oct 25, 2024
c0f8697
add attribute for storing reset token expire time
alexskr Feb 6, 2024
ac83f5b
Merge pull request #165 from ontoportal-lirmm/development
syphax-bouazzouni Oct 26, 2024
4f0c628
add unit test for filtering class children by a scheme
syphax-bouazzouni Oct 30, 2024
4efb558
implement submission class children function
syphax-bouazzouni Oct 30, 2024
312ef42
Feature: filter class children by a scheme (#166)
syphax-bouazzouni Oct 30, 2024
143fa1c
Merge remote-tracking branch 'origin/development' into development
syphax-bouazzouni Nov 2, 2024
c20e7b3
Fix: Goo attributes loader helper after nerver serialize patch (#168)
syphax-bouazzouni Nov 9, 2024
e3cf988
Fix: Build tree threshold max issue (#169)
syphax-bouazzouni Nov 9, 2024
de2e01b
Fix: zombie mapping count (#167)
syphax-bouazzouni Nov 10, 2024
aff7843
fix typo in user model `resetTokenExpireTime` attribute (#170)
muhammedBkf Nov 26, 2024
90e3e4f
Merge pull request #171 from ontoportal-lirmm/development
imadbourouche Nov 28, 2024
6fd6960
Fix: Export jsonld content error if literals has a / or # (#173)
imadbourouche Dec 10, 2024
838c92c
Merge pull request #174 from ontoportal-lirmm/development
syphax-bouazzouni Dec 12, 2024
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
e26859c
Merge pull request #231 from ncbo/develop
alexskr Dec 13, 2024
97921b2
Merge branch 'master' into pr/align-with-agroportal-12-24
syphax-bouazzouni Dec 17, 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
4 changes: 3 additions & 1 deletion .github/workflows/ruby-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
strategy:
fail-fast: false
matrix:
backend: ['ruby', 'ruby-agraph'] # ruby runs tests with 4store backend and ruby-agraph runs with AllegroGraph backend
goo-slice: [ '20', '100', '500' ]
ruby-version: [ '2.7' ]
triplestore: [ 'fs', 'ag', 'vo', 'gb' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY Gemfile* /srv/ontoportal/ontologies_linked_data/

WORKDIR /srv/ontoportal/ontologies_linked_data

RUN gem update --system
RUN gem update --system 3.4.22 # the 3.4.22 can be removed if we support Ruby version > 3.0
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
RUN bundle install
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ group :development do
gem 'rubocop', require: false
end
# NCBO gems (can be from a local dev path or from rubygems/git)
gem 'goo', github: 'ncbo/goo', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'master'
gem 'goo', github: 'ontoportal-lirmm/goo', branch: 'development'
gem 'sparql-client', github: 'ontoportal-lirmm/sparql-client', branch: 'development'
67 changes: 40 additions & 27 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ GIT
goo (0.0.2)
addressable (~> 2.8)
pry
rdf (= 1.0.8)
rdf (= 3.2.11)
rdf-raptor
rdf-rdfxml
rdf-vocab
redis
request_store
rest-client
Expand All @@ -19,10 +22,9 @@ GIT
revision: e89c26aa96f184dbe9b52d51e04fb3d9ba998dbc
branch: master
specs:
sparql-client (1.0.1)
json_pure (>= 1.4)
net-http-persistent (= 2.9.4)
rdf (>= 1.0)
sparql-client (3.2.2)
net-http-persistent (~> 4.0, >= 4.0.2)
rdf (~> 3.2, >= 3.2.11)

GEM
remote: https://rubygems.org/
Expand All @@ -37,7 +39,6 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
ansi (1.5.0)
ast (2.4.2)
base64 (0.2.0)
bcrypt (3.1.20)
bigdecimal (3.1.8)
builder (3.3.0)
Expand All @@ -48,35 +49,37 @@ GEM
connection_pool (2.4.1)
cube-ruby (0.0.3)
daemons (1.4.1)
date (3.4.0)
date (3.4.1)
docile (1.4.1)
domain_name (0.6.20240107)
email_spec (2.3.0)
htmlentities (~> 4.3.3)
launchy (>= 2.1, < 4.0)
mail (~> 2.7)
eventmachine (1.2.7)
faraday (2.8.1)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.0)
ffi (1.17.0-arm64-darwin)
hashie (5.0.0)
htmlentities (4.3.4)
http-accept (1.7.0)
http-cookie (1.0.7)
http-cookie (1.0.8)
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json (2.8.2)
json (2.9.0)
json_pure (2.8.1)
language_server-protocol (3.17.0.3)
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
libxml-ruby (5.0.3)
logger (1.6.1)
logger (1.6.2)
macaddr (1.7.2)
systemu (~> 2.6.5)
mail (2.8.1)
Expand All @@ -88,7 +91,7 @@ GEM
mime-types (3.6.0)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2024.1105)
mime-types-data (3.2024.1203)
mini_mime (1.1.5)
minitest (4.7.5)
minitest-reporters (0.14.24)
Expand All @@ -97,6 +100,8 @@ GEM
minitest (>= 2.12, < 5.0)
powerbar
multi_json (1.15.0)
net-http (0.6.0)
uri
net-http-persistent (2.9.4)
net-imap (0.4.18)
date
Expand Down Expand Up @@ -125,7 +130,7 @@ GEM
pry (0.15.0)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.1.1)
public_suffix (6.0.1)
racc (1.8.1)
rack (2.2.10)
rack-test (0.8.3)
Expand All @@ -136,9 +141,9 @@ GEM
addressable (>= 2.2)
redis (5.3.0)
redis-client (>= 0.22.0)
redis-client (0.22.2)
redis-client (0.23.0)
connection_pool
regexp_parser (2.9.2)
regexp_parser (2.9.3)
request_store (1.7.0)
rack (>= 1.4)
rest-client (2.1.0)
Expand All @@ -150,20 +155,19 @@ GEM
rsolr (2.6.0)
builder (>= 2.1.2)
faraday (>= 0.9, < 3, != 2.0.0)
rubocop (1.68.0)
rubocop (1.69.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.36.1)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.2)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (1.3.0)
simplecov (0.22.0)
docile (~> 1.1)
Expand All @@ -182,9 +186,16 @@ GEM
thread_safe (0.3.6)
timeout (0.4.2)
tzinfo (0.3.62)
unicode-display_width (2.6.0)
unicode-display_width (3.1.2)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.2)
uuid (2.3.9)
macaddr (~> 1.0)
webmock (3.24.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)

PLATFORMS
aarch64-linux
Expand All @@ -206,6 +217,7 @@ DEPENDENCIES
multi_json (~> 1.0)
oj (~> 3.0)
omni_logger
parallel (~> 1.24)
pony
pry
rack
Expand All @@ -220,6 +232,7 @@ DEPENDENCIES
simplecov-cobertura
sparql-client!
thin
webmock

BUNDLED WITH
2.4.22
2.5.11
61 changes: 61 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,69 @@
ontologies_linked_data
======================

## TODO

DONE: Quand ces champs ne sont pas remplis, faut mettre les valeurs par défaut (skos:prefLabel, skos:altLabel)
```ruby
"prefLabelProperty": null,
"definitionProperty": null,
"synonymProperty": null,
"authorProperty": null,
"hierarchyProperty": null,
"obsoleteProperty": null,
"obsoleteParent": null
```

On pourrait aussi peupler seul exampleIdentifier (on prend l'URI d'une classe au pif dans l'ontology)

On pourrait générer également useImports avec les URI des owl:imports

uriregexpattern: uri de l'ontology (où on vire la fin et on met sous forme de regex)

### Not valid property names

Property names with - in it are not valid.

Causing the following error:

```
NameError - `@bug-database' is not allowed as an instance variable name:
/usr/local/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bundler/gems/goo-7bbbb557d9f2/lib/goo/base/resource.rb:203:in `instance_variable_set'
/usr/local/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bundler/gems/goo-7bbbb557d9f2/lib/goo/base/resource.rb:203:in `block in bring'
```


## Unit test status

Unit test status:
- master branch: [![Build Status](https://bmir-jenkins.stanford.edu/buildStatus/icon?job=NCBO_OntLD_MasterTest)](https://bmir-jenkins.stanford.edu/job/NCBO_OntLD_MasterTest/)
- staging branch: [![Build Status](https://bmir-jenkins.stanford.edu/buildStatus/icon?job=NCBO_OntLD_StagingTest)](https://bmir-jenkins.stanford.edu/job/NCBO_OntLD_StagingTest/)

Models and serializers for ontologies and related artifacts backed by 4store

This is a component of the NCBO [ontologies_api](https://github.com/ncbo/ontologies_api).


## Add a new namespace in GOO for properties

To add new namespaces used in the `Goo.vocabulary` go to `lib/ontologies_linked_data/config/config.rb`

And use the GOO `add_namespace` method. For example:

```ruby
Goo.configure do |conf|
conf.add_namespace(:omv, RDF::Vocabulary.new("http://omv.ontoware.org/2005/05/ontology#"))
end
```

* To iterate other the namespaces
```ruby
Goo.namespaces.each do |prefix,uri|
puts "#{prefix}: #{uri}"
end
```

* To resolve a namespace
```ruby
Goo.vocabulary(:omv).to_s
```
Binary file added bin/bubastis-1.4.0.jar
Binary file not shown.
Binary file removed bin/bubastis.jar
Binary file not shown.
1 change: 1 addition & 0 deletions bin/bubastis.jar
Binary file added bin/bubastis_1_3.jar
Binary file not shown.
8 changes: 4 additions & 4 deletions bin/bubastis_readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Bubastis is an ontology change tool which is able to analyse two ontologies (typ


Usage:
java -jar bubastis_1_2.jar parameters:
java -jar bubastis.jar parameters:
(required) -ontology1 location of ontology 1 either a URL for an ontology on the web or a local file location in obo or owl format. Typically the older version of the ontologies being compared
(required) -ontology2 location of ontology 2 either a URL or local file location of an obo or owl format ontology. Typically the newer version of the ontologies being compared.
(optional) -output location of output file to send results, default is to console.
Expand All @@ -15,10 +15,10 @@ java -jar bubastis_1_2.jar parameters:

Examples:
Loading two files locally and outputting results to console:
java -jar bubastis_1_2.jar -ontology1 "H://obi_nov_08.owl" -ontology2 "H://obi_jan_09.owl"
java -jar bubastis.jar -ontology1 "H://obi_nov_08.owl" -ontology2 "H://obi_jan_09.owl"

Loading two files locally and output results to xml file with an xslt location inserted into header
java -jar bubastis_1_2.jar -1 "H://obi_nov_08.owl" -2 "H://obi_jan_09.owl" -output "H://OBIdiff.xml" -format xml -xslt "./stylesheets/bubastis.xslt"
java -jar bubastis.jar -1 "H://obi_nov_08.owl" -2 "H://obi_jan_09.owl" -output "H://OBIdiff.xml" -format xml -xslt "./stylesheets/bubastis.xslt"

Loading one file locally and one from the web and outputting results to plain text:
java -jar bubastis_1_2.jar -ontology1 "H://disease_ontology_version_1.owl" -ontology2 "http://www.disease.org/diseaseontology_latest.owl" -output "C://my_diff.txt"
java -jar bubastis.jar -ontology1 "H://disease_ontology_version_1.owl" -ontology2 "http://www.disease.org/diseaseontology_latest.owl" -output "C://my_diff.txt"
Loading
Loading