Commit Graph

7 Commits

Author SHA1 Message Date
Timur Gordon
5f5dd35dbc fix: resolve duplicate LogInfo type and method name issues
- Removed duplicate LogInfo type definition for WASM
- Fixed run_job client method to call 'job.run' instead of 'run_job'
- Removed unused imports (wasm_bindgen, PathBuf)
- Admin UI now builds successfully

All components working:
- OpenRPC client compiles for both native and WASM
- Admin UI builds without errors
- Method names aligned between client and server
2025-10-27 15:42:27 +01:00
Timur Gordon
9b3477d6d2 feat: align OpenRPC server with simplified client API
- Updated RegisterRunnerParams to only require name (queue = name)
- Added AddRunnerParams with RunnerConfig for add_runner method
- Updated RunnerManagementParams and StopRunnerParams with secrets
- Added add_runner method to OpenRPC trait and implementation
- Removed duplicate AddRunnerParams definition
- Updated client register_runner to send params as JSON object
- Added TODO comments for moving secrets to HTTP headers
2025-10-27 14:48:46 +01:00
Timur Gordon
98b2718d58 feat: simplify OpenRPC API and reorganize examples
- Simplified RunnerConfig to just name, command, and optional env
- Removed RunnerType and ProcessManagerType enums
- Removed db_path, redis_url, binary_path from config
- Made runner name also serve as queue name (no separate queue param)
- Added secret-based authentication to all runner management methods
- Created comprehensive osiris_openrpc example
- Archived old examples to _archive/
- Updated client API to match simplified supervisor interface
2025-10-27 14:20:40 +01:00
Timur Gordon
e2971a335c Production deployment with zinit config 2025-10-20 22:24:48 +02:00
Timur Gordon
44b1dd4249 remove unused dep and move job out 2025-09-01 16:21:31 +02:00
Timur Gordon
ef17d36300 update api, fix tests and examples 2025-08-27 10:07:53 +02:00
Timur Gordon
767c66fb6a initial commit 2025-08-26 14:49:21 +02:00