Don't re-use RestUtils found in module index-service in module external-api to avoid accidental API changes

Description

The External API uses the utility class RestUtils.java from the module index-service for building JSON responses and parsing filters.

While it usually would be a good idea to avoid code duplication, re-using this utility class in the module external-api is risky as it won't be obvious to a developer working on the utility class that changes the class will potentially break the External API of Opencast.

The goal of this task is the re-factor the RestUtils utility class of the index-service into the module external-api by intentionally duplicating the needed code snippets to remove this unobvious dependency.

Assignee

Sven Stauber

Reporter

Sven Stauber

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure