{"id":18390771,"url":"https://github.com/eifinger/ip-range-filter","last_synced_at":"2025-04-12T08:58:59.843Z","repository":{"id":62158230,"uuid":"557991659","full_name":"eifinger/ip-range-filter","owner":"eifinger","description":"Filter AWS IP ranges to provide input for AWS Security Group Rules","archived":false,"fork":false,"pushed_at":"2022-11-02T08:47:51.000Z","size":163,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T08:58:50.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/eifinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-26T17:31:16.000Z","updated_at":"2023-03-23T21:36:08.000Z","dependencies_parsed_at":"2022-10-27T13:45:45.739Z","dependency_job_id":null,"html_url":"https://github.com/eifinger/ip-range-filter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fip-range-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fip-range-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fip-range-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fip-range-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eifinger","download_url":"https://codeload.github.com/eifinger/ip-range-filter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543870,"owners_count":21121838,"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":[],"created_at":"2024-11-06T01:49:06.642Z","updated_at":"2025-04-12T08:58:59.820Z","avatar_url":"https://github.com/eifinger.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IP-Range-Filter\n\nApplication which allows you to filter IP ranges as defined in https://ip-ranges.amazonaws.com/ip-ranges.json.\n\n## Usage\n\nThe application is packaged and published as a docker container. If you have Docker installed you can run it locally\nand use curl or postman to use it.\n\n````shell\ndocker run -p 8080:8080 -d ghcr.io/eifinger/ip-range-filter:latest\ncurl --location --request GET 'http://localhost:8080/ip-ranges?region=AP'\n````\n\nAllowed regions are `EU`,`US`,`AP`,`CN`,`SA`,`AF`,`CA`,`ALL`\n\nYou can also use the Swagger-UI under http://localhost:8080http://swagger-ui.html\n\n## Testing the application\n\nDue to the fact that this application is very small and has trivial logic no separate unit tests have been written.\n\nAll tests are e2e/integration tests which test against a [MockWebServer](https://github.com/square/okhttp/tree/master/mockwebserver).\n\nThis provides the benefit that the whole application with serializing, dependencies,... is tested.\n\nWhen the application grows in complexity this approach should be revisited.\n\n````shell\n./gradlew test\n````\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Fip-range-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feifinger%2Fip-range-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Fip-range-filter/lists"}