Improvements on the code to push stamps to a remote collector server:
The collector server returns now a list of exposed api methods/urls
after logging in. That means we do not need to set the url to the
listener anymore (stamper can learn from the collector's response)
The collector handles fine now push actions to add/append stamps to
its database, returning the number of stamps that are added, updated
or deleted to/from the database. That means we can show a bit more
information to the user after the push
The responses from the collector are json-encoded, so now we try to
de-serialize the data, showing an error if that is not posible
(badly-formatted json, error/exception, etc).
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.