so i have the ff. code in my TargetEndpoint
<HTTPTargetConnection>
<Properties/>
<URL>http://13.250.4.156:8080/fintech-account-service/accounts/linked
</URL>
<Condition>(environment.name = "dev")</Condition>
</HTTPTargetConnection>
<HTTPTargetConnection>
<Properties/>
<URL>http://54.169.84.181:8080/fintech-account-service/accounts/linked
</URL>
<Condition>(environment.name = "sit")</Condition>
</HTTPTargetConnection>
Those dont work though.
PS: I’ve already done this by having two target endpoints
<RouteRule name="DEV">
<TargetEndpoint>LinkedAccountEndpoint_DEV</TargetEndpoint>
<Condition>(environment.name = "dev")</Condition>
</RouteRule>
<RouteRule name="DEV">
<TargetEndpoint>LinkedAccountEndpoint_SIT</TargetEndpoint>
<Condition>(environment.name = "sit")</Condition>
</RouteRule>
Just looking for a way if its possible to do with just the HTTPTargetConnection on a single target endpoint instead of two.