Broker login story - Pyosch/powertac-server GitHub Wiki
We assume the following:
- broker knows the location of the web-app beforehand.
- broker has an account on the web-app with an unique user name and password (user management needs to be implemented)
When the broker successfully logs in (at, e.g., /login), the web-app may return the following:
- If a competition (how is this competition determined?) is accepting brokers, the web-app returns the location to the server's JMS endpoint, a cryptographic tag to identify itself with the server, and a time interval during which the server will accept logins.
- If the competition is not accepting brokers (because it may not have been started yet), the web-app returns a time-interval after which the broker should check back by logging in again
Startup data includes the items under 'startup data' under 'market-data-service' on the server structure page.