Skip to content

Adds synthetic daemons for Electros UI#168

Open
gabrielefronze wants to merge 4 commits into
Elemento-Modular-Cloud:developfrom
gabrielefronze:syntetic-daemons
Open

Adds synthetic daemons for Electros UI#168
gabrielefronze wants to merge 4 commits into
Elemento-Modular-Cloud:developfrom
gabrielefronze:syntetic-daemons

Conversation

@gabrielefronze
Copy link
Copy Markdown
Member

Introduces a standalone suite of Node.js-based HTTP mock servers that emulate Elemento client daemons. This enables Electros UI development and testing without requiring native daemon binaries to be running.

Key features:

  • Provides mock implementations for Auth, Compute, Storage, Network, Targets, Services, and MCP APIs.
  • Includes comprehensive fixtures for IaaS (VMs, volumes, networks, templates, host status, port forwards) and PaaS (KaaS, Object Storage, DBaaS, n8n, OpenCLAW service instances, billing transactions, licenses, targets).
  • Supports configurable scenarios and state persistence for mock data.
  • Integrates a new npm run synthetic-daemons script for easy startup.
  • Updates the main README.md with detailed setup instructions, including the new --no-daemons Electros CLI switch.

This enhancement significantly streamlines the local UI development workflow, offering a consistent and predictable environment for faster feature iteration and bug reproduction.

Add mock HTTP servers to emulate Elemento client daemons, enabling Electros
UI development without requiring native ECD binaries. This provides a
consistent and controllable mock data environment.

Updates `--no-daemons` flag description and adds detailed instructions in the README.
… GUI

The `pingPath` configuration for synthetic daemons now defaults to `/ping` if `TARGET_PING_API_KEY` is not explicitly provided. This improves configuration flexibility and robustness.

Updates the `elemento-gui-new` submodule to the latest commit.
Introduces mock API endpoints and fixture data for license management, enabling UI development for the "Settings → Licenses" section in Electros. This includes functionality to list, view armed, and arm licenses.

Enriches VM and Volume fixture data by populating `serverurl` and `target_type` fields, which were previously null. This provides more complete and realistic IAAS data for various UI components.

Updates fixture generation scripts and README accordingly.
Updates the `elemento-gui-new` submodule to incorporate the latest UI changes relevant to the ongoing synthetic daemons feature development.
@gabrielefronze gabrielefronze requested a review from C4lopsitta May 22, 2026 22:11
@gabrielefronze gabrielefronze added the enhancement New feature or request label May 22, 2026
@fvalle1
Copy link
Copy Markdown
Contributor

fvalle1 commented May 27, 2026

please check conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants