resolve_url
Resolve a service name to its full URL for the current project slot. Pass project and slot to look up a service in another project.
Instructions
Full URL (e.g. http://localhost:23417) of one service in the current slot. Pass project and slot to look up another project; both are required together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | directory to resolve the current project from; defaults to where the server was started | |
| slot | No | slot name; defaults to the current slot | |
| project | No | another project's name; requires slot | |
| service | Yes | service name from the manifest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | empty for tcp services | |
| slot | Yes | ||
| proto | Yes | ||
| project | Yes | ||
| service | Yes |