@Override
    protected JobConfigInfo handleRequest(
            HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) {
        return createJobConfigInfo(executionGraph);
    }
@Test
    void handleRequest_executionConfigWithSecretValues_excludesSecretValuesFromResponse()
            throws HandlerRequestException {
        final JobConfigHandler jobConfigHandler =
                new JobConfigHandler(
                        () -> null,
                        TestingUtils.TIMEOUT,
                        Collections.emptyMap(),
                        JobConfigHeaders.getInstance(),
                        new DefaultExecutionGraphCache(TestingUtils.TIMEOUT, TestingUtils.TIMEOUT),
                        Executors.directExecutor());

        final Map<String, String> globalJobParameters = new HashMap<>();
        globalJobParameters.put("foobar", "barfoo");
        globalJobParameters.put("bar.secret.foo", "my secret");
        globalJobParameters.put("password.to.my.safe", "12345");

        final ArchivedExecutionConfig archivedExecutionConfig =
                new ArchivedExecutionConfigBuilder()
                        .setGlobalJobParameters(globalJobParameters)
                        .build();
        final AccessExecutionGraph archivedExecutionGraph =
                new ArchivedExecutionGraphBuilder()
                        .setArchivedExecutionConfig(archivedExecutionConfig)
                        .build();
        final HandlerRequest<EmptyRequestBody> handlerRequest =
                createRequest(archivedExecutionGraph.getJobID());

        final JobConfigInfo jobConfigInfoResponse =
                jobConfigHandler.handleRequest(handlerRequest, archivedExecutionGraph);

        final Map<String, String> filteredGlobalJobParameters =
                filterSecretValues(globalJobParameters);

        assertThat(jobConfigInfoResponse.getExecutionConfigInfo().getGlobalJobParameters())
                .isEqualTo(filteredGlobalJobParameters);
    }