mirror of
https://github.com/apache/superset.git
synced 2026-06-05 23:59:25 +00:00
[api] [database] New, migrate to new FAB API side by side (#7665)
* [api] [database] New, migrate to new FAB API side by side * [database] view and api module reorganization * [style] Fix, flake8 * [test] [database] Fix, tests for new database view structure * [style] [database] black * [database] Fix, missing apache license * Migrate databaasync api to the new api * flake8 * More efficient api call * Revert querySearch to old API, test * dummy commit * revert config.py commit * Remove unused import * Remove old API view * Remove new API view * Add database filter * Add database filter * Add database filter * Remove comments on js * Fix JS test * Fix pylint * QuerySearch new databaseasync API endpoint * Fix, query search new api endpoint * Reintroduce old API for smooth side by side migration * Better naming and use common hooks for view and API * black it * Fix, database mixin must come first * Fix, lint
This commit is contained in:
committed by
Maxime Beauchemin
parent
9dd6a385e6
commit
b65ab51b63
@@ -207,7 +207,7 @@ class QuerySearch extends React.PureComponent {
|
||||
<div className="col-sm-2">
|
||||
<AsyncSelect
|
||||
onChange={this.onChange}
|
||||
dataEndpoint="/databaseasync/api/read?_flt_0_expose_in_sqllab=1"
|
||||
dataEndpoint="/api/v1/database/?q=(filters:!((col:expose_in_sqllab,opr:eq,value:!t)))"
|
||||
value={this.state.databaseId}
|
||||
mutator={this.dbMutator}
|
||||
placeholder={t('Filter by database')}
|
||||
|
||||
Reference in New Issue
Block a user