Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/dora/dora_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,24 @@ def launch_dora(
full_name,
)
)

snooper_el_engine_context = participant_contexts[
index
].snooper_el_engine_context
execution_snooper_url = ""
if snooper_el_engine_context:
execution_snooper_url = "http://{0}:{1}".format(
snooper_el_engine_context.ip_addr,
snooper_el_engine_context.engine_rpc_port_num,
)

all_el_client_info.append(
new_el_client_info(
"http://{0}:{1}".format(
el_client.ip_addr,
el_client.rpc_port_num,
),
execution_snooper_url,
full_name,
)
)
Expand Down Expand Up @@ -202,8 +214,9 @@ def new_cl_client_info(beacon_http_url, full_name):
}


def new_el_client_info(execution_http_url, full_name):
def new_el_client_info(execution_http_url, execution_snooper_url, full_name):
return {
"Execution_HTTP_URL": execution_http_url,
"Execution_Engine_Snooper_URL": execution_snooper_url,
"FullName": full_name,
}
1 change: 1 addition & 0 deletions static_files/dora-config/config.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ executionapi:
endpoints:
{{ range $elClient := .ELClientInfo }}
- url: "{{ $elClient.Execution_HTTP_URL }}"
engineSnooperUrl: "{{ $elClient.Execution_Engine_Snooper_URL }}"
name: "{{ $elClient.FullName }}"
archive: true
{{- end }}
Expand Down
Loading