refactor complete
This commit is contained in:
20
specs/012-remove-superset-tool/quickstart.md
Normal file
20
specs/012-remove-superset-tool/quickstart.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Quickstart: 012-remove-superset-tool
|
||||
|
||||
## Overview
|
||||
This feature refactors the backend to remove the `superset_tool` dependency. All Superset-related logic is now centralized in `backend/src/core/superset_client.py`.
|
||||
|
||||
## Key Changes
|
||||
1. **Models**: `Environment` model in `backend/src/core/config_models.py` now includes `verify_ssl` and `timeout`.
|
||||
2. **Client**: `SupersetClient` in `backend/src/core/superset_client.py` is now self-contained and does not inherit from any external module.
|
||||
3. **Utilities**: Network and file I/O utilities previously in `superset_tool` are now available in `backend/src/core/utils/`.
|
||||
|
||||
## Verification Steps
|
||||
1. **Run Backend**: Start the FastAPI server and ensure no import errors occur.
|
||||
```bash
|
||||
cd backend && .venv/bin/python3 -m uvicorn src.app:app --reload
|
||||
```
|
||||
2. **Check Connections**: Verify that existing Superset connections load correctly in the UI/API.
|
||||
3. **Test Migration**: Trigger a dashboard list refresh or a migration task to confirm the consolidated client works as expected.
|
||||
|
||||
## Cleanup
|
||||
Once verified, the `superset_tool/` directory and root-level CLI scripts (`migration_script.py`, `run_mapper.py`) can be deleted.
|
||||
Reference in New Issue
Block a user