fiaisis / run-detection

The way we detect when our system for reduction should automatically perform a reduction and with what arguments we should do that.
GNU General Public License v3.0
1 stars 1 forks source link

Add args for program to use the environment #19

Closed Pasarus closed 1 year ago

Pasarus commented 1 year ago

refs #14 The program now can use environment variables if they are set

Specifically just
ACTIVEMQ_IP - Ip of the ActiveMQ server to receive ACTIVEMQ_USER - Username for connecting to ActiveMQ ACTIVEMQ_PASS - Password for connecting to ActiveMQ

You can test by setting these variables yourself and then ensuring that the logs output that is connecting to the correct values.

keiranjprice101 commented 1 year ago

Did you consider using environment variables instead of CLI args?

Edit I misread on my initial skim through.