{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-community/spring-boot-cf-service-broker/issues/24","labels_url":"https://api.github.com/repos/cloudfoundry-community/spring-boot-cf-service-broker/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-community/spring-boot-cf-service-broker/issues/24/comments","events_url":"https://api.github.com/repos/cloudfoundry-community/spring-boot-cf-service-broker/issues/24/events","html_url":"https://github.com/cloudfoundry-community/spring-boot-cf-service-broker/issues/24","id":85561554,"number":24,"title":"custom CatalogService not being picked up","user":{"login":"robertgmoss","id":1054185,"avatar_url":"https://avatars.githubusercontent.com/u/1054185?v=3","gravatar_id":"","url":"https://api.github.com/users/robertgmoss","html_url":"https://github.com/robertgmoss","followers_url":"https://api.github.com/users/robertgmoss/followers","following_url":"https://api.github.com/users/robertgmoss/following{/other_user}","gists_url":"https://api.github.com/users/robertgmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/robertgmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertgmoss/subscriptions","organizations_url":"https://api.github.com/users/robertgmoss/orgs","repos_url":"https://api.github.com/users/robertgmoss/repos","events_url":"https://api.github.com/users/robertgmoss/events{/privacy}","received_events_url":"https://api.github.com/users/robertgmoss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"krujos","id":414409,"avatar_url":"https://avatars.githubusercontent.com/u/414409?v=3","gravatar_id":"","url":"https://api.github.com/users/krujos","html_url":"https://github.com/krujos","followers_url":"https://api.github.com/users/krujos/followers","following_url":"https://api.github.com/users/krujos/following{/other_user}","gists_url":"https://api.github.com/users/krujos/gists{/gist_id}","starred_url":"https://api.github.com/users/krujos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krujos/subscriptions","organizations_url":"https://api.github.com/users/krujos/orgs","repos_url":"https://api.github.com/users/krujos/repos","events_url":"https://api.github.com/users/krujos/events{/privacy}","received_events_url":"https://api.github.com/users/krujos/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-06-05T15:38:58Z","updated_at":"2015-07-08T10:11:39Z","closed_at":"2015-06-27T02:01:44Z","body":"I'm having a bit of trouble updating my broker to use `2.4.1`.  I have a `CatalogService` implementation class defined and marked with the `@Service` annotation.  This worked fine with `2.4.0`, but now when I try to run, it fails with this error:\r\n```\r\norg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'beanCatalogService' defined in URL [jar:file:/home/robert/.m2/repository/org/cloudfoundry/spring-boot-cf-service-broker/2.4.1/spring-boot-cf-service-broker-2.4.1.jar!/org/cloudfoundry/community/servicebroker/service/BeanCatalogService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.cloudfoundry.community.servicebroker.model.Catalog]: : No qualifying bean of type [org.cloudfoundry.community.servicebroker.model.Catalog] found for dependency:\r\nexpected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.cloudfoundry.community.servicebroker.model.Catalog] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}\r\n```\r\n\r\nSeems my `CatalogService` bean is not available when  `@ConditionalOnMissingBean(CatalogService.class)` in `ServiceBrokerAutoConfiguration` is checked.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-community/spring-boot-cf-service-broker/issues/comments/119531099","html_url":"https://github.com/cloudfoundry-community/spring-boot-cf-service-broker/issues/24#issuecomment-119531099","issue_url":"https://api.github.com/repos/cloudfoundry-community/spring-boot-cf-service-broker/issues/24","id":119531099,"user":{"login":"robertgmoss","id":1054185,"avatar_url":"https://avatars.githubusercontent.com/u/1054185?v=3","gravatar_id":"","url":"https://api.github.com/users/robertgmoss","html_url":"https://github.com/robertgmoss","followers_url":"https://api.github.com/users/robertgmoss/followers","following_url":"https://api.github.com/users/robertgmoss/following{/other_user}","gists_url":"https://api.github.com/users/robertgmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/robertgmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertgmoss/subscriptions","organizations_url":"https://api.github.com/users/robertgmoss/orgs","repos_url":"https://api.github.com/users/robertgmoss/repos","events_url":"https://api.github.com/users/robertgmoss/events{/privacy}","received_events_url":"https://api.github.com/users/robertgmoss/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T10:11:39Z","updated_at":"2015-07-08T10:11:39Z","body":"Any chance this change could be uploaded to the maven repo too?"}}