geosolutions-it / geobatch

Open Source GeoSpatial Processing Simplified
GNU General Public License v3.0
22 stars 19 forks source link

REST consumer status response error #234

Closed Gnafu closed 11 years ago

Gnafu commented 11 years ago

When requesting a consumer status the answer can have both a successful state and en error message:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<status uuid="bebb9207-3aca-4f26-8f3e-a3ef4f99fc3e" status="SUCCESS">
<errorMessage>property ErrorMessage: Not Implemented yet</errorMessage>
<latestAction>
    <id>235c8dbb-a5b2-4863-9978-5803837beeac</id>
    <name>Ds2dsConfiguration</name>
    <description>Ds2ds action</description>
</latestAction>
</status>

As you can see, the status is SUCCESS but the message gives an errorMessage (not implemented)

Damianofds commented 11 years ago

close here https://github.com/geosolutions-it/geobatch/pull/235

Note that in case of error the message returned is still "not implemented yet" due to problems to retrieve the correct message... still working on it