{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/craton/pulls/comments/64438415","id":64438415,"diff_hunk":"@@ -2,23 +2,23 @@\n \n \n DefinitionsHost = {'discriminator': 'name',\n-                   'required': ['hostname',\n-                                'ip_address',\n-                                'cell',\n-                                'service'],\n+                   'required': ['name',\n+                                'region_id',\n+                                'project_id',\n+                                'ip_address'],\n                    'type': 'object',\n                    'properties': {\n                        'note': {'type': 'string'},\n-                       'service': {'items': {'type': 'string'},\n-                                   'type': 'array'},\n                        'ip_address': {'type': 'string'},","path":"craton/inventory/api/v1/schemas.py","position":17,"original_position":17,"commit_id":"bbcc3b44a6dca88133933554daab9951e0443124","original_commit_id":"bbcc3b44a6dca88133933554daab9951e0443124","user":{"login":"sulochan","id":683492,"avatar_url":"https://avatars.githubusercontent.com/u/683492?v=3","gravatar_id":"","url":"https://api.github.com/users/sulochan","html_url":"https://github.com/sulochan","followers_url":"https://api.github.com/users/sulochan/followers","following_url":"https://api.github.com/users/sulochan/following{/other_user}","gists_url":"https://api.github.com/users/sulochan/gists{/gist_id}","starred_url":"https://api.github.com/users/sulochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulochan/subscriptions","organizations_url":"https://api.github.com/users/sulochan/orgs","repos_url":"https://api.github.com/users/sulochan/repos","events_url":"https://api.github.com/users/sulochan/events{/privacy}","received_events_url":"https://api.github.com/users/sulochan/received_events","type":"User","site_admin":false},"body":"So I dont think there is support for anyOf in swagger. I will double check but I couldn't find it in specification last time i looked. We are using swagger to model the specification etc.","created_at":"2016-05-24T17:33:12Z","updated_at":"2016-05-24T17:33:12Z","html_url":"https://github.com/rackerlabs/craton/pull/71#discussion_r64438415","pull_request_url":"https://api.github.com/repos/rackerlabs/craton/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/craton/pulls/comments/64438415"},"html":{"href":"https://github.com/rackerlabs/craton/pull/71#discussion_r64438415"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/craton/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/craton/pulls/71","id":70709775,"html_url":"https://github.com/rackerlabs/craton/pull/71","diff_url":"https://github.com/rackerlabs/craton/pull/71.diff","patch_url":"https://github.com/rackerlabs/craton/pull/71.patch","issue_url":"https://api.github.com/repos/rackerlabs/craton/issues/71","number":71,"state":"open","locked":false,"title":"Adds hosts api functions","user":{"login":"sulochan","id":683492,"avatar_url":"https://avatars.githubusercontent.com/u/683492?v=3","gravatar_id":"","url":"https://api.github.com/users/sulochan","html_url":"https://github.com/sulochan","followers_url":"https://api.github.com/users/sulochan/followers","following_url":"https://api.github.com/users/sulochan/following{/other_user}","gists_url":"https://api.github.com/users/sulochan/gists{/gist_id}","starred_url":"https://api.github.com/users/sulochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulochan/subscriptions","organizations_url":"https://api.github.com/users/sulochan/orgs","repos_url":"https://api.github.com/users/sulochan/repos","events_url":"https://api.github.com/users/sulochan/events{/privacy}","received_events_url":"https://api.github.com/users/sulochan/received_events","type":"User","site_admin":false},"body":"Resolves #62","created_at":"2016-05-19T14:59:51Z","updated_at":"2016-05-24T17:33:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0874bcd8c86f717e2d999d9bb096e8fe4daa5bb9","assignee":null,"milestone":{"url":"https://api.github.com/repos/rackerlabs/craton/milestones/1","html_url":"https://github.com/rackerlabs/craton/milestones/MVP","labels_url":"https://api.github.com/repos/rackerlabs/craton/milestones/1/labels","id":1677397,"number":1,"title":"MVP","description":"","creator":{"login":"b3rnard0","id":8410236,"avatar_url":"https://avatars.githubusercontent.com/u/8410236?v=3","gravatar_id":"","url":"https://api.github.com/users/b3rnard0","html_url":"https://github.com/b3rnard0","followers_url":"https://api.github.com/users/b3rnard0/followers","following_url":"https://api.github.com/users/b3rnard0/following{/other_user}","gists_url":"https://api.github.com/users/b3rnard0/gists{/gist_id}","starred_url":"https://api.github.com/users/b3rnard0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b3rnard0/subscriptions","organizations_url":"https://api.github.com/users/b3rnard0/orgs","repos_url":"https://api.github.com/users/b3rnard0/repos","events_url":"https://api.github.com/users/b3rnard0/events{/privacy}","received_events_url":"https://api.github.com/users/b3rnard0/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":33,"state":"open","created_at":"2016-04-01T03:43:21Z","updated_at":"2016-05-23T11:10:44Z","due_on":"2016-06-09T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/rackerlabs/craton/pulls/71/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/craton/pulls/71/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/craton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/craton/issues/71/comments","statuses_url":"https://api.github.com/repos/rackerlabs/craton/statuses/bbcc3b44a6dca88133933554daab9951e0443124","head":{"label":"sulochan:hosts","ref":"hosts","sha":"bbcc3b44a6dca88133933554daab9951e0443124","user":{"login":"sulochan","id":683492,"avatar_url":"https://avatars.githubusercontent.com/u/683492?v=3","gravatar_id":"","url":"https://api.github.com/users/sulochan","html_url":"https://github.com/sulochan","followers_url":"https://api.github.com/users/sulochan/followers","following_url":"https://api.github.com/users/sulochan/following{/other_user}","gists_url":"https://api.github.com/users/sulochan/gists{/gist_id}","starred_url":"https://api.github.com/users/sulochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulochan/subscriptions","organizations_url":"https://api.github.com/users/sulochan/orgs","repos_url":"https://api.github.com/users/sulochan/repos","events_url":"https://api.github.com/users/sulochan/events{/privacy}","received_events_url":"https://api.github.com/users/sulochan/received_events","type":"User","site_admin":false},"repo":{"id":57957407,"name":"craton","full_name":"sulochan/craton","owner":{"login":"sulochan","id":683492,"avatar_url":"https://avatars.githubusercontent.com/u/683492?v=3","gravatar_id":"","url":"https://api.github.com/users/sulochan","html_url":"https://github.com/sulochan","followers_url":"https://api.github.com/users/sulochan/followers","following_url":"https://api.github.com/users/sulochan/following{/other_user}","gists_url":"https://api.github.com/users/sulochan/gists{/gist_id}","starred_url":"https://api.github.com/users/sulochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulochan/subscriptions","organizations_url":"https://api.github.com/users/sulochan/orgs","repos_url":"https://api.github.com/users/sulochan/repos","events_url":"https://api.github.com/users/sulochan/events{/privacy}","received_events_url":"https://api.github.com/users/sulochan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sulochan/craton","description":"Fleet management for OpenStack, eventually to released as an OpenStack \"big tent\" project. Working name is \"craton\", which is used to describe the platforms underlying the stable parts of continents. Work started under OpenStack Innovation Center.","fork":true,"url":"https://api.github.com/repos/sulochan/craton","forks_url":"https://api.github.com/repos/sulochan/craton/forks","keys_url":"https://api.github.com/repos/sulochan/craton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulochan/craton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulochan/craton/teams","hooks_url":"https://api.github.com/repos/sulochan/craton/hooks","issue_events_url":"https://api.github.com/repos/sulochan/craton/issues/events{/number}","events_url":"https://api.github.com/repos/sulochan/craton/events","assignees_url":"https://api.github.com/repos/sulochan/craton/assignees{/user}","branches_url":"https://api.github.com/repos/sulochan/craton/branches{/branch}","tags_url":"https://api.github.com/repos/sulochan/craton/tags","blobs_url":"https://api.github.com/repos/sulochan/craton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulochan/craton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulochan/craton/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulochan/craton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulochan/craton/statuses/{sha}","languages_url":"https://api.github.com/repos/sulochan/craton/languages","stargazers_url":"https://api.github.com/repos/sulochan/craton/stargazers","contributors_url":"https://api.github.com/repos/sulochan/craton/contributors","subscribers_url":"https://api.github.com/repos/sulochan/craton/subscribers","subscription_url":"https://api.github.com/repos/sulochan/craton/subscription","commits_url":"https://api.github.com/repos/sulochan/craton/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulochan/craton/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulochan/craton/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulochan/craton/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulochan/craton/contents/{+path}","compare_url":"https://api.github.com/repos/sulochan/craton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulochan/craton/merges","archive_url":"https://api.github.com/repos/sulochan/craton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulochan/craton/downloads","issues_url":"https://api.github.com/repos/sulochan/craton/issues{/number}","pulls_url":"https://api.github.com/repos/sulochan/craton/pulls{/number}","milestones_url":"https://api.github.com/repos/sulochan/craton/milestones{/number}","notifications_url":"https://api.github.com/repos/sulochan/craton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulochan/craton/labels{/name}","releases_url":"https://api.github.com/repos/sulochan/craton/releases{/id}","deployments_url":"https://api.github.com/repos/sulochan/craton/deployments","created_at":"2016-05-03T09:27:58Z","updated_at":"2016-05-03T09:28:00Z","pushed_at":"2016-05-24T09:42:30Z","git_url":"git://github.com/sulochan/craton.git","ssh_url":"git@github.com:sulochan/craton.git","clone_url":"https://github.com/sulochan/craton.git","svn_url":"https://github.com/sulochan/craton","homepage":"","size":136,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"ca8c92778cc03cb96cccd11e94705c9a37184095","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":52381771,"name":"craton","full_name":"rackerlabs/craton","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/craton","description":"Fleet management for OpenStack, eventually to released as an OpenStack \"big tent\" project. Working name is \"craton\", which is used to describe the platforms underlying the stable parts of continents. Work started under OpenStack Innovation Center.","fork":false,"url":"https://api.github.com/repos/rackerlabs/craton","forks_url":"https://api.github.com/repos/rackerlabs/craton/forks","keys_url":"https://api.github.com/repos/rackerlabs/craton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/craton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/craton/teams","hooks_url":"https://api.github.com/repos/rackerlabs/craton/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/craton/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/craton/events","assignees_url":"https://api.github.com/repos/rackerlabs/craton/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/craton/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/craton/tags","blobs_url":"https://api.github.com/repos/rackerlabs/craton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/craton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/craton/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/craton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/craton/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/craton/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/craton/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/craton/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/craton/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/craton/subscription","commits_url":"https://api.github.com/repos/rackerlabs/craton/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/craton/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/craton/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/craton/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/craton/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/craton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/craton/merges","archive_url":"https://api.github.com/repos/rackerlabs/craton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/craton/downloads","issues_url":"https://api.github.com/repos/rackerlabs/craton/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/craton/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/craton/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/craton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/craton/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/craton/releases{/id}","deployments_url":"https://api.github.com/repos/rackerlabs/craton/deployments","created_at":"2016-02-23T18:26:23Z","updated_at":"2016-05-23T20:56:37Z","pushed_at":"2016-05-24T09:42:43Z","git_url":"git://github.com/rackerlabs/craton.git","ssh_url":"git@github.com:rackerlabs/craton.git","clone_url":"https://github.com/rackerlabs/craton.git","svn_url":"https://github.com/rackerlabs/craton","homepage":"","size":143,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":27,"forks":4,"open_issues":27,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/craton/pulls/71"},"html":{"href":"https://github.com/rackerlabs/craton/pull/71"},"issue":{"href":"https://api.github.com/repos/rackerlabs/craton/issues/71"},"comments":{"href":"https://api.github.com/repos/rackerlabs/craton/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/craton/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/craton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/craton/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/craton/statuses/bbcc3b44a6dca88133933554daab9951e0443124"}}}}
{"actor":{"display_login":"sulochan"}}