NoETL UI
NoETL UI for creating, editing, and executing NoETL playbooks.
Overview
The NoETL Playbook Editor UI provides a visual interface for working with NoETL playbooks:
- Catalog View: View, manage, and execute playbooks from the catalog
- Block-Based Editor: Create and edit playbooks using a visual, block-based interface
- Execution View: Monitor the execution of playbooks in real-time
Installation
The UI is integrated with the NoETL server and requires no additional installation.
noetl server
By default, the UI is accessible at http://localhost:8082.
Features
Catalog View
The catalog view provides a list of all playbooks in the NoETL catalog:
- View all playbooks in the catalog
- Create new playbooks
- Edit existing playbooks
- Execute playbooks
- View playbook details
Block-Based Editor
The block-based editor allows you to create and edit playbooks using a visual interface:
- A canvas for arranging and connecting workflow steps
- A properties panel for editing step properties
- Tabs for editing the workflow, workload, and YAML representation of the playbook
- Buttons for saving, executing, exporting, and importing playbooks
Creating a New Playbook
To create a new playbook:
- Click the "Create New Playbook" button in the catalog view
- Use the block-based editor to add steps, tasks, and conditions to the workflow
- Edit the properties of each step in the properties panel
- Save the playbook to the catalog
Editing an Existing Playbook
To edit an existing playbook:
- Click the "Edit" button for the playbook in the catalog view
- Use the block-based editor to modify the workflow
- Save the changes to the catalog
Execution View
The execution view allows you to monitor the execution of playbooks in real-time. The view provides:
- The current status of the execution
- Details about the execution (ID, playbook, version, start time, end time, duration)
- A list of execution steps and their status
- The results of the execution
Usage Examples
Example 1: Creating a Simple Playbook
- Click the "Create New Playbook" button in the catalog view
- Add a "Start" step to the workflow
- Add a "Fetch Data" task to the workflow
- Connect the "Start" step to the "Fetch Data" task
- Edit the properties of the "Fetch Data" task to specify the data source
- Save the playbook to the catalog
Example 2: Executing a Playbook
- Find the playbook in the catalog view
- Click the "Execute" button for the playbook
- View the execution status in the execution view
- When the execution is complete, view the results
Technical Details
The UI is built using the following technologies:
- Frontend: HTML, CSS, JavaScript, React
- UI Framework: Ant Design
- Block-Based Editor: React Flow
- Code Editor: Monaco Editor
- Backend: FastAPI
The UI is served by the NoETL server and communicates with the server using REST API calls.
Troubleshooting
If you encounter issues with the UI:
- Check the browser console for error messages
- Check the NoETL server logs for error messages
- Report the issue on the NoETL GitHub repository
Future Enhancements
Planned enhancements for the UI include:
- Improved Block-Based Editor: More node types, better connection handling, and improved layout
- Collaborative Editing: Allow multiple users to edit the same playbook simultaneously
- Version History: View and restore previous versions of playbooks
- Execution History: View the history of playbook executions
- Debugging Tools: Step through playbook execution for debugging