FNNDSC / FNNDSC/fnndsc

getPluginInstance does not work without authorization

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

`getPluginInstance` _should_ work without authorization for plugin instances belonging to public feeds, however the implementation makes an (inefficient) call to `api/v1/plugins/instances/search/` which doesn't work, see https://github.com/FNNDSC/ChRIS_ultron_backEnd/issues/530

Calling `api/v1/plugins/instances//` directly would work and it is should how `getPluginInstance` be implemented.

Contributor guide

No contributing guide indexed for this repository

Research direction

Find the JavaScript implementation of getPluginInstance and compare its current call to api/v1/plugins/instances/search/ with the direct api/v1/plugins/instances// endpoint. Confirm the direct endpoint supports public-feed plugin instances without authorization, then verify getPluginInstance uses that path and no longer depends on the failing search request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.