Zanata Client API (old endpoints support)

Description

There are bugs regarding old endpoint handling when transition from JAX-RS1 to JAX-RS2 was done using latest develop branch.

This code does not work as intended when connecting to old endpoint, because 404 is now an exception ResponseProcessingException:

It should be something like:

SourceDocResourceClient.java: getResource
SourceDocResourceClient.java: putResource
SourceDocResourceClient.java: deleteResource
TransDocResourceClient.java: getTranslations
AsyncProcessClient.java: startSourceDocCreationOrUpdateWithDocId
AsyncProcessClient.java: startTranslatedDocCreationOrUpdateWithDocId

Environment

None

Status

Assignee

Alex Eng

Reporter

MatejM

Labels

None

Tested Version/s

None

Sprint

None

Fix versions

Affects versions

Priority

unspecified
Configure