-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
@junaidwarsivd please see this ticket as well related to @ellykits 's feedback |
@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 |
@@ -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); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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