{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/issues/120","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/issues/120/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/issues/120/events","html_url":"https://github.com/spring-cloud/spring-cloud-connectors/pull/120","id":80814613,"number":120,"title":"support for Spring Cloud properties with DB2 services i.e. cloud.services.{service-name}.connection.{property}","user":{"login":"mariobriggs","id":3006502,"avatar_url":"https://avatars.githubusercontent.com/u/3006502?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobriggs","html_url":"https://github.com/mariobriggs","followers_url":"https://api.github.com/users/mariobriggs/followers","following_url":"https://api.github.com/users/mariobriggs/following{/other_user}","gists_url":"https://api.github.com/users/mariobriggs/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobriggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobriggs/subscriptions","organizations_url":"https://api.github.com/users/mariobriggs/orgs","repos_url":"https://api.github.com/users/mariobriggs/repos","events_url":"https://api.github.com/users/mariobriggs/events{/privacy}","received_events_url":"https://api.github.com/users/mariobriggs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/labels/core","name":"core","color":"bfdadc"},{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-26T06:15:44Z","updated_at":"2015-06-29T18:11:05Z","closed_at":"2015-06-11T13:13:34Z","pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/pulls/120","html_url":"https://github.com/spring-cloud/spring-cloud-connectors/pull/120","diff_url":"https://github.com/spring-cloud/spring-cloud-connectors/pull/120.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-connectors/pull/120.patch"},"body":" Use-case : Pushing a Play framework generated .zip file to IBM Bluemix (CloudFoundry based) with the [java-buildpack](https://github.com/cloudfoundry/java-buildpack). The application has a bound DB2 service instance. The [app.conf](https://github.com/cloudfoundry-samples/zentasks-scala-cloudfoundry/blob/master/conf/application.conf) references the cloud.services.xxx.connection.uri. Need these Spring Cloud {cloud.services...) variables to be populated from the bound DB2 service.\r\n\r\nAttached PR adds the DB2ServiceInfoCreator & registers it. Added CloudFoundryConnectorDB2ServiceTest and run it.  2 test cases fail with 'WARNING: No suitable service info creator found for service db2-ups Did you forget to add a ServiceInfoCreator?' , but i get the same failures even with Oracle, Postgres & MySQL tests. Screen shot attached\r\n![pgcloudservices](https://cloud.githubusercontent.com/assets/3006502/7806258/62881fa6-039c-11e5-8d48-7cd635a1cdb3.png)\r\n\r\nAlso is there a way i can test on CloudFoundry(Bluemix) with the jars from my fork of the repo ?"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/issues/comments/116780594","html_url":"https://github.com/spring-cloud/spring-cloud-connectors/pull/120#issuecomment-116780594","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-connectors/issues/120","id":116780594,"user":{"login":"scottfrederick","id":60661,"avatar_url":"https://avatars.githubusercontent.com/u/60661?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfrederick","html_url":"https://github.com/scottfrederick","followers_url":"https://api.github.com/users/scottfrederick/followers","following_url":"https://api.github.com/users/scottfrederick/following{/other_user}","gists_url":"https://api.github.com/users/scottfrederick/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfrederick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfrederick/subscriptions","organizations_url":"https://api.github.com/users/scottfrederick/orgs","repos_url":"https://api.github.com/users/scottfrederick/repos","events_url":"https://api.github.com/users/scottfrederick/events{/privacy}","received_events_url":"https://api.github.com/users/scottfrederick/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T18:11:05Z","updated_at":"2015-06-29T18:11:05Z","body":"Thanks @mariobriggs, that PR is merged."}}