Title: Spring Boot config · Issue #61 · spotify/github-java-client · GitHub
Open Graph Title: Spring Boot config · Issue #61 · spotify/github-java-client
X Title: Spring Boot config · Issue #61 · spotify/github-java-client
Description: I think the docs are probably still lacking OR I just didnt read them well enough; More likely there is no spring specific docs anyways... Just posting this issue to help people get started with this with a spring boot app that handles w...
Open Graph Description: I think the docs are probably still lacking OR I just didnt read them well enough; More likely there is no spring specific docs anyways... Just posting this issue to help people get started with th...
X Description: I think the docs are probably still lacking OR I just didnt read them well enough; More likely there is no spring specific docs anyways... Just posting this issue to help people get started with th...
Opengraph URL: https://github.com/spotify/github-java-client/issues/61
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Spring Boot config","articleBody":"I think the docs are probably still lacking OR I just didnt read them well enough; More likely there is no spring specific docs anyways...\r\n\r\nJust posting this issue to help people get started with this with a spring boot app that handles webhooks.\r\n\r\n\r\n```java\r\nimport com.fasterxml.jackson.databind.Module; // Need this b/c by default java will want to use the java.lang.Module.\r\nimport com.spotify.github.jackson.GithubApiModule;\r\n\r\n@Configuration\r\npublic class Configuration {\r\n /**\r\n * Need to register this bean so that isodates based through the webhook are understood by jackson.\r\n */\r\n @Bean\r\n public Module githubApiModule() {\r\n return new GithubApiModule();\r\n }\r\n}\r\n```\r\n\r\n\r\n```yaml\r\nspring:\r\n jackson:\r\n property-naming-strategy: SNAKE_CASE # by default jackson wants LOWER_CAMEL_CASE, the events are not configured to deser using snakecase. This configures jackson to expect snakecase instead of camelcase.\r\n```\r\n\r\n\r\nThese are 2 kind of \"gotchas\" that we ran into while trying to use this project for webhooks.","author":{"url":"https://github.com/bguedel","@type":"Person","name":"bguedel"},"datePublished":"2021-05-12T23:47:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/61/github-java-client/issues/61"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9fc7486c-2197-e1d8-0641-f9e5d099ea78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D68E:232A6D:18B650F:208AD51:69771013 |
| html-safe-nonce | ac50a45fe2ba13d0a67e9742e26cb63ff91fc4c8f6b9c2f3b389d96ff1b2598c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjhFOjIzMkE2RDoxOEI2NTBGOjIwOEFENTE6Njk3NzEwMTMiLCJ2aXNpdG9yX2lkIjoiNzQ4Mjk5NDk5MTg1MzY3MDQxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c36f54903c9939b4e2dfb2c1ed56d187360fef892c006914148de2e1561672d8 |
| hovercard-subject-tag | issue:890570685 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/spotify/github-java-client/61/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dfc3e95c031544e2e30949223a261fc2a41c99f53c424d8277160387ea0c5545/spotify/github-java-client/issues/61 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dfc3e95c031544e2e30949223a261fc2a41c99f53c424d8277160387ea0c5545/spotify/github-java-client/issues/61 |
| og:image:alt | I think the docs are probably still lacking OR I just didnt read them well enough; More likely there is no spring specific docs anyways... Just posting this issue to help people get started with th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bguedel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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