@GET
    @Path("{name}")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Response getConfig(@PathParam("name") String configName) {
        log.trace(String.format(MESSAGE_CONFIG, QUERY));

        final TelemetryConfig config =
                nullIsNotFound(configService.getConfig(configName), CONFIG_NOT_FOUND);
        final ObjectNode root = codec(TelemetryConfig.class).encode(config, this);
        return ok(root).build();
    }
@Test
    public void testUpdateConfigAddressWithModifyOperation() {
        expect(mockConfigAdminService.getConfig(anyString()))
                .andReturn(telemetryConfig).once();
        mockConfigAdminService.updateTelemetryConfig(telemetryConfig);
        replay(mockConfigAdminService);

        final WebTarget wt = target();
        Response response = wt.path(PATH + "/address/test1/address1")
                .request(MediaType.APPLICATION_JSON_TYPE)
                .put(Entity.json(""));
        final int status = response.getStatus();

        assertEquals(200, status);

        verify(mockConfigAdminService);
    }