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

Get collection exercises by survey ids #1032

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

arroyoAle
Copy link
Contributor

@arroyoAle arroyoAle commented Jan 24, 2025

What and why?

Swaps out the get collection exercises by survey id with get collection exercises by survey ids to reduce the number of calls to collection exercise from one per survey the respondent has, to just one for all the surveys the respondent has

How to test?

Jira

RAS-1401

@anwilkie
Copy link
Contributor

/deploy wilkia

@ras-rm-pr-bot
Copy link
Collaborator

Deploying to dev cluster with following parameters:

  • namespace: wilkia

  • tag: pr-1032

  • configBranch: main

  • paramKey: ``

  • paramValue: ``

Copy link
Contributor

@LJBabbage LJBabbage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I don't believe this will work if there are no enrolments and will throw an exception. I also am not sure why this is still stored in redis, hasn't that been made redundant? I am also wonder what exercise /surveys is also being used for (if any) as it has been extended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants