This is an automated email from the ASF dual-hosted git repository.
fjy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new 53b9fc4 switch to use exInterlop (#7853)
53b9fc4 is described below
commit 53b9fc4eb0ebb020afc92f59a9f224efaaa7f079
Author: Vadim Ogievetsky <[email protected]>
AuthorDate: Fri Jun 7 22:27:19 2019 -0700
switch to use exInterlop (#7853)
---
web-console/src/bootstrap/react-table-custom-pagination.tsx | 2 +-
web-console/src/bootstrap/react-table-defaults.tsx | 2 +-
web-console/src/components/action-cell/action-cell.spec.tsx | 2 +-
web-console/src/components/action-cell/action-cell.tsx | 2 +-
web-console/src/components/action-icon/action-icon.spec.tsx | 2 +-
web-console/src/components/action-icon/action-icon.tsx | 2 +-
web-console/src/components/array-input/array-input.spec.tsx | 2 +-
web-console/src/components/array-input/array-input.tsx | 2 +-
web-console/src/components/auto-form/auto-form.spec.tsx | 2 +-
web-console/src/components/auto-form/auto-form.tsx | 2 +-
web-console/src/components/center-message/center-message.spec.tsx | 2 +-
web-console/src/components/center-message/center-message.tsx | 2 +-
.../src/components/clearable-input/clearable-input.spec.tsx | 2 +-
web-console/src/components/clearable-input/clearable-input.tsx | 2 +-
web-console/src/components/external-link/external-link.spec.tsx | 2 +-
web-console/src/components/external-link/external-link.tsx | 2 +-
web-console/src/components/header-bar/header-bar.spec.tsx | 2 +-
web-console/src/components/header-bar/header-bar.tsx | 2 +-
web-console/src/components/json-collapse/json-collapse.spec.tsx | 2 +-
web-console/src/components/json-collapse/json-collapse.tsx | 2 +-
web-console/src/components/json-input/json-input.spec.tsx | 2 +-
web-console/src/components/json-input/json-input.tsx | 2 +-
web-console/src/components/loader/loader.spec.tsx | 2 +-
web-console/src/components/loader/loader.tsx | 2 +-
web-console/src/components/menu-checkbox/menu-checkbox.spec.tsx | 2 +-
web-console/src/components/menu-checkbox/menu-checkbox.tsx | 2 +-
web-console/src/components/rule-editor/rule-editor.spec.tsx | 2 +-
web-console/src/components/rule-editor/rule-editor.tsx | 2 +-
web-console/src/components/show-json/show-json.spec.tsx | 2 +-
web-console/src/components/show-json/show-json.tsx | 4 ++--
web-console/src/components/show-log/show-log.spec.tsx | 2 +-
web-console/src/components/show-log/show-log.tsx | 4 ++--
web-console/src/components/sql-control/sql-control.spec.tsx | 2 +-
web-console/src/components/sql-control/sql-control.tsx | 8 ++++----
web-console/src/components/table-cell/table-cell.spec.tsx | 2 +-
web-console/src/components/table-cell/table-cell.tsx | 4 ++--
.../table-column-selector/table-column-selector.spec.tsx | 2 +-
.../components/table-column-selector/table-column-selector.tsx | 2 +-
.../src/components/view-control-bar/view-control-bar.spec.tsx | 2 +-
web-console/src/components/view-control-bar/view-control-bar.tsx | 2 +-
web-console/src/console-application.tsx | 4 ++--
web-console/src/dialogs/about-dialog/about-dialog.spec.tsx | 2 +-
web-console/src/dialogs/about-dialog/about-dialog.tsx | 2 +-
.../src/dialogs/async-action-dialog/async-action-dialog.spec.tsx | 2 +-
.../src/dialogs/async-action-dialog/async-action-dialog.tsx | 2 +-
.../src/dialogs/compaction-dialog/compaction-dialog.spec.tsx | 2 +-
web-console/src/dialogs/compaction-dialog/compaction-dialog.tsx | 2 +-
.../coordinator-dynamic-config.spec.tsx | 2 +-
.../coordinator-dynamic-config/coordinator-dynamic-config.tsx | 2 +-
web-console/src/dialogs/history-dialog/history-dialog.spec.tsx | 2 +-
web-console/src/dialogs/history-dialog/history-dialog.tsx | 2 +-
.../src/dialogs/lookup-edit-dialog/lookup-edit-dialog.spec.tsx | 2 +-
web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.tsx | 2 +-
.../overlord-dynamic-config/overload-dynamic-config.spec.tsx | 2 +-
.../dialogs/overlord-dynamic-config/overlord-dynamic-config.tsx | 2 +-
.../src/dialogs/query-plan-dialog/query-plan-dialog.spec.tsx | 2 +-
web-console/src/dialogs/query-plan-dialog/query-plan-dialog.tsx | 2 +-
.../src/dialogs/retention-dialog/retention-dialog.array.spec.ts | 2 +-
.../src/dialogs/retention-dialog/retention-dialog.spec.tsx | 2 +-
web-console/src/dialogs/retention-dialog/retention-dialog.tsx | 2 +-
web-console/src/dialogs/snitch-dialog/snitch-dialog.spec.tsx | 2 +-
web-console/src/dialogs/snitch-dialog/snitch-dialog.tsx | 2 +-
web-console/src/dialogs/spec-dialog/spec-dialog.spec.tsx | 2 +-
web-console/src/dialogs/spec-dialog/spec-dialog.tsx | 2 +-
.../supervisor-table-action-dialog.spec.tsx | 2 +-
.../supervisor-table-action-dialog.tsx | 2 +-
.../src/dialogs/table-action-dialog/table-action-dialog.spec.tsx | 2 +-
.../src/dialogs/table-action-dialog/table-action-dialog.tsx | 2 +-
.../task-table-action-dialog/task-table-action-dialog.spec.tsx | 2 +-
.../dialogs/task-table-action-dialog/task-table-action-dialog.tsx | 2 +-
web-console/src/entry.ts | 4 ++--
web-console/src/setup-tests.ts | 4 ++--
web-console/src/utils/basic-action.tsx | 2 +-
web-console/src/utils/general.tsx | 6 +++---
web-console/src/utils/ingestion-spec.tsx | 2 +-
web-console/src/views/datasource-view/datasource-view.spec.tsx | 2 +-
web-console/src/views/datasource-view/datasource-view.tsx | 2 +-
web-console/src/views/home-view/home-view.spec.tsx | 2 +-
web-console/src/views/home-view/home-view.tsx | 2 +-
web-console/src/views/load-data-view/load-data-view.spec.tsx | 2 +-
web-console/src/views/load-data-view/load-data-view.tsx | 4 ++--
web-console/src/views/lookups-view/lookups-view.spec.tsx | 2 +-
web-console/src/views/lookups-view/lookups-view.tsx | 4 ++--
web-console/src/views/segments-view/segments-view.spec.tsx | 2 +-
web-console/src/views/segments-view/segments-view.tsx | 2 +-
web-console/src/views/servers-view/servers-view.spec.tsx | 2 +-
web-console/src/views/servers-view/servers-view.tsx | 2 +-
web-console/src/views/sql-view/sql-view.spec.tsx | 2 +-
web-console/src/views/sql-view/sql-view.tsx | 4 ++--
web-console/src/views/task-view/tasks-view.spec.tsx | 2 +-
web-console/src/views/task-view/tasks-view.tsx | 2 +-
web-console/tsconfig.json | 1 +
92 files changed, 106 insertions(+), 105 deletions(-)
diff --git a/web-console/src/bootstrap/react-table-custom-pagination.tsx
b/web-console/src/bootstrap/react-table-custom-pagination.tsx
index 9aa7562..a209989 100644
--- a/web-console/src/bootstrap/react-table-custom-pagination.tsx
+++ b/web-console/src/bootstrap/react-table-custom-pagination.tsx
@@ -17,7 +17,7 @@
*/
import { Button, Classes, HTMLSelect } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import './react-table-custom-pagination.scss';
diff --git a/web-console/src/bootstrap/react-table-defaults.tsx
b/web-console/src/bootstrap/react-table-defaults.tsx
index 9ae2360..5fb69e2 100644
--- a/web-console/src/bootstrap/react-table-defaults.tsx
+++ b/web-console/src/bootstrap/react-table-defaults.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { Filter, ReactTableDefaults } from 'react-table';
import { Loader } from '../components/loader/loader';
diff --git a/web-console/src/components/action-cell/action-cell.spec.tsx
b/web-console/src/components/action-cell/action-cell.spec.tsx
index 3536894..71639d2 100644
--- a/web-console/src/components/action-cell/action-cell.spec.tsx
+++ b/web-console/src/components/action-cell/action-cell.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ActionCell } from './action-cell';
diff --git a/web-console/src/components/action-cell/action-cell.tsx
b/web-console/src/components/action-cell/action-cell.tsx
index fc85f64..dbf4952 100644
--- a/web-console/src/components/action-cell/action-cell.tsx
+++ b/web-console/src/components/action-cell/action-cell.tsx
@@ -18,7 +18,7 @@
import { Popover, Position } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
-import * as React from 'react';
+import React from 'react';
import { BasicAction, basicActionsToMenu } from '../../utils/basic-action';
import { ActionIcon } from '../action-icon/action-icon';
diff --git a/web-console/src/components/action-icon/action-icon.spec.tsx
b/web-console/src/components/action-icon/action-icon.spec.tsx
index 4e74d8b..3e07523 100644
--- a/web-console/src/components/action-icon/action-icon.spec.tsx
+++ b/web-console/src/components/action-icon/action-icon.spec.tsx
@@ -17,7 +17,7 @@
*/
import { IconNames } from '@blueprintjs/icons';
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ActionIcon } from './action-icon';
diff --git a/web-console/src/components/action-icon/action-icon.tsx
b/web-console/src/components/action-icon/action-icon.tsx
index ce27371..669e285 100644
--- a/web-console/src/components/action-icon/action-icon.tsx
+++ b/web-console/src/components/action-icon/action-icon.tsx
@@ -18,7 +18,7 @@
import { Icon, IconName } from '@blueprintjs/core';
import classNames from 'classnames';
-import * as React from 'react';
+import React from 'react';
import './action-icon.scss';
diff --git a/web-console/src/components/array-input/array-input.spec.tsx
b/web-console/src/components/array-input/array-input.spec.tsx
index c2a39af..ca84d0e 100644
--- a/web-console/src/components/array-input/array-input.spec.tsx
+++ b/web-console/src/components/array-input/array-input.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ArrayInput } from './array-input';
diff --git a/web-console/src/components/array-input/array-input.tsx
b/web-console/src/components/array-input/array-input.tsx
index 9ecca35..7a2d5d6 100644
--- a/web-console/src/components/array-input/array-input.tsx
+++ b/web-console/src/components/array-input/array-input.tsx
@@ -17,7 +17,7 @@
*/
import { ITagInputProps, TextArea } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
export interface ArrayInputProps {
className?: string;
diff --git a/web-console/src/components/auto-form/auto-form.spec.tsx
b/web-console/src/components/auto-form/auto-form.spec.tsx
index cee3d8d..7fb96f3 100644
--- a/web-console/src/components/auto-form/auto-form.spec.tsx
+++ b/web-console/src/components/auto-form/auto-form.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { AutoForm } from './auto-form';
diff --git a/web-console/src/components/auto-form/auto-form.tsx
b/web-console/src/components/auto-form/auto-form.tsx
index 383e88e..248c123 100644
--- a/web-console/src/components/auto-form/auto-form.tsx
+++ b/web-console/src/components/auto-form/auto-form.tsx
@@ -29,7 +29,7 @@ import {
Position
} from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
-import * as React from 'react';
+import React from 'react';
import { deepDelete, deepGet, deepSet } from '../../utils/object-change';
import { ArrayInput } from '../array-input/array-input';
diff --git a/web-console/src/components/center-message/center-message.spec.tsx
b/web-console/src/components/center-message/center-message.spec.tsx
index 9cbcebb..f8e039f 100644
--- a/web-console/src/components/center-message/center-message.spec.tsx
+++ b/web-console/src/components/center-message/center-message.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { CenterMessage } from './center-message';
diff --git a/web-console/src/components/center-message/center-message.tsx
b/web-console/src/components/center-message/center-message.tsx
index ded1a2e..dc9515b 100644
--- a/web-console/src/components/center-message/center-message.tsx
+++ b/web-console/src/components/center-message/center-message.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import './center-message.scss';
diff --git
a/web-console/src/components/clearable-input/clearable-input.spec.tsx
b/web-console/src/components/clearable-input/clearable-input.spec.tsx
index ca26f6e..2f1a267 100644
--- a/web-console/src/components/clearable-input/clearable-input.spec.tsx
+++ b/web-console/src/components/clearable-input/clearable-input.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ClearableInput } from './clearable-input';
diff --git a/web-console/src/components/clearable-input/clearable-input.tsx
b/web-console/src/components/clearable-input/clearable-input.tsx
index 6e32c1b..8682a5f 100644
--- a/web-console/src/components/clearable-input/clearable-input.tsx
+++ b/web-console/src/components/clearable-input/clearable-input.tsx
@@ -19,7 +19,7 @@
import { Button, InputGroup } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import classNames from 'classnames';
-import * as React from 'react';
+import React from 'react';
export interface ClearableInputProps extends React.Props<any> {
className?: string;
diff --git a/web-console/src/components/external-link/external-link.spec.tsx
b/web-console/src/components/external-link/external-link.spec.tsx
index 235e7ad..c6e9be0 100644
--- a/web-console/src/components/external-link/external-link.spec.tsx
+++ b/web-console/src/components/external-link/external-link.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ExternalLink } from './external-link';
diff --git a/web-console/src/components/external-link/external-link.tsx
b/web-console/src/components/external-link/external-link.tsx
index 88073fe..229d3f7 100644
--- a/web-console/src/components/external-link/external-link.tsx
+++ b/web-console/src/components/external-link/external-link.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
export interface ExternalLinkProps extends React.Props<any> {
href: string;
diff --git a/web-console/src/components/header-bar/header-bar.spec.tsx
b/web-console/src/components/header-bar/header-bar.spec.tsx
index 0cb4ef0..d93ec8f 100644
--- a/web-console/src/components/header-bar/header-bar.spec.tsx
+++ b/web-console/src/components/header-bar/header-bar.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { HeaderBar } from './header-bar';
diff --git a/web-console/src/components/header-bar/header-bar.tsx
b/web-console/src/components/header-bar/header-bar.tsx
index c148d04..a229a8e 100644
--- a/web-console/src/components/header-bar/header-bar.tsx
+++ b/web-console/src/components/header-bar/header-bar.tsx
@@ -31,7 +31,7 @@ import {
} from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import classNames from 'classnames';
-import * as React from 'react';
+import React from 'react';
import { AboutDialog } from '../../dialogs/about-dialog/about-dialog';
import { CoordinatorDynamicConfigDialog } from
'../../dialogs/coordinator-dynamic-config/coordinator-dynamic-config';
diff --git a/web-console/src/components/json-collapse/json-collapse.spec.tsx
b/web-console/src/components/json-collapse/json-collapse.spec.tsx
index 680b8a4..4fbdfa6 100644
--- a/web-console/src/components/json-collapse/json-collapse.spec.tsx
+++ b/web-console/src/components/json-collapse/json-collapse.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { JSONCollapse } from './json-collapse';
diff --git a/web-console/src/components/json-collapse/json-collapse.tsx
b/web-console/src/components/json-collapse/json-collapse.tsx
index 26add3c..b0700d0 100644
--- a/web-console/src/components/json-collapse/json-collapse.tsx
+++ b/web-console/src/components/json-collapse/json-collapse.tsx
@@ -18,7 +18,7 @@
import { Button, Collapse, TextArea } from '@blueprintjs/core';
import classNames from 'classnames';
-import * as React from 'react';
+import React from 'react';
interface JSONCollapseProps extends React.Props<any> {
stringValue: string;
diff --git a/web-console/src/components/json-input/json-input.spec.tsx
b/web-console/src/components/json-input/json-input.spec.tsx
index 134ca83..8d6e4f4 100644
--- a/web-console/src/components/json-input/json-input.spec.tsx
+++ b/web-console/src/components/json-input/json-input.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { JSONInput } from './json-input';
diff --git a/web-console/src/components/json-input/json-input.tsx
b/web-console/src/components/json-input/json-input.tsx
index 877c482..489b971 100644
--- a/web-console/src/components/json-input/json-input.tsx
+++ b/web-console/src/components/json-input/json-input.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import AceEditor from 'react-ace';
import { parseStringToJSON, stringifyJSON, validJson } from '../../utils';
diff --git a/web-console/src/components/loader/loader.spec.tsx
b/web-console/src/components/loader/loader.spec.tsx
index 85354aa..022db9b 100644
--- a/web-console/src/components/loader/loader.spec.tsx
+++ b/web-console/src/components/loader/loader.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { Loader } from './loader';
diff --git a/web-console/src/components/loader/loader.tsx
b/web-console/src/components/loader/loader.tsx
index dc2dd7f..d536337 100644
--- a/web-console/src/components/loader/loader.tsx
+++ b/web-console/src/components/loader/loader.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import './loader.scss';
diff --git a/web-console/src/components/menu-checkbox/menu-checkbox.spec.tsx
b/web-console/src/components/menu-checkbox/menu-checkbox.spec.tsx
index f228ee7..c25cb7c 100644
--- a/web-console/src/components/menu-checkbox/menu-checkbox.spec.tsx
+++ b/web-console/src/components/menu-checkbox/menu-checkbox.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { MenuCheckbox } from './menu-checkbox';
diff --git a/web-console/src/components/menu-checkbox/menu-checkbox.tsx
b/web-console/src/components/menu-checkbox/menu-checkbox.tsx
index 22b226d..659a78c 100644
--- a/web-console/src/components/menu-checkbox/menu-checkbox.tsx
+++ b/web-console/src/components/menu-checkbox/menu-checkbox.tsx
@@ -17,7 +17,7 @@
*/
import { Checkbox, ICheckboxProps } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import './menu-checkbox.scss';
diff --git a/web-console/src/components/rule-editor/rule-editor.spec.tsx
b/web-console/src/components/rule-editor/rule-editor.spec.tsx
index 54330c1..acdade5 100644
--- a/web-console/src/components/rule-editor/rule-editor.spec.tsx
+++ b/web-console/src/components/rule-editor/rule-editor.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { Rule, RuleEditor } from './rule-editor';
diff --git a/web-console/src/components/rule-editor/rule-editor.tsx
b/web-console/src/components/rule-editor/rule-editor.tsx
index 79c482d..dfffb0a 100644
--- a/web-console/src/components/rule-editor/rule-editor.tsx
+++ b/web-console/src/components/rule-editor/rule-editor.tsx
@@ -19,7 +19,7 @@
import { Button, Card, Collapse, ControlGroup, FormGroup, HTMLSelect,
InputGroup, NumericInput, TagInput } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import './rule-editor.scss';
diff --git a/web-console/src/components/show-json/show-json.spec.tsx
b/web-console/src/components/show-json/show-json.spec.tsx
index 8e002e0..d2451bd 100644
--- a/web-console/src/components/show-json/show-json.spec.tsx
+++ b/web-console/src/components/show-json/show-json.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ShowJson } from './show-json';
diff --git a/web-console/src/components/show-json/show-json.tsx
b/web-console/src/components/show-json/show-json.tsx
index 91cdf6d..1645425 100644
--- a/web-console/src/components/show-json/show-json.tsx
+++ b/web-console/src/components/show-json/show-json.tsx
@@ -18,8 +18,8 @@
import { Button, ButtonGroup, InputGroup, Intent, TextArea } from
'@blueprintjs/core';
import axios from 'axios';
-import * as copy from 'copy-to-clipboard';
-import * as React from 'react';
+import copy from 'copy-to-clipboard';
+import React from 'react';
import { AppToaster } from '../../singletons/toaster';
import { UrlBaser } from '../../singletons/url-baser';
diff --git a/web-console/src/components/show-log/show-log.spec.tsx
b/web-console/src/components/show-log/show-log.spec.tsx
index 8781252..d4ed5aa 100644
--- a/web-console/src/components/show-log/show-log.spec.tsx
+++ b/web-console/src/components/show-log/show-log.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ShowLog } from './show-log';
diff --git a/web-console/src/components/show-log/show-log.tsx
b/web-console/src/components/show-log/show-log.tsx
index b02ad55..1db9c8b 100644
--- a/web-console/src/components/show-log/show-log.tsx
+++ b/web-console/src/components/show-log/show-log.tsx
@@ -18,8 +18,8 @@
import { Button, ButtonGroup, Checkbox, InputGroup, Intent, TextArea } from
'@blueprintjs/core';
import axios from 'axios';
-import * as copy from 'copy-to-clipboard';
-import * as React from 'react';
+import copy from 'copy-to-clipboard';
+import React from 'react';
import { AppToaster } from '../../singletons/toaster';
import { UrlBaser } from '../../singletons/url-baser';
diff --git a/web-console/src/components/sql-control/sql-control.spec.tsx
b/web-console/src/components/sql-control/sql-control.spec.tsx
index 8f5482a..1ac07be 100644
--- a/web-console/src/components/sql-control/sql-control.spec.tsx
+++ b/web-console/src/components/sql-control/sql-control.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { SqlControl } from './sql-control';
diff --git a/web-console/src/components/sql-control/sql-control.tsx
b/web-console/src/components/sql-control/sql-control.tsx
index 1a1dba5..4006105 100644
--- a/web-console/src/components/sql-control/sql-control.tsx
+++ b/web-console/src/components/sql-control/sql-control.tsx
@@ -28,15 +28,15 @@ import {
import { Hotkey, Hotkeys, HotkeysTarget } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as ace from 'brace';
+import ace from 'brace';
import 'brace/ext/language_tools';
import 'brace/mode/hjson';
import 'brace/mode/sql';
import 'brace/theme/solarized_dark';
-import * as Hjson from 'hjson';
-import * as React from 'react';
+import Hjson from 'hjson';
+import React from 'react';
import AceEditor from 'react-ace';
-import * as ReactDOMServer from 'react-dom/server';
+import ReactDOMServer from 'react-dom/server';
import { SQLFunctionDoc } from '../../../lib/sql-function-doc';
import { AppToaster } from '../../singletons/toaster';
diff --git a/web-console/src/components/table-cell/table-cell.spec.tsx
b/web-console/src/components/table-cell/table-cell.spec.tsx
index 1401a74..2d7e598 100644
--- a/web-console/src/components/table-cell/table-cell.spec.tsx
+++ b/web-console/src/components/table-cell/table-cell.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { TableCell } from './table-cell';
diff --git a/web-console/src/components/table-cell/table-cell.tsx
b/web-console/src/components/table-cell/table-cell.tsx
index 9801dfb..036a4da 100644
--- a/web-console/src/components/table-cell/table-cell.tsx
+++ b/web-console/src/components/table-cell/table-cell.tsx
@@ -19,8 +19,8 @@
import { Intent } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
-import * as copy from 'copy-to-clipboard';
-import * as React from 'react';
+import copy from 'copy-to-clipboard';
+import React from 'react';
import { AppToaster } from '../../singletons/toaster';
import { ActionIcon } from '../action-icon/action-icon';
diff --git
a/web-console/src/components/table-column-selector/table-column-selector.spec.tsx
b/web-console/src/components/table-column-selector/table-column-selector.spec.tsx
index e6e7c15..8084701 100644
---
a/web-console/src/components/table-column-selector/table-column-selector.spec.tsx
+++
b/web-console/src/components/table-column-selector/table-column-selector.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { TableColumnSelector } from './table-column-selector';
diff --git
a/web-console/src/components/table-column-selector/table-column-selector.tsx
b/web-console/src/components/table-column-selector/table-column-selector.tsx
index f0b87ac..fcbdb23 100644
--- a/web-console/src/components/table-column-selector/table-column-selector.tsx
+++ b/web-console/src/components/table-column-selector/table-column-selector.tsx
@@ -18,7 +18,7 @@
import { Button, Checkbox, FormGroup, Menu, Popover, Position } from
'@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
-import * as React from 'react';
+import React from 'react';
import { MenuCheckbox } from '../menu-checkbox/menu-checkbox';
diff --git
a/web-console/src/components/view-control-bar/view-control-bar.spec.tsx
b/web-console/src/components/view-control-bar/view-control-bar.spec.tsx
index 4108680..506366b 100644
--- a/web-console/src/components/view-control-bar/view-control-bar.spec.tsx
+++ b/web-console/src/components/view-control-bar/view-control-bar.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { ViewControlBar } from './view-control-bar';
diff --git a/web-console/src/components/view-control-bar/view-control-bar.tsx
b/web-console/src/components/view-control-bar/view-control-bar.tsx
index 5acc3d1..bcd3e23 100644
--- a/web-console/src/components/view-control-bar/view-control-bar.tsx
+++ b/web-console/src/components/view-control-bar/view-control-bar.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import './view-control-bar.scss';
diff --git a/web-console/src/console-application.tsx
b/web-console/src/console-application.tsx
index 7ff2278..084fd44 100644
--- a/web-console/src/console-application.tsx
+++ b/web-console/src/console-application.tsx
@@ -19,8 +19,8 @@
import { Intent } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as classNames from 'classnames';
-import * as React from 'react';
+import classNames from 'classnames';
+import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import { ExternalLink } from './components/external-link/external-link';
diff --git a/web-console/src/dialogs/about-dialog/about-dialog.spec.tsx
b/web-console/src/dialogs/about-dialog/about-dialog.spec.tsx
index 0df9793..46c33f8 100644
--- a/web-console/src/dialogs/about-dialog/about-dialog.spec.tsx
+++ b/web-console/src/dialogs/about-dialog/about-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { AboutDialog } from './about-dialog';
diff --git a/web-console/src/dialogs/about-dialog/about-dialog.tsx
b/web-console/src/dialogs/about-dialog/about-dialog.tsx
index 3c51373..e8c8796 100644
--- a/web-console/src/dialogs/about-dialog/about-dialog.tsx
+++ b/web-console/src/dialogs/about-dialog/about-dialog.tsx
@@ -18,7 +18,7 @@
import { AnchorButton, Button, Classes, Dialog, Intent } from
'@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
-import * as React from 'react';
+import React from 'react';
import { ExternalLink } from '../../components';
import { DRUID_COMMUNITY, DRUID_DEVELOPER_GROUP, DRUID_USER_GROUP,
DRUID_WEBSITE } from '../../variables';
diff --git
a/web-console/src/dialogs/async-action-dialog/async-action-dialog.spec.tsx
b/web-console/src/dialogs/async-action-dialog/async-action-dialog.spec.tsx
index 63452cc..27e0dea 100644
--- a/web-console/src/dialogs/async-action-dialog/async-action-dialog.spec.tsx
+++ b/web-console/src/dialogs/async-action-dialog/async-action-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { AsyncActionDialog } from './async-action-dialog';
diff --git
a/web-console/src/dialogs/async-action-dialog/async-action-dialog.tsx
b/web-console/src/dialogs/async-action-dialog/async-action-dialog.tsx
index 21770d8..003adea 100644
--- a/web-console/src/dialogs/async-action-dialog/async-action-dialog.tsx
+++ b/web-console/src/dialogs/async-action-dialog/async-action-dialog.tsx
@@ -26,7 +26,7 @@ import {
} from '@blueprintjs/core';
import { IconName } from '@blueprintjs/icons';
import classNames from 'classnames';
-import * as React from 'react';
+import React from 'react';
import { AppToaster } from '../../singletons/toaster';
diff --git
a/web-console/src/dialogs/compaction-dialog/compaction-dialog.spec.tsx
b/web-console/src/dialogs/compaction-dialog/compaction-dialog.spec.tsx
index b17e2f6..187a07f 100644
--- a/web-console/src/dialogs/compaction-dialog/compaction-dialog.spec.tsx
+++ b/web-console/src/dialogs/compaction-dialog/compaction-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { CompactionDialog } from './compaction-dialog';
diff --git a/web-console/src/dialogs/compaction-dialog/compaction-dialog.tsx
b/web-console/src/dialogs/compaction-dialog/compaction-dialog.tsx
index 89e621a..a19ef0b 100644
--- a/web-console/src/dialogs/compaction-dialog/compaction-dialog.tsx
+++ b/web-console/src/dialogs/compaction-dialog/compaction-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import { AutoForm } from '../../components';
diff --git
a/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.spec.tsx
b/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.spec.tsx
index 273eeb4..97a23b7 100644
---
a/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.spec.tsx
+++
b/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { CoordinatorDynamicConfigDialog } from './coordinator-dynamic-config';
diff --git
a/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.tsx
b/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.tsx
index 7744eb5..ab11e09 100644
---
a/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.tsx
+++
b/web-console/src/dialogs/coordinator-dynamic-config/coordinator-dynamic-config.tsx
@@ -19,7 +19,7 @@
import { Intent } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import { AutoForm, ExternalLink } from '../../components';
import { AppToaster } from '../../singletons/toaster';
diff --git a/web-console/src/dialogs/history-dialog/history-dialog.spec.tsx
b/web-console/src/dialogs/history-dialog/history-dialog.spec.tsx
index f9e5d9f..73b54bb 100644
--- a/web-console/src/dialogs/history-dialog/history-dialog.spec.tsx
+++ b/web-console/src/dialogs/history-dialog/history-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { HistoryDialog } from './history-dialog';
diff --git a/web-console/src/dialogs/history-dialog/history-dialog.tsx
b/web-console/src/dialogs/history-dialog/history-dialog.tsx
index 13c7647..7e2f460 100644
--- a/web-console/src/dialogs/history-dialog/history-dialog.tsx
+++ b/web-console/src/dialogs/history-dialog/history-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { Card, Dialog, Divider, IDialogProps } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import { JSONCollapse } from '../../components';
diff --git
a/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.spec.tsx
b/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.spec.tsx
index e31b652..66bc051 100644
--- a/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.spec.tsx
+++ b/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { LookupEditDialog } from './lookup-edit-dialog';
diff --git a/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.tsx
b/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.tsx
index 140caa4..6f59cdf 100644
--- a/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.tsx
+++ b/web-console/src/dialogs/lookup-edit-dialog/lookup-edit-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { Button, Classes, Dialog, FormGroup, HTMLSelect, InputGroup, Intent }
from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import AceEditor from 'react-ace';
import { validJson } from '../../utils';
diff --git
a/web-console/src/dialogs/overlord-dynamic-config/overload-dynamic-config.spec.tsx
b/web-console/src/dialogs/overlord-dynamic-config/overload-dynamic-config.spec.tsx
index ad61b05..196aa55 100644
---
a/web-console/src/dialogs/overlord-dynamic-config/overload-dynamic-config.spec.tsx
+++
b/web-console/src/dialogs/overlord-dynamic-config/overload-dynamic-config.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { LookupEditDialog } from '../lookup-edit-dialog/lookup-edit-dialog';
diff --git
a/web-console/src/dialogs/overlord-dynamic-config/overlord-dynamic-config.tsx
b/web-console/src/dialogs/overlord-dynamic-config/overlord-dynamic-config.tsx
index 34773fb..1e229a0 100644
---
a/web-console/src/dialogs/overlord-dynamic-config/overlord-dynamic-config.tsx
+++
b/web-console/src/dialogs/overlord-dynamic-config/overlord-dynamic-config.tsx
@@ -19,7 +19,7 @@
import { Intent } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import { AutoForm, ExternalLink } from '../../components';
import { AppToaster } from '../../singletons/toaster';
diff --git
a/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.spec.tsx
b/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.spec.tsx
index 6fbdd55..088383f 100644
--- a/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.spec.tsx
+++ b/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { QueryPlanDialog } from './query-plan-dialog';
diff --git a/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.tsx
b/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.tsx
index 10a0385..aebfa5a 100644
--- a/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.tsx
+++ b/web-console/src/dialogs/query-plan-dialog/query-plan-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { Button, Classes, Dialog, FormGroup, InputGroup, TextArea } from
'@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import { BasicQueryExplanation, SemiJoinQueryExplanation } from '../../utils';
diff --git
a/web-console/src/dialogs/retention-dialog/retention-dialog.array.spec.ts
b/web-console/src/dialogs/retention-dialog/retention-dialog.array.spec.ts
index 7dd280b..4fd3280 100644
--- a/web-console/src/dialogs/retention-dialog/retention-dialog.array.spec.ts
+++ b/web-console/src/dialogs/retention-dialog/retention-dialog.array.spec.ts
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { reorderArray } from './retention-dialog';
diff --git a/web-console/src/dialogs/retention-dialog/retention-dialog.spec.tsx
b/web-console/src/dialogs/retention-dialog/retention-dialog.spec.tsx
index beb60c4..2e4aeaf 100644
--- a/web-console/src/dialogs/retention-dialog/retention-dialog.spec.tsx
+++ b/web-console/src/dialogs/retention-dialog/retention-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { RetentionDialog } from './retention-dialog';
diff --git a/web-console/src/dialogs/retention-dialog/retention-dialog.tsx
b/web-console/src/dialogs/retention-dialog/retention-dialog.tsx
index 7aa4f56..5648728 100644
--- a/web-console/src/dialogs/retention-dialog/retention-dialog.tsx
+++ b/web-console/src/dialogs/retention-dialog/retention-dialog.tsx
@@ -19,7 +19,7 @@
import { Button, FormGroup } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import { Rule, RuleEditor } from '../../components';
import { QueryManager } from '../../utils';
diff --git a/web-console/src/dialogs/snitch-dialog/snitch-dialog.spec.tsx
b/web-console/src/dialogs/snitch-dialog/snitch-dialog.spec.tsx
index 5ffef87..bb01327 100644
--- a/web-console/src/dialogs/snitch-dialog/snitch-dialog.spec.tsx
+++ b/web-console/src/dialogs/snitch-dialog/snitch-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { SnitchDialog } from './snitch-dialog';
diff --git a/web-console/src/dialogs/snitch-dialog/snitch-dialog.tsx
b/web-console/src/dialogs/snitch-dialog/snitch-dialog.tsx
index babe53a..cf6240a 100644
--- a/web-console/src/dialogs/snitch-dialog/snitch-dialog.tsx
+++ b/web-console/src/dialogs/snitch-dialog/snitch-dialog.tsx
@@ -27,7 +27,7 @@ import {
} from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import classNames = require('classnames');
-import * as React from 'react';
+import React from 'react';
import { HistoryDialog } from '../history-dialog/history-dialog';
diff --git a/web-console/src/dialogs/spec-dialog/spec-dialog.spec.tsx
b/web-console/src/dialogs/spec-dialog/spec-dialog.spec.tsx
index 316b583..5073ac6 100644
--- a/web-console/src/dialogs/spec-dialog/spec-dialog.spec.tsx
+++ b/web-console/src/dialogs/spec-dialog/spec-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { SpecDialog } from './spec-dialog';
diff --git a/web-console/src/dialogs/spec-dialog/spec-dialog.tsx
b/web-console/src/dialogs/spec-dialog/spec-dialog.tsx
index d3982ab..2150ccc 100644
--- a/web-console/src/dialogs/spec-dialog/spec-dialog.tsx
+++ b/web-console/src/dialogs/spec-dialog/spec-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import AceEditor from 'react-ace';
import './spec-dialog.scss';
diff --git
a/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.spec.tsx
b/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.spec.tsx
index b82536b..188911f 100644
---
a/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.spec.tsx
+++
b/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { SupervisorTableActionDialog } from './supervisor-table-action-dialog';
diff --git
a/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.tsx
b/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.tsx
index 88b7994..7082ed3 100644
---
a/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.tsx
+++
b/web-console/src/dialogs/supervisor-table-action-dialog/supervisor-table-action-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { IDialogProps } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import { ShowJson } from '../../components';
import { BasicAction, basicActionsToButtons } from '../../utils/basic-action';
diff --git
a/web-console/src/dialogs/table-action-dialog/table-action-dialog.spec.tsx
b/web-console/src/dialogs/table-action-dialog/table-action-dialog.spec.tsx
index ad7f826..7edfe0e 100644
--- a/web-console/src/dialogs/table-action-dialog/table-action-dialog.spec.tsx
+++ b/web-console/src/dialogs/table-action-dialog/table-action-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { TableActionDialog } from './table-action-dialog';
diff --git
a/web-console/src/dialogs/table-action-dialog/table-action-dialog.tsx
b/web-console/src/dialogs/table-action-dialog/table-action-dialog.tsx
index 62e93ef..3719a07 100644
--- a/web-console/src/dialogs/table-action-dialog/table-action-dialog.tsx
+++ b/web-console/src/dialogs/table-action-dialog/table-action-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { Button, Classes, Dialog, Icon, IconName, IDialogProps, Intent } from
'@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import './table-action-dialog.scss';
diff --git
a/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.spec.tsx
b/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.spec.tsx
index 64b7faa..30a3654 100644
---
a/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.spec.tsx
+++
b/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.spec.tsx
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-import * as React from 'react';
+import React from 'react';
import { render } from 'react-testing-library';
import { TaskTableActionDialog } from './task-table-action-dialog';
diff --git
a/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.tsx
b/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.tsx
index d464ffe..c7f52df 100644
---
a/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.tsx
+++
b/web-console/src/dialogs/task-table-action-dialog/task-table-action-dialog.tsx
@@ -17,7 +17,7 @@
*/
import { IDialogProps } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
import { ShowJson, ShowLog } from '../../components';
import { BasicAction, basicActionsToButtons } from '../../utils/basic-action';
diff --git a/web-console/src/entry.ts b/web-console/src/entry.ts
index 344ce12..b18a145 100644
--- a/web-console/src/entry.ts
+++ b/web-console/src/entry.ts
@@ -18,8 +18,8 @@
import 'es6-shim/es6-shim';
import 'es7-shim'; // Webpack with automatically pick browser.js which does
the shim()
-import * as React from 'react';
-import * as ReactDOM from 'react-dom';
+import React from 'react';
+import ReactDOM from 'react-dom';
import './bootstrap/react-table-defaults';
import { ConsoleApplication } from './console-application';
diff --git a/web-console/src/setup-tests.ts b/web-console/src/setup-tests.ts
index fd9f01e..45d4ee9 100644
--- a/web-console/src/setup-tests.ts
+++ b/web-console/src/setup-tests.ts
@@ -17,6 +17,6 @@
*/
import { configure } from 'enzyme';
-import * as enzymeAdapterReact16 from 'enzyme-adapter-react-16';
+import enzymeAdapterReact16 from 'enzyme-adapter-react-16';
-configure({ adapter: new enzymeAdapterReact16() });
+configure({ adapter: new (enzymeAdapterReact16 as any)() });
diff --git a/web-console/src/utils/basic-action.tsx
b/web-console/src/utils/basic-action.tsx
index c5293d9..b1c2b28 100644
--- a/web-console/src/utils/basic-action.tsx
+++ b/web-console/src/utils/basic-action.tsx
@@ -17,7 +17,7 @@
*/
import { Button, IconName, Intent, Menu, MenuItem } from '@blueprintjs/core';
-import * as React from 'react';
+import React from 'react';
export interface BasicAction {
icon?: IconName;
diff --git a/web-console/src/utils/general.tsx
b/web-console/src/utils/general.tsx
index 64ec28c..0d2dc39 100644
--- a/web-console/src/utils/general.tsx
+++ b/web-console/src/utils/general.tsx
@@ -18,9 +18,9 @@
import { Button, HTMLSelect, InputGroup, Intent } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
-import * as FileSaver from 'file-saver';
-import * as numeral from 'numeral';
-import * as React from 'react';
+import FileSaver from 'file-saver';
+import numeral from 'numeral';
+import React from 'react';
import { Filter, FilterRender } from 'react-table';
export function addFilter(filters: Filter[], id: string, value: string):
Filter[] {
diff --git a/web-console/src/utils/ingestion-spec.tsx
b/web-console/src/utils/ingestion-spec.tsx
index 1328a37..c7fc446 100644
--- a/web-console/src/utils/ingestion-spec.tsx
+++ b/web-console/src/utils/ingestion-spec.tsx
@@ -18,7 +18,7 @@
import { Code } from '@blueprintjs/core';
import { number } from 'prop-types';
-import * as React from 'react';
+import React from 'react';
import { Field } from '../components/auto-form/auto-form';
import { ExternalLink } from '../components/external-link/external-link';
diff --git a/web-console/src/views/datasource-view/datasource-view.spec.tsx
b/web-console/src/views/datasource-view/datasource-view.spec.tsx
index f966f7e..0b87da3 100644
--- a/web-console/src/views/datasource-view/datasource-view.spec.tsx
+++ b/web-console/src/views/datasource-view/datasource-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { DatasourcesView } from './datasource-view';
diff --git a/web-console/src/views/datasource-view/datasource-view.tsx
b/web-console/src/views/datasource-view/datasource-view.tsx
index 40e24fe..dc96eeb 100644
--- a/web-console/src/views/datasource-view/datasource-view.tsx
+++ b/web-console/src/views/datasource-view/datasource-view.tsx
@@ -19,7 +19,7 @@
import { Button, FormGroup, Icon, InputGroup, Intent, Popover, Position,
Switch } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import ReactTable, { Filter } from 'react-table';
import { ActionCell, RuleEditor, TableColumnSelector, ViewControlBar } from
'../../components';
diff --git a/web-console/src/views/home-view/home-view.spec.tsx
b/web-console/src/views/home-view/home-view.spec.tsx
index 321e900..a1133b4 100644
--- a/web-console/src/views/home-view/home-view.spec.tsx
+++ b/web-console/src/views/home-view/home-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { HomeView } from './home-view';
diff --git a/web-console/src/views/home-view/home-view.tsx
b/web-console/src/views/home-view/home-view.tsx
index 7936cf1..0d4cbbc 100644
--- a/web-console/src/views/home-view/home-view.tsx
+++ b/web-console/src/views/home-view/home-view.tsx
@@ -19,7 +19,7 @@
import { Card, H5, Icon } from '@blueprintjs/core';
import { IconName, IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import { UrlBaser } from '../../singletons/url-baser';
import { getHeadProp, lookupBy, pluralIfNeeded, queryDruidSql, QueryManager }
from '../../utils';
diff --git a/web-console/src/views/load-data-view/load-data-view.spec.tsx
b/web-console/src/views/load-data-view/load-data-view.spec.tsx
index edbc1fe..607b06c 100644
--- a/web-console/src/views/load-data-view/load-data-view.spec.tsx
+++ b/web-console/src/views/load-data-view/load-data-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { LoadDataView } from './load-data-view';
diff --git a/web-console/src/views/load-data-view/load-data-view.tsx
b/web-console/src/views/load-data-view/load-data-view.tsx
index 39f6b7f..12ae636 100644
--- a/web-console/src/views/load-data-view/load-data-view.tsx
+++ b/web-console/src/views/load-data-view/load-data-view.tsx
@@ -27,8 +27,8 @@ import {
} from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as classNames from 'classnames';
-import * as React from 'react';
+import classNames from 'classnames';
+import React from 'react';
import ReactTable from 'react-table';
import { AutoForm, CenterMessage, ClearableInput, ExternalLink, JSONInput,
Loader, TableCell } from '../../components';
diff --git a/web-console/src/views/lookups-view/lookups-view.spec.tsx
b/web-console/src/views/lookups-view/lookups-view.spec.tsx
index a10e8c6..a2d1cf0 100644
--- a/web-console/src/views/lookups-view/lookups-view.spec.tsx
+++ b/web-console/src/views/lookups-view/lookups-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { LookupsView } from './lookups-view';
diff --git a/web-console/src/views/lookups-view/lookups-view.tsx
b/web-console/src/views/lookups-view/lookups-view.tsx
index f9c19c3..a9dd83b 100644
--- a/web-console/src/views/lookups-view/lookups-view.tsx
+++ b/web-console/src/views/lookups-view/lookups-view.tsx
@@ -19,8 +19,8 @@
import { Button, Icon, Intent, Popover, Position } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as classNames from 'classnames';
-import * as React from 'react';
+import classNames from 'classnames';
+import React from 'react';
import ReactTable from 'react-table';
import { ActionCell, TableColumnSelector, ViewControlBar } from
'../../components';
diff --git a/web-console/src/views/segments-view/segments-view.spec.tsx
b/web-console/src/views/segments-view/segments-view.spec.tsx
index f41e0e1..b835cc6 100644
--- a/web-console/src/views/segments-view/segments-view.spec.tsx
+++ b/web-console/src/views/segments-view/segments-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { SegmentsView } from '../segments-view/segments-view';
diff --git a/web-console/src/views/segments-view/segments-view.tsx
b/web-console/src/views/segments-view/segments-view.tsx
index c8de29b..9e3f895 100644
--- a/web-console/src/views/segments-view/segments-view.tsx
+++ b/web-console/src/views/segments-view/segments-view.tsx
@@ -20,7 +20,7 @@ import { Button, Intent } from '@blueprintjs/core';
import { H5 } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import ReactTable from 'react-table';
import { Filter } from 'react-table';
diff --git a/web-console/src/views/servers-view/servers-view.spec.tsx
b/web-console/src/views/servers-view/servers-view.spec.tsx
index b9e5ca5..a8f01a7 100644
--- a/web-console/src/views/servers-view/servers-view.spec.tsx
+++ b/web-console/src/views/servers-view/servers-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { ServersView } from './servers-view';
diff --git a/web-console/src/views/servers-view/servers-view.tsx
b/web-console/src/views/servers-view/servers-view.tsx
index a17cfcc..aa0789a 100644
--- a/web-console/src/views/servers-view/servers-view.tsx
+++ b/web-console/src/views/servers-view/servers-view.tsx
@@ -20,7 +20,7 @@ import { Button, ButtonGroup, Intent, Label } from
'@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
import { sum } from 'd3-array';
-import * as React from 'react';
+import React from 'react';
import ReactTable from 'react-table';
import { Filter } from 'react-table';
diff --git a/web-console/src/views/sql-view/sql-view.spec.tsx
b/web-console/src/views/sql-view/sql-view.spec.tsx
index 23edd38..c3801d3 100644
--- a/web-console/src/views/sql-view/sql-view.spec.tsx
+++ b/web-console/src/views/sql-view/sql-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { SqlView } from './sql-view';
diff --git a/web-console/src/views/sql-view/sql-view.tsx
b/web-console/src/views/sql-view/sql-view.tsx
index 574ebf4..178b980 100644
--- a/web-console/src/views/sql-view/sql-view.tsx
+++ b/web-console/src/views/sql-view/sql-view.tsx
@@ -16,8 +16,8 @@
* limitations under the License.
*/
-import * as Hjson from 'hjson';
-import * as React from 'react';
+import Hjson from 'hjson';
+import React from 'react';
import SplitterLayout from 'react-splitter-layout';
import ReactTable from 'react-table';
diff --git a/web-console/src/views/task-view/tasks-view.spec.tsx
b/web-console/src/views/task-view/tasks-view.spec.tsx
index 3ac8029..2e962f4 100644
--- a/web-console/src/views/task-view/tasks-view.spec.tsx
+++ b/web-console/src/views/task-view/tasks-view.spec.tsx
@@ -17,7 +17,7 @@
*/
import { shallow } from 'enzyme';
-import * as React from 'react';
+import React from 'react';
import { TasksView } from './tasks-view';
diff --git a/web-console/src/views/task-view/tasks-view.tsx
b/web-console/src/views/task-view/tasks-view.tsx
index 53ed92e..d8fa4eb 100644
--- a/web-console/src/views/task-view/tasks-view.tsx
+++ b/web-console/src/views/task-view/tasks-view.tsx
@@ -19,7 +19,7 @@
import { Alert, Button, ButtonGroup, Intent, Label, Menu, MenuItem, Popover,
Position } from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import axios from 'axios';
-import * as React from 'react';
+import React from 'react';
import SplitterLayout from 'react-splitter-layout';
import ReactTable from 'react-table';
import { Filter } from 'react-table';
diff --git a/web-console/tsconfig.json b/web-console/tsconfig.json
index b13473c..510a2ea 100644
--- a/web-console/tsconfig.json
+++ b/web-console/tsconfig.json
@@ -11,6 +11,7 @@
"strictFunctionTypes": false,
"skipLibCheck": true,
"importHelpers": true,
+ "esModuleInterop": true,
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]