{"id":25719997,"url":"https://github.com/gregwhitaker/spring-autoconfiguration-example","last_synced_at":"2026-05-06T00:06:08.554Z","repository":{"id":82732647,"uuid":"134656597","full_name":"gregwhitaker/spring-autoconfiguration-example","owner":"gregwhitaker","description":"Example of loading Spring configuration objects with the EnableAutoConfiguration annotation","archived":false,"fork":false,"pushed_at":"2018-05-24T03:45:03.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:41:25.087Z","etag":null,"topics":["spring","spring-autoconfigurations","spring-boot","spring-configuration"],"latest_commit_sha":null,"homepage":"","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/gregwhitaker.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":"2018-05-24T03:32:15.000Z","updated_at":"2018-05-24T03:45:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc4e60d2-638e-4287-a84f-4a9a5e594dec","html_url":"https://github.com/gregwhitaker/spring-autoconfiguration-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregwhitaker/spring-autoconfiguration-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspring-autoconfiguration-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspring-autoconfiguration-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspring-autoconfiguration-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspring-autoconfiguration-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/spring-autoconfiguration-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspring-autoconfiguration-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["spring","spring-autoconfigurations","spring-boot","spring-configuration"],"created_at":"2025-02-25T17:36:16.705Z","updated_at":"2026-05-06T00:06:08.542Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-autoconfiguration-example\n[![Build Status](https://travis-ci.org/gregwhitaker/spring-autoconfiguration-example.svg?branch=master)](https://travis-ci.org/gregwhitaker/spring-autoconfiguration-example)\n\nAn example of loading configuration objects using the `@EnableAutoConfiguration` annotation.\n\nThe example contains a simple Spring Boot rest service with several endpoints. At runtime, via auto-configuration, an endpoint that returns\na list of all endpoints in the application is automatically added.\n\n## Running the Example\n1. Start the example by running the following Gradle command:\n\n        $ ./gradlew bootRun\n\n2. Execute the following command to hit the endpoint added at runtime via auto-configuration:\n\n        # curl -v http://localhost:8080/endpoints\n    \n    If successful you will see the following:\n    \n        *   Trying ::1...\n        * TCP_NODELAY set\n        * Connected to localhost (::1) port 8080 (#0)\n        \u003e GET /endpoints HTTP/1.1\n        \u003e Host: localhost:8080\n        \u003e User-Agent: curl/7.54.0\n        \u003e Accept: */*\n        \u003e\n        \u003c HTTP/1.1 200\n        \u003c Content-Type: application/json;charset=UTF-8\n        \u003c Transfer-Encoding: chunked\n        \u003c Date: Thu, 24 May 2018 03:39:18 GMT\n        \u003c\n        * Connection #0 to host localhost left intact\n        [\"/bar1\",\"/bar\",\"/bar2\"]\n\n3. Notice that only the `bar` endpoints have been returned due to the `FooController` being annotated with `@ExcludeEndpointListing`.\n\n## Bugs and Feedback\nFor bugs, questions, and discussions please use the [Github Issues](https://github.com/gregwhitaker/spring-autoconfiguration-example/issues).\n\n## License\nMIT License\n\nCopyright (c) 2018 Greg Whitaker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fspring-autoconfiguration-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fspring-autoconfiguration-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fspring-autoconfiguration-example/lists"}