/TopologyAPI

Providing the functionality to access, manage and store device topologies, given different json files each includes one topology, storing them in desk and applying different queries.

Primary LanguageJava

TopologyAPI

Providing the functionality to access, manage and store device topologies.

Description

  • A topology is a set of electronic components that are connected together.
  • The app is about writing an API library which does the following:
    1. Reading and writing topologies to and from disk.
    2. Storeing multiple topologies in memory.
    3. Executing operations on topologies.
  • Automated Testing is used to test the work of the existing functionalities.
  • Strong Handling of Expected Errors and Different Scenarios on Dialog with the User.
  • Take a look on The Working Tree javadoc Documentaion.

Used

  • Java console application
    (Java is used as it uses garbage collector so no need for managed pointers and it also provides a good OOP Structure)
  • OOP
  • maven
  • Javadoc
  • JUnit 5
  • IntelliJ

Working Shots

InputGuide DeletingBeforeReading IncorrectFilePathForReading
CorrectFilePathForReading DuplicateFilePathForReading QueryTopologies
ValidWriteProcess WrongTopologyID QueryingAllComponents
QueryingWithWrongNodeID QueryingWithCorrectNodeID DeletingTopologies