{"action":"created","issue":{"url":"https://api.github.com/repos/aerogear/ups-config-operator/issues/33","repository_url":"https://api.github.com/repos/aerogear/ups-config-operator","labels_url":"https://api.github.com/repos/aerogear/ups-config-operator/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/aerogear/ups-config-operator/issues/33/comments","events_url":"https://api.github.com/repos/aerogear/ups-config-operator/issues/33/events","html_url":"https://github.com/aerogear/ups-config-operator/pull/33","id":321154853,"number":33,"title":"add service catalog definitions and implement binding delete","user":{"login":"pb82","id":1851198,"avatar_url":"https://avatars3.githubusercontent.com/u/1851198?v=4","gravatar_id":"","url":"https://api.github.com/users/pb82","html_url":"https://github.com/pb82","followers_url":"https://api.github.com/users/pb82/followers","following_url":"https://api.github.com/users/pb82/following{/other_user}","gists_url":"https://api.github.com/users/pb82/gists{/gist_id}","starred_url":"https://api.github.com/users/pb82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pb82/subscriptions","organizations_url":"https://api.github.com/users/pb82/orgs","repos_url":"https://api.github.com/users/pb82/repos","events_url":"https://api.github.com/users/pb82/events{/privacy}","received_events_url":"https://api.github.com/users/pb82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-08T11:53:02Z","updated_at":"2018-05-09T14:08:22Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/aerogear/ups-config-operator/pulls/33","html_url":"https://github.com/aerogear/ups-config-operator/pull/33","diff_url":"https://github.com/aerogear/ups-config-operator/pull/33.diff","patch_url":"https://github.com/aerogear/ups-config-operator/pull/33.patch"},"body":"Adds the definitions for ServiceCatalog CRDs to the config operator and implements a lookup & delete function for service bindings.\r\n\r\nThis depends on https://github.com/aerogearcatalog/unifiedpush-apb/pull/52\r\n\r\n@darahayes you can use this to delete a binding (and trigger unbind) when your code detects that a variant in UPS is missing.\r\n\r\n@aliok This now also contains all the changes required for the UI.\r\n\r\nVerification steps (UI part):\r\n\r\n1. Needs to be used together with https://github.com/aerogearcatalog/unifiedpush-apb/pull/55\r\n1. Deploy the APB\r\n1. Deploy a mobile client apb (any client is ok, ios, android, cordova or xamarin)\r\n1. Build this branch of the config operator locally (`make docker_build`)\r\n1. Update the ups deploymentconfig and set the tag for the ups-config-operator to `latest` (this will make Openshift pick up the local image that you built in the previous step)\r\n1. Create an Android binding\r\n1. Verify that everything worked, variant created etc.\r\n1. In Openshift, go to `Resources -> Other Resources`\r\n1. From the dropdown pick `Mobile Clients`\r\n1. Select the mobile client and view it's yaml: you should see an annotation in the form of `org.aerogear.binding.localregistry-unifiedpush-apb-<random>/variant-<platform>`\r\n1. The annotation should have a URL attached to it. Open the URL.\r\n1. It should directly open the variant in UPS.\r\n1. Now delete the binding\r\n1. The annotation should be removed from the mobile client.\r\n1. Try the same thing with an iOS binding."},"comment":{"url":"https://api.github.com/repos/aerogear/ups-config-operator/issues/comments/387751016","html_url":"https://github.com/aerogear/ups-config-operator/pull/33#issuecomment-387751016","issue_url":"https://api.github.com/repos/aerogear/ups-config-operator/issues/33","id":387751016,"user":{"login":"psturc","id":4881144,"avatar_url":"https://avatars1.githubusercontent.com/u/4881144?v=4","gravatar_id":"","url":"https://api.github.com/users/psturc","html_url":"https://github.com/psturc","followers_url":"https://api.github.com/users/psturc/followers","following_url":"https://api.github.com/users/psturc/following{/other_user}","gists_url":"https://api.github.com/users/psturc/gists{/gist_id}","starred_url":"https://api.github.com/users/psturc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psturc/subscriptions","organizations_url":"https://api.github.com/users/psturc/orgs","repos_url":"https://api.github.com/users/psturc/repos","events_url":"https://api.github.com/users/psturc/events{/privacy}","received_events_url":"https://api.github.com/users/psturc/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T14:08:22Z","updated_at":"2018-05-09T14:08:22Z","author_association":"NONE","body":"Verifying locally..."}}
{"actor":{"display_login":"psturc"}}