Skip to content

Commit

Permalink
CCM-2166: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kennedy1265 committed Sep 30, 2024
1 parent d1da8a6 commit b9bc694
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 2 additions & 4 deletions proxies/live/apiproxy/targets/target.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
<SSLInfo>
<Enabled>true</Enabled>
</SSLInfo>
<LoadBalancer>
<Server name="communications-manager-target" />
</LoadBalancer>
<Path>{requestpath}</Path>
<URL>https://comms-apim.de-rake4.communications.national.nhs.uk</URL>
<Path>{requestpath}</Path>
<Properties>
<Property name="io.timeout.millis">29000</Property>
</Properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
<Name>requestpath</Name>
<Value>/api/v1/send</Value>
</AssignVariable>
{% if ENVIRONMENT_TYPE != 'sandbox' %}
<AssignVariable>
<Name>target.url</Name>
<Value>https://comms-apim.de-rake4.communications.national.nhs.uk/api/v1/send</Value>
</AssignVariable>
{% endif %}
<Set>
<Payload contentType="application/json" variablePrefix="%" variableSuffix="#">%data.payload#</Payload>
<Headers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
<Name>requestpath</Name>
<Template>/api/v1/messages/{data.messageId}</Template>
</AssignVariable>
{% if ENVIRONMENT_TYPE != 'sandbox' %}
<AssignVariable>
<Name>target.url</Name>
<Value>https://comms-apim.de-rake4.communications.national.nhs.uk/api/v1/messages/{data.messageId}</Value>
</AssignVariable>
{% endif %}
<Set>
<Headers>
<Header name="X-Correlation-Id">{backendCorrelationId}</Header>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
<Name>requestpath</Name>
<Value>/api/channels/nhsapp/accounts</Value>
</AssignVariable>
{% if ENVIRONMENT_TYPE != 'sandbox' %}
<AssignVariable>
<Name>target.url</Name>
<Value>https://comms-apim.de-rake4.communications.national.nhs.uk/api/channels/nhsapp/accounts</Value>
</AssignVariable>
{% endif %}
<Set>
<Headers>
<Header name="X-Correlation-Id">{backendCorrelationId}</Header>
Expand Down

0 comments on commit b9bc694

Please sign in to comment.