Compare commits

...

3 Commits

Author SHA1 Message Date
Andrei Isvoran
ec6ba7cd40 Merge remote-tracking branch 'origin/master' into RED-7745-controller
# Conflicts:
#	persistence-service-v1/persistence-service-internal-api-impl-v1/src/main/java/com/iqser/red/service/persistence/v1/internal/api/controller/EntityLogInternalController.java
2023-10-17 10:47:05 +03:00
Andrei Isvoran
de3e9572a6 RED-7745 - Refactor to EntityLog
* Add EntityLogInternalController
2023-10-17 10:45:52 +03:00
Andrei Isvoran
85fd308d4a RED-7745 - Refactor to EntityLog
* Add EntityLogInternalController
2023-10-17 10:15:09 +03:00
2 changed files with 1 additions and 6 deletions

View File

@ -19,6 +19,7 @@ public class EntityLogInternalController implements EntityLogResource {
private final EntityLogService entityLogService;
@Override
public EntityLog getEntityLog(@PathVariable(DOSSIER_ID) String dossierId,
@PathVariable(FILE_ID) String fileId,
@RequestParam(value = "excludedType", required = false) List<String> excludedTypes) {

View File

@ -11,10 +11,6 @@ import org.springframework.web.bind.annotation.ResponseStatus;
import com.iqser.red.service.persistence.service.v1.api.shared.model.analysislog.entitylog.EntityLog;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
@ResponseStatus(value = HttpStatus.OK)
public interface EntityLogResource {
@ -28,8 +24,6 @@ public interface EntityLogResource {
@GetMapping(value = ENTITY_LOG_PATH + DOSSIER_ID_PATH_VARIABLE + FILE_ID_PATH_VARIABLE, produces = MediaType.APPLICATION_JSON_VALUE)
@Operation(summary = "Gets the entity log for a fileId", description = "None")
@ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK"), @ApiResponse(responseCode = "400", description = "Request contains error."), @ApiResponse(responseCode = "404", description = "The entity log is not found.")})
EntityLog getEntityLog(@PathVariable(DOSSIER_ID) String dossierId,
@PathVariable(FILE_ID) String fileId,
@RequestParam(value = "excludedType", required = false) List<String> excludedTypes);