diff --git a/pom.xml b/pom.xml index f53d0be..92fc0d0 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ com.github.joschi.jackson jackson-datatype-threetenbp - 2.12.5 + 2.13.5 diff --git a/src/main/java/org/brapi/v2/api/AttributevaluesApiController.java b/src/main/java/org/brapi/v2/api/AttributevaluesApiController.java index 47c3370..355bc49 100644 --- a/src/main/java/org/brapi/v2/api/AttributevaluesApiController.java +++ b/src/main/java/org/brapi/v2/api/AttributevaluesApiController.java @@ -149,7 +149,7 @@ public ResponseEntity searchAttributevalues Authentication auth = tokenManager.getAuthenticationFromToken(tokenManager.readToken(request)); String sCurrentUser = auth == null || "anonymousUser".equals(auth.getName()) ? "anonymousUser" : auth.getName(); - LinkedHashMap individuals = MgdbDao.getInstance().loadIndividualsWithAllMetadata(programDbId, sCurrentUser, null, germplasmIdsToReturn); + LinkedHashMap individuals = MgdbDao.getInstance().loadIndividualsWithAllMetadata(programDbId, sCurrentUser, null, germplasmIdsToReturn, null); ArrayList data = new ArrayList<>(); for (String individualId : individuals.keySet()) { diff --git a/src/main/java/org/brapi/v2/api/CallsetsApiController.java b/src/main/java/org/brapi/v2/api/CallsetsApiController.java index 0fba6cb..44a0465 100644 --- a/src/main/java/org/brapi/v2/api/CallsetsApiController.java +++ b/src/main/java/org/brapi/v2/api/CallsetsApiController.java @@ -232,7 +232,7 @@ public ResponseEntity searchCallsetsPost( @ApiParam(value indIdToSampleIdMap.put(sample.getIndividual(), sample.getId()); // attach individual metadata to callsets - Map indMap = MgdbDao.getInstance().loadIndividualsWithAllMetadata(db, sCurrentUser, null, indIdToSampleIdMap.keySet()); + Map indMap = MgdbDao.getInstance().loadIndividualsWithAllMetadata(db, sCurrentUser, null, indIdToSampleIdMap.keySet(), null); for (int i=0; i