Class ElasticController
- java.lang.Object
-
- com.netgrif.application.engine.elastic.web.ElasticController
-
@RestController @RequestMapping("/api/elastic") @ConditionalOnProperty(value="nae.elastic.web.enabled", havingValue="true", matchIfMissing=true) public class ElasticController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ElasticController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageResource
reindex(java.util.Map<java.lang.String,java.lang.Object> searchBody, org.springframework.security.core.Authentication auth, java.util.Locale locale)
-
-
-
Method Detail
-
reindex
@PreAuthorize("@authorizationService.hasAuthority(\'ADMIN\')") @PostMapping(value="/reindex", consumes="application/json", produces="application/hal+json") public MessageResource reindex(@RequestBody java.util.Map<java.lang.String,java.lang.Object> searchBody, org.springframework.security.core.Authentication auth, java.util.Locale locale)
-
-