Laith
12/21/2022, 3:24 PM@PactBrokerAuth
annotation using a java system property, since the documentation says, “the token
, username
and password
values also take Java system property expressions”. A quick google of java system property expressions led me to Spring expression language, so I tried password = "#{systemProperties['pact.broker.password']}"
, and also password = "System.getProperty(\"pact.broker.password\")"
(where I’ve defined pact.broker.password
on the command line), but in both cases the string was interpreted literally. I’m not too familiar with spring, or java for that matter, would you be able to help me get the syntax right? Thanksuglyog
password = "${pact.broker.password}"
Laith
12/22/2022, 10:02 AM