Hi,
I'm hoping this is a fairly quick question - I have 2 backends for my non-prod environments which we use Target Servers to specify the target endpoint:
<LoadBalancer>
<Algorithm>RoundRobin</Algorithm>
<Server name="servera"/>
<Server name="serverb"/>
</LoadBalancer>
Solved! Go to Solution.
For reference, I've solved this with the CICD pipeline, using a variable in a target proxy template which gets replaced at build with the actual target servers and creates the TargetEndpoint dynamically into the actual default.xml
default.xml.template
<LoadBalancer>
<Algorithm>RoundRobin</Algorithm>
$LOADBALANCER_SERVERS
</LoadBalancer>
For reference, I've solved this with the CICD pipeline, using a variable in a target proxy template which gets replaced at build with the actual target servers and creates the TargetEndpoint dynamically into the actual default.xml
default.xml.template
<LoadBalancer>
<Algorithm>RoundRobin</Algorithm>
$LOADBALANCER_SERVERS
</LoadBalancer>