@GET
    @Produces(MediaTypeRestconf.APPLICATION_YANG_DATA_JSON)
    @Path("data/{identifier : .+}")
    public Response handleGetRequest(@PathParam("identifier") String uriString) {
        log.debug("handleGetRequest: {}", uriString);

        URI uri = uriInfo.getRequestUri();

        try {
            ObjectNode node = service.runGetOperationOnDataResource(uri);
            if (node == null) {
                RestconfError error =
                        RestconfError.builder(RestconfError.ErrorType.PROTOCOL,
                                RestconfError.ErrorTag.INVALID_VALUE)
                        .errorMessage("Resource not found")
                        .errorPath(uriString)
                        .errorAppTag("handleGetRequest")
                        .build();
                return Response.status(NOT_FOUND)
                        .entity(RestconfError.wrapErrorAsJson(Arrays.asList(error)))
                        .build();
            }
            return Response.ok(node)
            .build();
        } catch (RestconfException e) {
            log.error("ERROR: handleGetRequest: {}", e.getMessage());
            log.debug("Exception in handleGetRequest:", e);
            return Response.status(e.getResponse().getStatus())
                    .entity(e.toRestconfErrorJson())
                    .build();
        } catch (Exception e) {
            RestconfError error = RestconfError
                    .builder(RestconfError.ErrorType.APPLICATION, RestconfError.ErrorTag.OPERATION_FAILED)
                    .errorMessage(e.getMessage()).errorAppTag("handlePostRequest").build();
            return Response.status(INTERNAL_SERVER_ERROR)
                    .entity(RestconfError.wrapErrorAsJson(Arrays.asList(error)))
                    .build();
        }
    }
@Test
    public void testHandleGetRequest() {
        ObjectMapper mapper = new ObjectMapper();
        ObjectNode node = mapper.createObjectNode();
        expect(restconfService
                .runGetOperationOnDataResource(URI.create(getBaseUri() + DATA_IETF_SYSTEM_SYSTEM)))
                .andReturn(node).anyTimes();
        replay(restconfService);

        WebTarget wt = target();
        String response = wt.path("/" + DATA_IETF_SYSTEM_SYSTEM).request().get(String.class);
        assertNotNull(response);
    }