The list of project requirements for proposed DTCS
Definitions:
Agent - any independent system element that is has its basic behavior and makes independent decisions, but based on its signals and information received from the central database(DB).
Sensor - sensors that detect traffic changes and report signals from emergency vehicles.
Central Database (DB) - basic database that is accessible to all the agents for reads and for writing only information about itself.
Requirements:
1. The Central Database(DB) shall be accessible by all agents.
2. If for any reason the DB is down, each agent shall have default values to go by until the connection is re-established with the DB and data is available.
3. It shall only be possible to add new information to the DB from sensors in the system. It should not be possible to modify any of the existing records in the Central DB.
4. Agents shall only have read access to the data.
5. A script shall clean old data from the DB and save it all into a log file, for cleaning purposes. It should not be possible to delete data manually.
6. Only an authorized user (privileged, such as a system administrator, who clearly understands his/her responsibility) shall be permitted to run the specially created script to clean old data from the DB.
7. Data dump (backup) files of the DB shall be created on a regular basis, in case of any data loss for easier data restoration.
8. All agents shall have constraints for maximum and minimum values, in order to avoid any potential data corruption from the DB as a safety switch.
9. Reports shall be created on a regular basis which document the performance and availability of the system, for the purpose of verification and statistic gathering.
10. Documentation on all available reports, files, DB dump files created by the system.
11. All classes shall have JUnit test suite.
12. Every class shall have detailed description in its header comment block.
No comments:
Post a Comment