public HttpResponse validateSecretStore(Application application, SystemName system, Slime slime) {
        addExternalId(application.getId().tenant(), system, slime);
        var uri = getUri(application);
        return postRequest(uri, slime);
    }
@Test
    public void createsCorrectRequestData() throws IOException {
        var app = mockApplication();
        var requestBody = SlimeUtils.jsonToSlime("{\"awsId\":\"123\"," +
                "\"name\":\"store\"," +
                "\"role\":\"role\"," +
                "\"region\":\"some-region\"," +
                "\"parameterName\":\"some-parameter\"" +
                "}");
        var expectedSecretName = SecretStoreExternalIdRetriever.secretName(TenantName.defaultName(), SystemName.PublicCd, "store");
        when(secretStore.getSecret(expectedSecretName)).thenReturn("some-secret-value");
        stubFor(post(urlEqualTo("/validate-secret-store"))
                .withRequestBody(equalToJson("{\"awsId\":\"123\"," +
                        "\"name\":\"store\"," +
                        "\"role\":\"role\"," +
                        "\"region\":\"some-region\"," +
                        "\"parameterName\":\"some-parameter\"," +
                        "\"externalId\":\"some-secret-value\"" +
                        "}"))
                .willReturn(aResponse()
                        .withStatus(200)
                        .withBody("is ok")));
        var response = secretStoreValidator.validateSecretStore(app, SystemName.PublicCd, requestBody);
        var body = new ByteArrayOutputStream();
        response.render(body);
        assertEquals("is ok", body.toString());
    }