Event Feed module

From PC2wiki
Revision as of 11:42, 21 September 2016 by Doug Lane (talk | contribs) (Web Services Tab: add GUI png)
Jump to: navigation, search

The Event Feed module provides Event Feed and PC² REST services for a programming contest.

Startup

  1. Create a FEEDER pc2 account.
  2. Use the pc2ef script to start the Event Feed module

This command will bring up the event feed server and REST web service server GUI. The event feed server will not be started by default.

bin/pc2ef

This command will start the event feed server non-GUI. The event feed server will be started by default.

bin/pc2ef --login feeder1 --password feeder1 --nogui

Features

GUI

Event Feed Tab

  • Event feed port field - port number to use, default 4713
  • View button - show a snapshot of the current event feed
  • Start - start Event Feed Server
  • Stop - stop Event Feed Server

EventFeedTab.png

Web Services Tab

PC² REST services control

  • Web server port field - port number to use, default 50443
  • Enable Web Services
    • /scoreboard
    • /teams
    • /problems
    • /languages
  • Start - start serving PC² REST services
  • Stop - stop serving PC² REST services


WebServicesTab.png

See Also