Title: Feat: Add Spring Boot AutoConfiguration by vitinh0z · Pull Request #260 · spotify/github-java-client · GitHub
Open Graph Title: Feat: Add Spring Boot AutoConfiguration by vitinh0z · Pull Request #260 · spotify/github-java-client
X Title: Feat: Add Spring Boot AutoConfiguration by vitinh0z · Pull Request #260 · spotify/github-java-client
Description: Description This PR introduces Spring Boot AutoConfiguration to the library. It automatically registers the GithubApiModule bean when the library is used in a Spring Boot application that has Jackson on the classpath. Resolves Closes #61 Changes Added optional dependencies for spring-boot-autoconfigure (v2.7.18 for Java 11 compatibility). Added GithubClientAutoConfiguration to conditionally register the GithubApiModule bean. Registered the configuration in META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports. Added GithubClientAutoConfigurationTest using ApplicationContextRunner to verify the behavior. Verification Ran mvn clean install -DskipTests locally -> BUILD SUCCESS. Ran mvn test locally -> All tests passed.
Open Graph Description: Description This PR introduces Spring Boot AutoConfiguration to the library. It automatically registers the GithubApiModule bean when the library is used in a Spring Boot application that has Jacks...
X Description: Description This PR introduces Spring Boot AutoConfiguration to the library. It automatically registers the GithubApiModule bean when the library is used in a Spring Boot application that has Jacks...
Opengraph URL: https://github.com/spotify/github-java-client/pull/260
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a97c2992-b94c-495c-e59b-4ccb6f8b97a9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D002:5D4A1:1BE6AE0:2444FED:6976FAEC |
| html-safe-nonce | 54f180f0299635636d5831ff9a6fdc54942649ceeecd53053aa40946c5794cdc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDAyOjVENEExOjFCRTZBRTA6MjQ0NEZFRDo2OTc2RkFFQyIsInZpc2l0b3JfaWQiOiI0NDY1MTkwMTM2MDQzNzMxNjkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f702648f15e3e628f6db6dfd037d428cdbccc447fed496739a3653dd0598b6f |
| hovercard-subject-tag | pull_request:3110263227 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/spotify/github-java-client/pull/260/files |
| twitter:image | https://avatars.githubusercontent.com/u/100782235?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/100782235?s=400&v=4 |
| og:image:alt | Description This PR introduces Spring Boot AutoConfiguration to the library. It automatically registers the GithubApiModule bean when the library is used in a Spring Boot application that has Jacks... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/spotify/github-java-client git https://github.com/spotify/github-java-client.git |
| octolytics-dimension-user_id | 251374 |
| octolytics-dimension-user_login | spotify |
| octolytics-dimension-repository_id | 254401089 |
| octolytics-dimension-repository_nwo | spotify/github-java-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 254401089 |
| octolytics-dimension-repository_network_root_nwo | spotify/github-java-client |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width