From 00e8b6621a7ddf13222144d4acf80421204a23cc Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Tue, 1 Aug 2017 13:11:29 +0100 Subject: 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. --- webapp/utils/constants.jsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'webapp/utils') 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', -- cgit v1.2.3-1-g7c22