Package org.openiam.rest
Class ElasticsearchController
- java.lang.Object
-
- org.openiam.rest.ElasticsearchController
-
@RestController @RequestMapping(value="/elasticsearch", produces="application/json") @Deprecated(since="4.2.1.2") public class ElasticsearchController extends Object
Deprecated.This is a convenience controller for reindexing elasticsearch in case of emergency i.e. elasticsearch volume was deleted.This allows you to quickly reindex either everything, or a single entity, without having to restart the ESB
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchController()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
reindex(String clazz)
Deprecated.void
reindexAll()
Deprecated.
-
-
-
Method Detail
-
reindexAll
@RequestMapping("/reindexAll") public void reindexAll()
Deprecated.
-
reindex
@RequestMapping("/reindex") public void reindex(@RequestParam(required=true,value="clazz") String clazz) throws ClassNotFoundException
Deprecated.- Throws:
ClassNotFoundException
-
-