EI Project for Group 3 G2 EI class. The group members for the group are:
- Eugene Choy Wen Jia
- Ho Min Kit Winston
- Ho Wei Hong
- Sim Li Jin
- Yin Yukun
- Yong Fu Xiang
The project simulates the integration processes of the Public Transport System in several scenarios. This scenarios include:
- Train Breakdown and Resumption of Service
- Weather Reporting
- Schedule Polling
The file structure in this directory is as follow:
Folder | Description |
---|---|
Bus Depot | Used for Train Breakdown process |
Documentations | Process Images, Powerpoints and Tech document for Project |
Main Project File | The Main Project file containing all the processess for Tibco |
Train Breakdown | Used for Train Breakdown Management process |
Schedule Polling | Used for Schedule Polling process |
Weather Reporting | Files used for Weather Reporting process |
Web Service | Locally-hosted coded web service for nearest bus depot (Train Breakdown process) |
There are various Readme.md in the various folders to help user better understand how the files are supposed to be interacted by the user
This process simulates integration across Bus Depot, Train Management System, Train Listeners, Email and Twitter using the Train Breakdown and Resumption of Service Process created with Tibco BW.
Detailed instructions of how to run the Bus Depot, Train Management System and Train Listeners can be found in their respective folder.
The user is also required to open the Netbeans project found in Web Service folder and run it (This webservice is hosted on Localhost).
For Twitter to work, some configurations may have to be made by User to Tibco BW.
This process invokes a REST call to the NEA API every few seconds (pre-set by user) to poll for the weather to check if there is heavy rain fall. For demo purpose, the team has wrote a wrapper with Python to give it a 50% chance of rainfall if NEA API returns a nil for rainfall. This wrapper is hosted on Heroku
This process will be triggered once there is a change to the folder C:/EI/Project/schedules and when there is an addition of a txt file (which simulates the schedule for Bus Depots). The file will be uploaded to a webservice and a URL will be generated and email to all the bus depots for them to download the schedule. More detailed instructions can be found in the schedule polling's folder README