{"id":16736919,"url":"https://github.com/amrhossamdev/topology-api","last_synced_at":"2025-03-15T21:42:30.389Z","repository":{"id":218544323,"uuid":"493060204","full_name":"amrhossamdev/Topology-API","owner":"amrhossamdev","description":"Topology API is an API to provide the functionality to access, manage and store device topologies.","archived":false,"fork":false,"pushed_at":"2022-05-20T03:24:47.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T10:44:31.415Z","etag":null,"topics":["api","kotlin","maven","oop","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amrhossamdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-17T01:58:01.000Z","updated_at":"2022-05-17T19:52:42.000Z","dependencies_parsed_at":"2024-01-22T18:22:40.863Z","dependency_job_id":null,"html_url":"https://github.com/amrhossamdev/Topology-API","commit_stats":null,"previous_names":["amrhossamdev/topology-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrhossamdev%2FTopology-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrhossamdev%2FTopology-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrhossamdev%2FTopology-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrhossamdev%2FTopology-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amrhossamdev","download_url":"https://codeload.github.com/amrhossamdev/Topology-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796565,"owners_count":20349251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","kotlin","maven","oop","unit-testing"],"created_at":"2024-10-13T00:24:05.750Z","updated_at":"2025-03-15T21:42:30.362Z","avatar_url":"https://github.com/amrhossamdev.png","language":"Kotlin","readme":"# Topology-API\nTopology API is an API to provide the functionality to access, manage and store device topologies.\n# Langugage \nUsed `Kotlin` : Kotlin is a modern, statically-typed programming language that features both object-oriented and functional programming constructs\n# Functionalities\n1. Read a topology from a given JSON file and store it in the memory. \n2. Write a given topology from the memory to a JSON file. \n3. Query about which topologies are currently in the memory. \n4. Delete a given topology from memory.\n5. Query about which devices are in a given topology.\n6. Query about which devices are connected to a given netlist node in a given topology\n\n# Technologies \n- Kotlin\n- Intelj IDE\n- Maven \n- Junit for unit testing\n- Json simple to parse json files to json objects\n\n# Design \nDesign is done using object orinted programming all tests passed and achived  \n\n- `Topology` class represent topology in the memory\n- `Device` is the parentclass and resistor \u0026 nmos child classes\n- `nmos` and `resistor` classes holds write and convert json functions \n- `Device specs` present devices specs\n\n# Run project \nFirst, clone the repo:\n\n`git clone git@github.com:amrhossamdev/Topology-Api.git`\n\n# Run project in intellj\nopen -\u003e and import the project then select maven \n# Testing \nDone using junit testing \nYou can test all functionalities in `test folders` -\u003e then open `TopologyApiTest`\n\n![Unit tests](https://github.com/amrhossamdev/Topology-Api/blob/master/testing.png)\n# Testing passed \n\n![Unit tests](https://github.com/amrhossamdev/Topology-Api/blob/master/testpassed.png)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrhossamdev%2Ftopology-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famrhossamdev%2Ftopology-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrhossamdev%2Ftopology-api/lists"}