Skip to content
Snippets Groups Projects
Commit ec757256 authored by Spencer Sutton's avatar Spencer Sutton
Browse files

reverting core changes i made

parent 1072b901
No related branches found
No related tags found
1 merge request!6Trusted ibm
......@@ -28,11 +28,9 @@ import org.opengroup.osdu.indexer.service.IndexerService;
import org.opengroup.osdu.indexer.service.ReindexService;
import org.opengroup.osdu.indexer.util.RecordInfo;
import org.opengroup.osdu.is.core.model.RecordChangedMessages;
import org.opengroup.osdu.is.core.model.SearchServiceRole;
import org.opengroup.osdu.is.core.util.AppException;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.annotation.RequestScope;
......@@ -55,7 +53,6 @@ public class RecordIndexerApi {
// THIS IS AN INTERNAL USE API ONLY
// THAT MEANS WE DON'T DOCUMENT IT IN SWAGGER, ACCESS IS LIMITED TO CLOUD TASK QUEUE CALLS ONLY
@PreAuthorize("@authorizationFilter.hasPermission('" + SearchServiceRole.ADMIN + "')")
@PostMapping(path = "/index-worker", consumes = "application/json")
@ApiOperation(hidden = true, value = "", notes = "")
public ResponseEntity<JobStatus> indexWorker (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment