[database] new, API table metadata (#9002)

Migrates and completely removes: '/superset/table/<database_id>/<table_name>/<schema>/'
- Guarantees database filtering based on the user permissions
- Full OpenAPI spec
- Better error handling
This commit is contained in:
Daniel Vaz Gaspar
2020-01-29 09:51:06 +00:00
committed by GitHub
parent fb17acd122
commit d5dbfc886d
8 changed files with 423 additions and 105 deletions

View File

@@ -331,7 +331,7 @@ describe('async actions', () => {
fetchMock.delete(updateTableSchemaEndpoint, {});
fetchMock.post(updateTableSchemaEndpoint, JSON.stringify({ id: 1 }));
const getTableMetadataEndpoint = 'glob:*/superset/table/*';
const getTableMetadataEndpoint = 'glob:*/api/v1/database/*';
fetchMock.get(getTableMetadataEndpoint, {});
const getExtraTableMetadataEndpoint =
'glob:*/superset/extra_table_metadata/*';