{"action":"opened","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/104","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/104/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/104/events","html_url":"https://github.com/Kademi/kademi-dev/issues/104","id":55532059,"number":104,"title":"Auctions websockets do not identify organisation","user":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kademi/kademi-dev/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tuzzmaniandevil","id":3378330,"avatar_url":"https://avatars.githubusercontent.com/u/3378330?v=3","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/15","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/15/labels","id":946529,"number":15,"title":"2015-01-m5","description":"GroupSmsJob\r\n- String notes\r\n- String smsProvider\r\n- String filterScriptXml","creator":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2015-01-22T07:40:26Z","updated_at":"2015-01-26T20:20:43Z","due_on":"2015-01-26T11:00:00Z","closed_at":null},"comments":0,"created_at":"2015-01-26T20:20:43Z","updated_at":"2015-01-26T20:20:43Z","closed_at":null,"body":"In the AuctionWebsockets class we have code like this:\r\n\r\n    public void onClosing(Auction auction){\r\n        this.websocketApplication.broadcast(\"auctionBid\", auction.getName(), \"{}\");\r\n    }\r\n\r\nWhere the application broadcasts the auction is closing to all websocket clients listening to a socket with the auction name. However, auction names are only required to be unique within an organisation. So if 2 different Kademi customers each had an auction with the same name their users would receive notifications about the other.\r\n\r\nTo solve this problem the ID of the websocket should include the organistaion ID as well as the auction name"}}