class GlobalPropertyResource {

    @POST
    @Consumes(MediaType.APPLICATION_JSON)
    @Timed
    @UnitOfWork
    @ApiOperation(value = "Save global property", response = GlobalPropertyDomain.class)
    public Response save(@NotNull @Valid final GlobalPropertyDomain globalProperty) {
        final GlobalPropertyDomain propertyDomain = service.save(globalProperty);
        return Response.status(Response.Status.CREATED).entity(propertyDomain).build();
    }

}