class ComputeInheritedRulesPreparationPlugin extends ActionHandler {

    @Override
    public ItemStatus execute(WorkerParameters param, HandlerIO handler)
        throws ProcessingException {
        JsonNode dslQuery = handler.getJsonFromWorkspace("query.json");
        try {
            process(handler, dslQuery);
        } catch (ComputedInheritedRulesException e) {
            LOGGER.error(String.format("ComputeInheritedRules preparation failed with status [%s]", e.getStatusCode()), e);
            ObjectNode error = createObjectNode().put("error", e.getMessage());
            return buildItemStatus(PLUGIN_NAME, e.getStatusCode(), error);
        }
        return buildItemStatus(PLUGIN_NAME, StatusCode.OK, null);
    }

    public  ComputeInheritedRulesPreparationPlugin();
    @VisibleForTesting  ComputeInheritedRulesPreparationPlugin(MetaDataClientFactory metaDataClientFactory);

}