Changeset 60:ec70c7dc68b6 in stamper for bin

Timestamp:
Dec 28, 2014, 12:57:07 PM (10 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

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.