summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-08-01 13:11:29 +0100
committerGitHub <noreply@github.com>2017-08-01 13:11:29 +0100
commit00e8b6621a7ddf13222144d4acf80421204a23cc (patch)
tree0e6b967eeb813d99c0f07cdcedc3638d76d61144 /webapp/utils
parent25a2013890c7e07b4621fa9b18342e7f35363049 (diff)
downloadchat-00e8b6621a7ddf13222144d4acf80421204a23cc.tar.gz
chat-00e8b6621a7ddf13222144d4acf80421204a23cc.tar.bz2
chat-00e8b6621a7ddf13222144d4acf80421204a23cc.zip
PLT-6595 (Client): Elasticsearch indexing system console UI (#6991)
* PLT-6595: System Console for Elasticsearch Job Management. * Fixing UI issues * Fixing colors * ESLint Fixes. * Update test snapshots. * Fixing cancel button * Fix review comments. * Config capitalisation. * Review fixes.
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 31211952a..2b6b17503 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -296,6 +296,20 @@ export const ErrorPageTypes = {
LOCAL_STORAGE: 'local_storage'
};
+export const JobTypes = {
+ DATA_RETENTION: 'data_retention',
+ ELASTICSEARCH_POST_INDEXING: 'elasticsearch_post_indexing'
+};
+
+export const JobStatuses = {
+ PENDING: 'pending',
+ IN_PROGRESS: 'in_progress',
+ SUCCESS: 'success',
+ ERROR: 'error',
+ CANCEL_REQUESTED: 'cancel_requested',
+ CANCELED: 'canceled'
+};
+
export const ErrorBarTypes = {
LICENSE_EXPIRING: 'error_bar.license_expiring',
LICENSE_EXPIRED: 'error_bar.license_expired',