Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/index operation notification (#712)
* Feature/index operation notification (#707) * task completion listener for long running task Signed-off-by: Hailong Cui <[email protected]> * task completion listener for long running task Signed-off-by: Hailong Cui <[email protected]> * remove unused import Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * index action, no validation&test Signed-off-by: zhichao-aws <[email protected]> get action. no validation&test Signed-off-by: zhichao-aws <[email protected]> index and get action (draft) changes for rebase main Signed-off-by: zhichao-aws <[email protected]> index and get, no validation&test Signed-off-by: zhichao-aws <[email protected]> * refactor on package name Signed-off-by: Hailong Cui <[email protected]> * +delete, change index Signed-off-by: zhichao-aws <[email protected]> * Implement notification with ActionFilter Signed-off-by: Hailong Cui <[email protected]> * Query notification channel Signed-off-by: Hailong Cui <[email protected]> * Notification message update Signed-off-by: Hailong Cui <[email protected]> * new version of crud Signed-off-by: zhichao-aws <[email protected]> * validate task id and action name; unitfy taskId Signed-off-by: zhichao-aws <[email protected]> * Add unit test case Signed-off-by: Hailong Cui <[email protected]> * refactor on response parser Signed-off-by: Hailong Cui <[email protected]> * fix unit test case Signed-off-by: Hailong Cui <[email protected]> * modify code structure, change ID to Id Signed-off-by: zhichao-aws <[email protected]> * add some test, delete message template Signed-off-by: zhichao-aws <[email protected]> * Add integration test Signed-off-by: Hailong Cui <[email protected]> * Add integration test for action listener Signed-off-by: Hailong Cui <[email protected]> * remove refresh policy in request Signed-off-by: zhichao-aws <[email protected]> * add some tests, fix actionfilter refresh parameter Signed-off-by: zhichao-aws <[email protected]> * Remove duplicate errors for reindex Signed-off-by: Hailong Cui <[email protected]> * add UT and IT Signed-off-by: zhichao-aws <[email protected]> * fix some code style Signed-off-by: zhichao-aws <[email protected]> * enable com.sun.net.httpserver.* for test Signed-off-by: Hailong Cui <[email protected]> * change index name, fix bug Signed-off-by: zhichao-aws <[email protected]> * modifications after meeting Signed-off-by: zhichao-aws <[email protected]> * don't continue wait for shard to be started for async mode Signed-off-by: Hailong Cui <[email protected]> * handle IndexNotFoundException for sending notification Signed-off-by: Hailong Cui <[email protected]> * add security test case Signed-off-by: zhichao-aws <[email protected]> * add security test case Signed-off-by: zhichao-aws <[email protected]> * refactor on file names Signed-off-by: Hailong Cui <[email protected]> * add success/failure condition Signed-off-by: zhichao-aws <[email protected]> * filter channels by conditions Signed-off-by: Hailong Cui <[email protected]> * Remove unused field enable for index .opensearch-admin-panel Signed-off-by: Hailong Cui <[email protected]> * add more integration testcase Signed-off-by: Hailong Cui <[email protected]> * change admin panel to control center Signed-off-by: zhichao-aws <[email protected]> * Update mock server address to localhost for docker env Signed-off-by: Hailong Cui <[email protected]> * remove unused field in response Signed-off-by: zhichao-aws <[email protected]> * update integ test Signed-off-by: Hailong Cui <[email protected]> * remove default for all Signed-off-by: zhichao-aws <[email protected]> * Remove default for all Signed-off-by: Hailong Cui <[email protected]> * remove filter by backend roles Signed-off-by: zhichao-aws <[email protected]> * fix build Signed-off-by: zhichao-aws <[email protected]> * optimize constructor code Signed-off-by: zhichao-aws <[email protected]> * add request doc id validation Signed-off-by: zhichao-aws <[email protected]> * merge get and search Signed-off-by: zhichao-aws <[email protected]> * remove get before delete Signed-off-by: zhichao-aws <[email protected]> * add node id validation Signed-off-by: zhichao-aws <[email protected]> * auto create doc for update Signed-off-by: zhichao-aws <[email protected]> * fix test case Signed-off-by: zhichao-aws <[email protected]> * delete restUpdateAction, fix test Signed-off-by: zhichao-aws <[email protected]> * add dry run option Signed-off-by: zhichao-aws <[email protected]> * fix bug, add test case Signed-off-by: zhichao-aws <[email protected]> * add xcontent tests Signed-off-by: zhichao-aws <[email protected]> * notification crud api Signed-off-by: zhichao-aws <[email protected]> * changes based on comments; add tests Signed-off-by: zhichao-aws <[email protected]> * changes for comment Signed-off-by: zhichao-aws <[email protected]> * change behavior for get action index not exists, fix test cases Signed-off-by: zhichao-aws <[email protected]> * fix merge Signed-off-by: zhichao-aws <[email protected]> * delay 5s for sending runtime notification Signed-off-by: Hailong Cui <[email protected]> * update log message Signed-off-by: Hailong Cui <[email protected]> * delay 5s for runtime notification policy Signed-off-by: Hailong Cui <[email protected]> * Update notification message Signed-off-by: Hailong Cui <[email protected]> * filter duplicate channel Signed-off-by: Hailong Cui <[email protected]> * exception handling Signed-off-by: Hailong Cui <[email protected]> * Add cluster name into title Signed-off-by: Hailong Cui <[email protected]> * fix UT for failure messagee Signed-off-by: Hailong Cui <[email protected]> * include cluster name into notification messag Signed-off-by: Hailong Cui <[email protected]> * fix UT failures Signed-off-by: Hailong Cui <[email protected]> * fix detekt issue Signed-off-by: Hailong Cui <[email protected]> * fix NPE Signed-off-by: Hailong Cui <[email protected]> * force merge message Signed-off-by: Hailong Cui <[email protected]> * remove duplicate error of reindex Signed-off-by: Hailong Cui <[email protected]> * notification message rewording Signed-off-by: Hailong Cui <[email protected]> * notification message wording change and unit test case Signed-off-by: Hailong Cui <[email protected]> * update block write wording Signed-off-by: Hailong Cui <[email protected]> * Add more unit test case Signed-off-by: Hailong Cui <[email protected]> * Add more logs Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Co-authored-by: zhichao-aws <[email protected]>
- Loading branch information