{"action":"created","issue":{"url":"https://api.github.com/repos/zalando/logbook/issues/138","repository_url":"https://api.github.com/repos/zalando/logbook","labels_url":"https://api.github.com/repos/zalando/logbook/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/zalando/logbook/issues/138/comments","events_url":"https://api.github.com/repos/zalando/logbook/issues/138/events","html_url":"https://github.com/zalando/logbook/issues/138","id":194224072,"number":138,"title":"Spring auto configuration failed when the container has multiple ObjectMapper beans","user":{"login":"dai0304","id":134860,"avatar_url":"https://avatars.githubusercontent.com/u/134860?v=3","gravatar_id":"","url":"https://api.github.com/users/dai0304","html_url":"https://github.com/dai0304","followers_url":"https://api.github.com/users/dai0304/followers","following_url":"https://api.github.com/users/dai0304/following{/other_user}","gists_url":"https://api.github.com/users/dai0304/gists{/gist_id}","starred_url":"https://api.github.com/users/dai0304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dai0304/subscriptions","organizations_url":"https://api.github.com/users/dai0304/orgs","repos_url":"https://api.github.com/users/dai0304/repos","events_url":"https://api.github.com/users/dai0304/events{/privacy}","received_events_url":"https://api.github.com/users/dai0304/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-08T01:33:00Z","updated_at":"2016-12-08T07:20:36Z","closed_at":null,"body":"> Parameter 0 of method jsonFormatter in org.zalando.logbook.spring.LogbookAutoConfiguration required a single bean, but 2 were found:\r\n\r\nSimilar issue: https://github.com/spring-projects/spring-boot/issues/6529\r\n\r\nUsually, we can avoid error to specify `@Primary` annotation to one of ObjectMapper bean.  But how can we do when we want to use other ObjectMapper for each auto configurations?"},"comment":{"url":"https://api.github.com/repos/zalando/logbook/issues/comments/265670836","html_url":"https://github.com/zalando/logbook/issues/138#issuecomment-265670836","issue_url":"https://api.github.com/repos/zalando/logbook/issues/138","id":265670836,"user":{"login":"dai0304","id":134860,"avatar_url":"https://avatars.githubusercontent.com/u/134860?v=3","gravatar_id":"","url":"https://api.github.com/users/dai0304","html_url":"https://github.com/dai0304","followers_url":"https://api.github.com/users/dai0304/followers","following_url":"https://api.github.com/users/dai0304/following{/other_user}","gists_url":"https://api.github.com/users/dai0304/gists{/gist_id}","starred_url":"https://api.github.com/users/dai0304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dai0304/subscriptions","organizations_url":"https://api.github.com/users/dai0304/orgs","repos_url":"https://api.github.com/users/dai0304/repos","events_url":"https://api.github.com/users/dai0304/events{/privacy}","received_events_url":"https://api.github.com/users/dai0304/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T07:20:36Z","updated_at":"2016-12-08T07:20:36Z","body":"Yes, our projects register multiple ObjectMapper beans for each role.\r\nFor http request / response body, for denormalized data on database, for event messaging, and so on.\r\nEach ObjectMapper has different configuration.  So we want define new ObjectMapper bean for logbook."}}
{"actor":{"display_login":"dai0304"}}