averbis / averbis-python-api

Conveniently access the REST API of Averbis products using Python
Apache License 2.0
12 stars 4 forks source link

Adapt to Process API changes #46

Closed nadre closed 3 years ago

nadre commented 3 years ago

Is your feature request related to a problem? Please describe. The experimental Process API will change in the new platform version (6.0.0-RC-6). The python api should be able to work with both versions.

Describe the solution you'd like We should check which fields are available and expose them to the user.

Additional context ProcessDetailDto

old fields: String processName; String documentSourceName; String pipelineName; ProcessState state; long processedDocuments;

new fields: String processName; String documentSourceName; long numberOfTotalDocuments; long numberOfSuccessfulDocuments; long numberOfUnsuccessfulDocuments; List errorMessages; String precedingProcessName; String pipelineName; ProcessState state;