Deploy and Run Ballerina Project on WSO2 Integrator Runtime
sf_deploy_projectDeploys a Ballerina project by starting it in the background. Returns started status and process ID for later service management.
Instructions
Starts the Ballerina service in the background via 'bal run'. The port is passed through as a Ballerina configurable override so the reported service_url matches the actual listener.
Returns started=true when the listener has actually come up, plus a PID you can pass to sf_stop_project to terminate the service later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to the Ballerina project to deploy | |
| port | No | HTTP listener port (default: 9090) |