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

[dictionary] Add visits for session scoped variables to API #8426

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Mar 7, 2023

PR#6936 includes a /dictionary/module/(modulename) REST endpoint to act as an API which provides the dictionary for the QueryEngine of a module.

This updates it to include the valid visits for which the data point is valid for session scoped variables.

Testing instructions (if applicable)

  1. This requires a module with session based variables in its QueryEngine such as [Instruments] Instrument data QueryEngine #8216 (instruments) or [candidate_parameters] Add candidate parameters query engine #8288 (candidate parameters). Access $LORISURL/dictionary/module/$modulename and look at the JSON returned. Session scoped variables should include a visits key with an array of the correct visits for that variable.

PR#6936 includes a /dictionary/module/(modulename) REST endpoint
to act as an API which provides the dictionary for the QueryEngine
of a module.

This updates it to include the valid visits for which the data point
is valid for session scoped variables.
@driusan driusan added Category: Feature PR or issue that aims to introduce a new feature Blocking PR should be prioritized because it is blocking the progress of another task labels Mar 7, 2023
Co-authored-by: Rida Abou-Haidar <[email protected]>
@driusan driusan merged commit 2b5f60a into aces:main Mar 13, 2023
@ridz1208 ridz1208 added this to the 25.0.0 milestone Mar 13, 2023
driusan added a commit to driusan/Loris that referenced this pull request Mar 13, 2023
PR#6936 includes a /dictionary/module/(modulename) REST endpoint
to act as an API which provides the dictionary for the QueryEngine
of a module.

This updates it to include the valid visits for which the data point
is valid for session scoped variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocking PR should be prioritized because it is blocking the progress of another task Category: Feature PR or issue that aims to introduce a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants