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

Fix: hide duplicated agents endpoint ('/Agents') #91

Merged
merged 5 commits into from
Aug 1, 2024

Conversation

syphax-bouazzouni
Copy link

@syphax-bouazzouni syphax-bouazzouni commented Aug 1, 2024

this PR revert #85, by not removing the endpoint but just hiding it. To prevent this issue ontoportal-lirmm/ontologies_linked_data#149 (comment)

image

Changes

  • Put again the Agents endpoint (bd845c1)
  • Hide Agents endpoint in the home endpoint (30c3025)

@syphax-bouazzouni syphax-bouazzouni self-assigned this Aug 1, 2024
@syphax-bouazzouni syphax-bouazzouni changed the title Fix. hide duplicated agents endpoint ('/Agents') Fix: hide duplicated agents endpoint ('/Agents') Aug 1, 2024
@syphax-bouazzouni syphax-bouazzouni force-pushed the fix/remove-duplicated-agents-root branch from 3b60e18 to 2750118 Compare August 1, 2024 21:07
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 93.18182% with 6 lines in your changes missing coverage. Please review.

Project coverage is 71.91%. Comparing base (923629e) to head (2750118).
Report is 5 commits behind head on development.

Files Patch % Lines
controllers/agents_controller.rb 93.82% 5 Missing ⚠️
controllers/home_controller.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           development      #91      +/-   ##
===============================================
+ Coverage        71.85%   71.91%   +0.06%     
===============================================
  Files               67       67              
  Lines             3681     3700      +19     
===============================================
+ Hits              2645     2661      +16     
- Misses            1036     1039       +3     
Flag Coverage Δ
unittests 71.91% <93.18%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@syphax-bouazzouni syphax-bouazzouni merged commit fc11608 into development Aug 1, 2024
26 checks passed
syphax-bouazzouni added a commit that referenced this pull request Aug 8, 2024
* Feature: mappings statistics slices support (#78)

* restrict mapping statistics ontologies to the ontologies of the current slice

* add a test for the mappings slices support

* add test for mappings statistics slices support

* update owl wrapper version to v1.4.3

* update test search multilingual test to ensure selecting one prefLabel

* add filter search results attributes by language

* add search  multiple languages or all languages tests

* implement display search results in multiple languages

* fix annotator prefLabel language selection

* fix: remove duplicated agents endpoint ('/Agents') (#85)

* Feature: implement ontology agents endpoint (#84)

* implement ontology agents endpoint

* Move ontology agents method out of agents namespace in agents_controller

* return a list of uniq values, for the endpoint '/ontologies/:acronym/agents' that contains all the agents of the ontology using agents_attrs list

* test for ontology agents endpoing

* add another ontologyin test ontology agents test, and assert only the number of results and the names

---------

Co-authored-by: Bilel KIHAL <[email protected]>

* update API deploy CI  to SSH jump host and get configs from private repo

* update deploy files and add agroportal, stage and test environments

* Feature: update agents search endpoint to add option to have a custom qf paramter  (#90)

* fix agents search sensibility

* improve agents search endpoint to search only exact string or substring match

* make the agent search endpoint query filter configurable

---------

Co-authored-by: Syphax <[email protected]>

* Fix: hide duplicated agents endpoint ('/Agents')  (#91)

* remove duplicated agents endpoint ('/Agents')

* put again the Agents endpoint

* hide Agents endpoint in the home endpoint

* fix properties tests

---------

Co-authored-by: Bilel KIHAL <[email protected]>

---------

Co-authored-by: Bilel Kihal <[email protected]>
Co-authored-by: Bilel KIHAL <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants