Hi Darkroom
Overview
This application is a simple eRoom mock server, which can be accessed via eRoomXML interface. At present, only very limited interfaces are implemented, including:
- POST '/eRoomXML'
- POST '/eRoomXML/LoggedInMember'
- POST '/eRoomXML/LoggedInMember/MyeRoomsManager/MemberRooms'
- POST '/eRoomXML/Facilities/deployments1/Rooms/Services/HomePage/Items'
- POST '/eRoomXML/Facilities/deployments1/Rooms/Services/Items$/:item_id/Items'
- POST '/eRoomXML/Facilities/deployments1/Rooms/Services/Items$/:item_id'
- Request an item's comments if this request contains 'er:Comments' in request body
- Request an item's file content if this request contains 'er:FileContents' in request body
How to run this program
You can run it either locally or on Google AppEngine:
Run it locally (on Mac OS X 10.6, which has Ruby and Rubygems pre-installed):
- sudo gem install sinatra
- sudo gem install shotgun
- cd darkroom
- ./start.sh
Run it on Google AppEngine:
Point your eRoom server address to "http://hidarkroom.appspot.com", that's it.
Implemented with: