{"action":"created","issue":{"url":"https://api.github.com/repos/StackStorm/st2/issues/2321","labels_url":"https://api.github.com/repos/StackStorm/st2/issues/2321/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2/issues/2321/comments","events_url":"https://api.github.com/repos/StackStorm/st2/issues/2321/events","html_url":"https://github.com/StackStorm/st2/issues/2321","id":123507622,"number":2321,"title":"Fix circular dependency in st2-register-content script","user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/StackStorm/st2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/StackStorm/st2/labels/complexity:easy","name":"complexity:easy","color":"bfe5bf"},{"url":"https://api.github.com/repos/StackStorm/st2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-22T16:00:08Z","updated_at":"2015-12-24T13:23:48Z","closed_at":"2015-12-24T13:23:48Z","body":"There is a circular dependency between st2common <-> st2actions.\r\n\r\nIt looks like we missed this when originally working on policies stuff, or it didn't matter at this point because register content stuff didn't live in st2common yet.\r\n\r\nFix is easy, but it won't result in the most nicely organized code (sadly we don't have much choice at this point).\r\n\r\nSee for details:\r\n\r\n*  https://github.com/StackStorm/st2/issues/2314\r\n* https://github.com/StackStorm/st2-packages/issues/52"},"comment":{"url":"https://api.github.com/repos/StackStorm/st2/issues/comments/167110173","html_url":"https://github.com/StackStorm/st2/issues/2321#issuecomment-167110173","issue_url":"https://api.github.com/repos/StackStorm/st2/issues/2321","id":167110173,"user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T13:23:48Z","updated_at":"2015-12-24T13:23:48Z","body":"Fixed by #2331."}}