Conversation
Add type handler for template
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Fix opensrp location to fhir location convertion bug
* include task owner when using rabiitmq profile * add initializePathEvaluator method
…iltered by properties
Populate task reason reference value
…an-to-lombrok use lombok in PractitionerSearchBean
…event-json-v2 Bug Fix: Handle Missing baseEntityId in Event JSON for Save for v2
V2 upgrade com.fasterxml.jackson.core artifacts to version 2.14.0
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
…-core into rapidpro-refactor Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
| null, false)).thenReturn(1l); | ||
| Map<String, String> properties = new HashMap<>(); | ||
| properties.put(PlanConstants.TYPE, PlanConstants.LARVAL_DIPPING_SITE); | ||
| List<String> structureIds = new ArrayList<>(); |
Check failure
Code scanning / CodeQL
Container contents are never accessed
| null, false)).thenReturn(1l); | ||
| Map<String, String> properties = new HashMap<>(); | ||
| properties.put(PlanConstants.TYPE, PlanConstants.MOSQUITO_COLLECTION_POINT); | ||
| List<String> structureIds = new ArrayList<>(); |
Check failure
Code scanning / CodeQL
Container contents are never accessed
| }; | ||
|
|
||
| public Integer getPlanTemplate(Event event) { | ||
| String historicalIntervention = getHistoricalIntervention(Collections.singletonList(event.getLocationId())); |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null
| List<String> updatedTaskIds = new ArrayList<>(); | ||
| for (TaskUpdate taskUpdate : taskUpdates) { | ||
| Task task = taskRepository.get(taskUpdate.getIdentifier()); | ||
| logger.info("UpdateTaskStatus retrieved task from db with id : " + task.getIdentifier()); |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null
| } | ||
| } | ||
|
|
||
| protected void addCriterion(String condition, Object value1, Object value2, String property) { |
Check notice
Code scanning / CodeQL
Useless parameter
| } | ||
| } | ||
|
|
||
| protected void addCriterion(String condition, Object value, String property) { |
Check notice
Code scanning / CodeQL
Useless parameter
|
|
||
| List<Event> convertContactToEvents(RapidProContact rapidProContact); | ||
|
|
||
| RapidProContact convertEventToContact(Event event); |
Check notice
Code scanning / CodeQL
Useless parameter
| } else { | ||
| String lastItem = splitVaccine[splitVaccine.length - 1]; | ||
| if (StringUtils.isNumeric(lastItem)) { | ||
| return String.valueOf(Integer.parseInt(lastItem) + 1); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
064d425 to
5c02267
Compare
5c02267 to
af18e93
Compare
No description provided.