RED-10463: update path slightly
This commit is contained in:
parent
f907ce6fe9
commit
b2c8e38594
@ -29,6 +29,7 @@ public interface RulesResource {
|
|||||||
String RULES_PATH = ExternalApi.BASE_PATH + "/rules";
|
String RULES_PATH = ExternalApi.BASE_PATH + "/rules";
|
||||||
String UPLOAD_PATH = "/upload";
|
String UPLOAD_PATH = "/upload";
|
||||||
String DOWNLOAD_PATH = "/download";
|
String DOWNLOAD_PATH = "/download";
|
||||||
|
String RESET_PATH = "/reset";
|
||||||
|
|
||||||
String DOSSIER_TEMPLATE_PARAMETER_NAME = "dossierTemplateId";
|
String DOSSIER_TEMPLATE_PARAMETER_NAME = "dossierTemplateId";
|
||||||
String DOSSIER_TEMPLATE_PATH_VARIABLE = "/{dossierTemplateId}";
|
String DOSSIER_TEMPLATE_PATH_VARIABLE = "/{dossierTemplateId}";
|
||||||
@ -110,6 +111,6 @@ public interface RulesResource {
|
|||||||
@ResponseStatus(value = HttpStatus.OK)
|
@ResponseStatus(value = HttpStatus.OK)
|
||||||
@Operation(summary = "Resets the timeout detected flag in a Rule file.")
|
@Operation(summary = "Resets the timeout detected flag in a Rule file.")
|
||||||
@ApiResponses(value = {@ApiResponse(responseCode = "204", description = "No content")})
|
@ApiResponses(value = {@ApiResponse(responseCode = "204", description = "No content")})
|
||||||
@PutMapping(value = RULES_PATH + DOSSIER_TEMPLATE_PATH_VARIABLE + RULE_FILE_TYPE_PATH_VARIABLE, produces = MediaType.APPLICATION_JSON_VALUE)
|
@PutMapping(value = RULES_PATH + DOSSIER_TEMPLATE_PATH_VARIABLE + RULE_FILE_TYPE_PATH_VARIABLE + RESET_PATH, produces = MediaType.APPLICATION_JSON_VALUE)
|
||||||
void unlockRules(@PathVariable(DOSSIER_TEMPLATE_PARAMETER_NAME) String dossierTemplateId, @PathVariable(RULE_FILE_TYPE_PARAMETER_NAME) RuleFileType ruleFileType);
|
void unlockRules(@PathVariable(DOSSIER_TEMPLATE_PARAMETER_NAME) String dossierTemplateId, @PathVariable(RULE_FILE_TYPE_PARAMETER_NAME) RuleFileType ruleFileType);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user