Skip to content

Better Multi User Support on RestListicator and The Pulper

Compare
Choose a tag to compare
@eviltester eviltester released this 15 Mar 12:38
· 325 commits to master since this release

The Pulper and RestListicator have been updated to better support multi user access.

This has allowed them both to be released independently to heroku as well as packaged in TestingApp and as separate jars.

You can still download them and use them locally.

The Pulper now creates a unique session for each user so they do not interfere with each other when testing. Sessions timeout after 5 minutes of inactivity, at which point you would have a newly built session with the static data.

RestListicator has configurable timeouts. Each custom user session will last for 2 minutes by default on heroku and 30 seconds locally, this can be configured by starting the application with -maxsessionseconds=SECONDS e.g. -maxsessionseconds=60

RestListicator also supports multi-user by refreshing the 'shared data' every few minutes - -resettimer=MILLISECONDS e.g. -resettimer=300000. This is set to 5 minutes on heroku.

RestListicator now supports individual sessions e.g. calling /sessionid will create a unique session with unique data and can only be accessed if you use add X-SESSIONID header with the value returned when you created the session with `/sessionid'

This makes RestListicator easy to use by default e.g. everyone accesses the same data, but you can be a little more advanced, change the headers and have your own unique session.

The Pulper has now been updated with a v005 which has some Ajax in use for creating authors, and a bug fix for the list numbering and naming.