Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
added headers for snl health check, disabled crime smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenrach committed Dec 9, 2022
1 parent 1e02897 commit f6db711
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion infrastructure/template/api-op-snl-health-policy.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<policies>
<inbound>
<base />

<send-request ignore-error="false" timeout="20" response-variable-name="snlClientResponse" mode="new">
<set-url>https://#{keyVaultHost}#/secrets/snl-user-id/?api-version=7.0</set-url>
<set-method>GET</set-method>
Expand Down Expand Up @@ -56,6 +56,15 @@
return new Guid(guidBinary).ToString();
}</value>
</set-header>
<set-header name="Source-System" exists-action="override">
<value>CFT</value>
</set-header>
<set-header name="Request-Created-At" exists-action="override">
<value>@(DateTime.Now.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"))</value>
</set-header>
<set-header name="Accept" exists-action="override">
<value>application/json</value>
</set-header>
<set-header name="Destination-System" exists-action="override">
<value>SNL</value>
</set-header>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
@Slf4j
@SpringBootTest(classes = {Application.class})
@ActiveProfiles("smoke")
@Disabled
@DisplayName("Smoke Test for the HMI Hearing Context")
@SuppressWarnings("java:S2187")
public class CrimeApiSmokeTest extends SmokeTest {
Expand Down

0 comments on commit f6db711

Please sign in to comment.