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

vaccine outreach column populated #273

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

junaidwarsivd
Copy link
Contributor

added outreach column population for the condition if the vaccine locationID is not the main facility locationID then it is set to 1 else 0 in order to detect vaccines given in outreach or in the facility
issue ref # opensrp/opensrp-client-path-zeir#193

Copy link
Contributor

@ellykits ellykits left a comment

Choose a reason for hiding this comment

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

Write Database migration for data in production

@ndegwamartin
Copy link
Contributor

@junaidwarsivd please see this ticket as well related to @ellykits 's feedback

@ndegwamartin
Copy link
Contributor

@junaidwarsivd also CI seems to be failing due to an OOM error when running the tests. Could you try updating the memory limit here to -Xmx4096m and see if that solves it?

@@ -211,7 +211,7 @@ public static void addVaccine(VaccineRepository vaccineRepository, Vaccine vacci
String providerId = allSharedPreferences.fetchRegisteredANM();
vaccine.setTeam(allSharedPreferences.fetchDefaultTeam(providerId));
vaccine.setTeamId(allSharedPreferences.fetchDefaultTeamId(providerId));

vaccine.setOutreach(vaccine.getLocationId().equals(allSharedPreferences.fetchDefaultLocalityId(providerId))? 0 : 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Add null check that defaults to 0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ndegwamartin could you please change -Xmx4096m because i dont have permission to change the Ci.yml file
cc: @ellykits @dubdabasoduba

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.

3 participants