Skip to content

Commit

Permalink
Set target to point to VRS INT API Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-young-12-nhs committed Feb 8, 2024
1 parent 4d59006 commit d812ffd
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions proxies/live/apiproxy/targets/target.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,14 @@
<Condition>oauthV2.OauthV2.VerifyAccessToken.failed</Condition>
</FaultRule>
</FaultRules>
<!--
To point to a named target server as this is how it SHOULD be implemented:
For example:
<HTTPTargetConnection>
<SSLInfo>
<Enabled>true</Enabled>
</SSLInfo>
<LoadBalancer>
<Server name="validated-relationships-service-api" />
</LoadBalancer>
</HTTPTargetConnection>
-->
<HTTPTargetConnection>
<URL>http://mocktarget.apigee.net</URL>
<Properties>
<Property name="supports.http10">true</Property>
<Property name="request.retain.headers">User-Agent,Referer,Accept-Language</Property>
<Property name="retain.queryparams">apikey</Property>
</Properties>
<!--TODO: The target needs to configured on a per enironment basis (NPA-1979)
This URL will also need to change once we have DNS in place (NPA-1669)
-->
<URL>https://6e6ljoc1a5.execute-api.eu-west-2.amazonaws.com/default/api</URL>
<Properties>
<Property name="supports.http10">true</Property>
<Property name="request.retain.headers">User-Agent,Referer,Accept-Language</Property>
</Properties>
</HTTPTargetConnection>
</TargetEndpoint>

0 comments on commit d812ffd

Please sign in to comment.