setting session ID on all response bodies

This commit is contained in:
markiantorno 2021-03-11 15:31:35 -05:00
parent d275e304fa
commit 76112af3c7
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ public class ValidationService {
System.out.println(" .. validate " + request.listSourceFiles());
}
ValidationResponse response = new ValidationResponse();
ValidationResponse response = new ValidationResponse().setSessionId(sessionId);
for (FileInfo fp : request.getFilesToValidate()) {
List<ValidationMessage> messages = new ArrayList<>();
validator.validate(fp.getFileContent().getBytes(), Manager.FhirFormat.getFhirFormat(fp.getFileType()),