configuration
drunc.process_manager.configuration
Functions
get_commandline_parameters(config_filename, session_dal, session_name, obj)
Build CLI arguments used to launch a process manager application.
The control endpoint is derived from the first service exposed by obj whose
id ends with "_control". If no such service is present, defaults are kept
(empty protocol and port -1), matching existing behavior.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_filename
|
str
|
OKS configuration filename/path passed to |
required |
session_dal
|
Session
|
Session DAL object containing session metadata and log level. |
required |
session_name
|
str
|
Runtime session name passed to |
required |
obj
|
Any
|
DAL object (application/controller) being launched. |
required |
Returns:
| Type | Description |
|---|---|
list[str]
|
Ordered list of command-line arguments for process launch. |