Skip to content

[feature][add][server] add minimal HTTP server module for job submission and status query#1359

Merged
wgzhao merged 2 commits intomasterfrom
add_server_module
Sep 23, 2025
Merged

[feature][add][server] add minimal HTTP server module for job submission and status query#1359
wgzhao merged 2 commits intomasterfrom
add_server_module

Conversation

@wgzhao
Copy link
Owner

@wgzhao wgzhao commented Sep 22, 2025

This PR introduces a new server module that provides a lightweight HTTP API for Addax job submission and status tracking.

  • Implements a minimal Java HttpServer for /api/submit (POST) and /api/status?taskId={taskId} (GET) endpoints
  • Uses reflection to invoke Engine.entry(String[]) with job config written to a temporary file
  • Controls concurrency via Semaphore; tracks task state in-memory

@wgzhao wgzhao merged commit a0d6b9a into master Sep 23, 2025
2 checks passed
@wgzhao wgzhao deleted the add_server_module branch September 23, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant