Skip to content

Commit

Permalink
Add CuresUpdate Flag to the API
Browse files Browse the repository at this point in the history
  • Loading branch information
nbashyam committed May 29, 2020
1 parent 218dab5 commit 57b4e95
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ public ValidationResultsDto doValidation(
@RequestParam(value = "validationObjective", required = true) String validationObjective,
@RequestParam(value = "referenceFileName", required = true) String referenceFileName,
@RequestParam(value = "ccdaFile", required = true) MultipartFile ccdaFile,
@RequestParam(value = "curesUpdate", required = true) boolean curesUpdate,
@RequestParam(defaultValue = VocabularyConstants.Config.DEFAULT, required = false) String vocabularyConfig,
@RequestParam(defaultValue = DEFAULT_SEVERITY_LEVEL, required = false) String severityLevel) {

logger.info("severityLevel requestParam: " + severityLevel);
logger.info(" Cures Update" + curesUpdate);

if ((severityLevel == null || severityLevel.equals("")) ||
(!severityLevel.equalsIgnoreCase(VocabularyConstants.SeverityLevel.INFO.name()) &&
Expand Down

0 comments on commit 57b4e95

Please sign in to comment.