{"action":"created","issue":{"url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/72","repository_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle","labels_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/72/comments","events_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/72/events","html_url":"https://github.com/KnpLabs/KnpGaufretteBundle/issues/72","id":21297457,"number":72,"title":"OpenCloud Lazy Connection?","user":{"login":"Richtermeister","id":624921,"avatar_url":"https://avatars.githubusercontent.com/u/624921?v=3","gravatar_id":"","url":"https://api.github.com/users/Richtermeister","html_url":"https://github.com/Richtermeister","followers_url":"https://api.github.com/users/Richtermeister/followers","following_url":"https://api.github.com/users/Richtermeister/following{/other_user}","gists_url":"https://api.github.com/users/Richtermeister/gists{/gist_id}","starred_url":"https://api.github.com/users/Richtermeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Richtermeister/subscriptions","organizations_url":"https://api.github.com/users/Richtermeister/orgs","repos_url":"https://api.github.com/users/Richtermeister/repos","events_url":"https://api.github.com/users/Richtermeister/events{/privacy}","received_events_url":"https://api.github.com/users/Richtermeister/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2013-10-21T06:27:03Z","updated_at":"2016-02-17T03:03:37Z","closed_at":null,"body":"Hi all, \r\n\r\nGaufrette has recently added lazy-loading OpenCloud connections (https://github.com/KnpLabs/Gaufrette/commit/5084853f18fab2ed27e5237ec9a9a105855f07ba). Is this feature currently supported in this bundle? I can't seem to find this in the documentation.. If not, I may be able to contribute this (assuming I can model it off the lazyloading Rackspace connection that already exists here).\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/comments/184990906","html_url":"https://github.com/KnpLabs/KnpGaufretteBundle/issues/72#issuecomment-184990906","issue_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/72","id":184990906,"user":{"login":"ybert","id":2513558,"avatar_url":"https://avatars.githubusercontent.com/u/2513558?v=3","gravatar_id":"","url":"https://api.github.com/users/ybert","html_url":"https://github.com/ybert","followers_url":"https://api.github.com/users/ybert/followers","following_url":"https://api.github.com/users/ybert/following{/other_user}","gists_url":"https://api.github.com/users/ybert/gists{/gist_id}","starred_url":"https://api.github.com/users/ybert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybert/subscriptions","organizations_url":"https://api.github.com/users/ybert/orgs","repos_url":"https://api.github.com/users/ybert/repos","events_url":"https://api.github.com/users/ybert/events{/privacy}","received_events_url":"https://api.github.com/users/ybert/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T03:03:37Z","updated_at":"2016-02-17T03:03:37Z","body":"Ok I found the trick.\r\nFor me it was here:\r\n<pre>\r\nservices:\r\n    opencloud.connection:\r\n        class: OpenCloud\\OpenStack\r\n        arguments:\r\n          - %openstack_identity_url%\r\n          - {username: %openstack_username%, password: %openstack_password%, tenantId: %openstack_tenant_id%}\r\n    opencloud.object_store:\r\n        lazy: true\r\n        class: OpenCloud\\ObjectStore\\Service\r\n        factory: [\"@opencloud.connection\", objectStoreService]\r\n        arguments:\r\n          - %openstack_object_storage_type%\r\n          - %openstack_object_storage_region%\r\n          - %openstack_object_storage_url%\r\n</pre>"}}