Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of variables set by the run control #83

Merged
merged 5 commits into from
Oct 2, 2024
Merged
Changes from 2 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
25 changes: 21 additions & 4 deletions config/listrev-objects.data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<attr name="commandline_parameters" type="string">
<data val="Process PID $$;"/>
<data val="trap &apos;pkill -INT -P $$&apos; EXIT;"/>
<data val="gunicorn -b 0.0.0.0:25000 --workers=1 --worker-class=gthread --threads=2 --timeout 5000000000 --log-level=debug connection-service.connection-flask:app"/>
<data val="gunicorn -b 0.0.0.0:${CONNECTION_PORT} --workers=1 --worker-class=gthread --threads=2 --timeout 5000000000 --log-level=debug connection-service.connection-flask:app"/>
</attr>
<attr name="threads" type="u16" val="1"/>
<rel name="runs_on" class="VirtualHost" id="vlocalhost"/>
Expand Down Expand Up @@ -526,9 +526,16 @@
<attr name="value" type="string" val="/tmp/trace_buffer_{host}_lrSession"/>
</obj>

<obj class="Variable" id="daqapp-cli-configuration">
<attr name="name" type="string" val="DAQAPP_CLI_CONFIG_SVC"/>
<!-- value filled by the run control-->
<attr name="value" type="string" val=""/>
</obj>

<obj class="Variable" id="session-env-connectivity-port">
<attr name="name" type="string" val="CONNECTION_PORT"/>
<attr name="value" type="string" val="25000"/>
<!-- value filled by the run control-->
<attr name="value" type="string" val=""/>
</obj>

<obj class="Variable" id="session-env-connectivity-server">
Expand All @@ -538,23 +545,33 @@

<obj class="Variable" id="session-env-session-name-0">
<attr name="name" type="string" val="DUNEDAQ_PARTITION"/>
<attr name="value" type="string" val="lr-session"/>
<!-- value filled by the run control-->
<attr name="value" type="string" val=""/>
</obj>

<obj class="Variable" id="session-env-session-name-1">
<attr name="name" type="string" val="DUNEDAQ_SESSION"/>
<attr name="value" type="string" val="lr-session"/>
<!-- value filled by the run control-->
<attr name="value" type="string" val=""/>
</obj>

<obj class="Variable" id="session-env-app-name">
<attr name="name" type="string" val="DUNEDAQ_APPLICATION_NAME"/>
<!-- value filled by the run control-->
<attr name="value" type="string" val=""/>
</obj>

<obj class="VariableSet" id="common-env">
<rel name="contains">
<ref class="Variable" id="daqapp-cli-configuration"/>
<ref class="Variable" id="DUNEDAQ_ERS_ERROR"/>
<ref class="Variable" id="DUNEDAQ_ERS_FATAL"/>
<ref class="Variable" id="DUNEDAQ_ERS_INFO"/>
<ref class="Variable" id="DUNEDAQ_ERS_VERBOSITY_LEVEL"/>
<ref class="Variable" id="DUNEDAQ_ERS_WARNING"/>
<ref class="Variable" id="session-env-session-name-0"/>
<ref class="Variable" id="session-env-session-name-1"/>
<ref class="Variable" id="session-env-app-name"/>
<ref class="Variable" id="session-env-connectivity-server"/>
<ref class="Variable" id="session-env-connectivity-port"/>
</rel>
Expand Down
Loading