use of com.sequenceiq.environment.api.v1.telemetry.model.response.TestAnonymizationRuleResponse in project cloudbreak by hortonworks.
the class AccountTelemetryController method testRulePattern.
@Override
@CheckPermissionByAccount(action = AuthorizationResourceAction.POWERUSER_ONLY)
public TestAnonymizationRuleResponse testRulePattern(TestAnonymizationRuleRequest request) {
TestAnonymizationRuleResponse response = new TestAnonymizationRuleResponse();
response.setOutput(accountTelemetryService.testRulePatterns(request.getRules(), request.getInput()));
return response;
}
Aggregations