{"id":29020607,"url":"https://github.com/maziar110/api_client_test","last_synced_at":"2026-04-30T20:32:18.221Z","repository":{"id":244664572,"uuid":"234746656","full_name":"Maziar110/api_client_test","owner":"Maziar110","description":"A simple cloud with an API and a client written in python in order to test your infra. Integrated with OpenTracing","archived":false,"fork":false,"pushed_at":"2020-03-17T17:39:45.000Z","size":686,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-30T20:32:17.834Z","etag":null,"topics":["cloud","cloud-computing","docker","docker-compose","docker-image","flask-api","jaeger","loadbalancer","opentrace","opentracing","python3","simulation","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maziar110.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-18T14:26:21.000Z","updated_at":"2020-03-17T17:44:38.000Z","dependencies_parsed_at":"2024-06-16T14:57:43.552Z","dependency_job_id":"d69f9a47-a613-4257-897b-712f5e0e07bc","html_url":"https://github.com/Maziar110/api_client_test","commit_stats":null,"previous_names":["maziar110/api_client_test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Maziar110/api_client_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maziar110%2Fapi_client_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maziar110%2Fapi_client_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maziar110%2Fapi_client_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maziar110%2Fapi_client_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maziar110","download_url":"https://codeload.github.com/Maziar110/api_client_test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maziar110%2Fapi_client_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cloud","cloud-computing","docker","docker-compose","docker-image","flask-api","jaeger","loadbalancer","opentrace","opentracing","python3","simulation","testing-tools"],"created_at":"2025-06-26T01:05:58.008Z","updated_at":"2026-04-30T20:32:18.206Z","avatar_url":"https://github.com/Maziar110.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API - Client to test your tools on an docker base platform\n\nNew changes:\n**Integrated with OpenTrace technology**\n \nYou can commit the docker images and use in your kubernetes. \n\n# Goal\nThe goal of this project is to make a simple, simulated space working like a cloud with (at least)one API node which gets every request and do something, (at least) one client which sends requests to a loadblancer and a loadbalancer which handles the requests and pass them to API node.\nafter all we are going to monitor the loadbalancer (Or any part of the project we want) with NetData.\nAlso you can do your tests on this space easily.\n\n**This project has 2 parts:**\n\n## API:\n\nThis API gets all requests sent to it and write down on a log file. it gets the body of request and it's headers as well.\nYou can scale up This node just by editing bash script and using docker-compose commands according to [this help](https://docs.docker.com/compose/reference/scale/)\n\n-- also is tracing in jaeger (OpenTracing)\n## Client:\nConstantly sends requests to the api with different bodies and different URLs in every x seconds (mentioned in code) \nsince the urls are different, some of them are going to fail and by that we can have our nginx error log for furthur actions.\n\n## How to Run:\nrun the bash script in the project(**Fire.sh**) or just type `docker-compose up`\n\n__Take care of the ports we are using in the project and see if you're not using them by another projects or APPs.__\n\n## OpenTracing:\n\nTo get benifit of opentracing you should know it's just a simple config and there is no span defined in the project and requests are tracing generally.\n\n**To see Jeager dashboard:**\n\nOpen `localhost:16686`\n\n![Project review](./project.jpg)\n\nif you had any question, we can be in touch via:\n\n[maziar.sh110@gmail.com](mailto:maziar.sh110@gmail.com)\n\n[Linkedin](https://www.linkedin.com/in/maziar-shahsavanpour-a4210088/)\n\n[Whatsapp](https://api.whatsapp.com/send?phone=+989156262067)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaziar110%2Fapi_client_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaziar110%2Fapi_client_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaziar110%2Fapi_client_test/lists"}