Skip to content

Rulebased Recognition

Matthias Schildwächter edited this page Oct 10, 2017 · 4 revisions

Description

Purpose of this service is to apply regular expressions to the input to find parts to anonymize. There are build-in rules for birthdates, IP, IBAN, licence plates, e-mails and client numbers. User can en/disable, change and create rules.

Installation

Before installing the rule based service, core and document management need to be installed. After that mvn clean install is enough.

API

The rule based service is accessible under http://localhost:9002

Method Path Result Comment
POST /rules/annotate/{documentId} List of created anonymizations
GET /api/rule/{ruleId} the rule
GET /api/rule all rules
DELETE /api/rule/{ruleId} deletes the rule
POST /api/rule the created rule body needs to be a rule
PUT /api/rule/{id} the updated rule body needs to be a rule
Clone this wiki locally