Changeset 60:ec70c7dc68b6 in stamper for etc/stamper.conf


Ignore:
Timestamp:
Dec 28, 2014, 12:57:07 PM (9 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).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • etc/stamper.conf

    r58 r60  
    1818base_url = http://localhost:8000
    1919login_path = /stamper/login/
    20 listen_path = /stamper/listen/
    2120user = CHANGEME
    2221password = SECRET
Note: See TracChangeset for help on using the changeset viewer.