{"action":"closed","number":16539,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16539","id":155153552,"html_url":"https://github.com/ManageIQ/manageiq/pull/16539","diff_url":"https://github.com/ManageIQ/manageiq/pull/16539.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/16539.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16539","number":16539,"state":"closed","locked":false,"title":"Add to inventory collection a method to rehash secondary indexes","user":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars3.githubusercontent.com/u/23639005?v=4","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"body":"Inventory collection has the capability to define secondary indexes. However, if an inventory object is built using `find_or_build`, the secondary index is not built correctly. Also, if the data in the inventory objects is updated, the secondary indexes become out of sync.\r\n\r\nThis is adding methods to rebuild/synchronize secondary indexes.\r\n","created_at":"2017-11-28T18:50:37Z","updated_at":"2017-11-29T16:14:13Z","closed_at":"2017-11-29T16:14:13Z","merged_at":null,"merge_commit_sha":"8e1a07d9cc413389fc1b8de7fba347ce3ac77364","assignee":{"login":"agrare","id":12851112,"avatar_url":"https://avatars2.githubusercontent.com/u/12851112?v=4","gravatar_id":"","url":"https://api.github.com/users/agrare","html_url":"https://github.com/agrare","followers_url":"https://api.github.com/users/agrare/followers","following_url":"https://api.github.com/users/agrare/following{/other_user}","gists_url":"https://api.github.com/users/agrare/gists{/gist_id}","starred_url":"https://api.github.com/users/agrare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrare/subscriptions","organizations_url":"https://api.github.com/users/agrare/orgs","repos_url":"https://api.github.com/users/agrare/repos","events_url":"https://api.github.com/users/agrare/events{/privacy}","received_events_url":"https://api.github.com/users/agrare/received_events","type":"User","site_admin":false},"assignees":[{"login":"agrare","id":12851112,"avatar_url":"https://avatars2.githubusercontent.com/u/12851112?v=4","gravatar_id":"","url":"https://api.github.com/users/agrare","html_url":"https://github.com/agrare","followers_url":"https://api.github.com/users/agrare/followers","following_url":"https://api.github.com/users/agrare/following{/other_user}","gists_url":"https://api.github.com/users/agrare/gists{/gist_id}","starred_url":"https://api.github.com/users/agrare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrare/subscriptions","organizations_url":"https://api.github.com/users/agrare/orgs","repos_url":"https://api.github.com/users/agrare/repos","events_url":"https://api.github.com/users/agrare/events{/privacy}","received_events_url":"https://api.github.com/users/agrare/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"Ladas","id":1737058,"avatar_url":"https://avatars0.githubusercontent.com/u/1737058?v=4","gravatar_id":"","url":"https://api.github.com/users/Ladas","html_url":"https://github.com/Ladas","followers_url":"https://api.github.com/users/Ladas/followers","following_url":"https://api.github.com/users/Ladas/following{/other_user}","gists_url":"https://api.github.com/users/Ladas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ladas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ladas/subscriptions","organizations_url":"https://api.github.com/users/Ladas/orgs","repos_url":"https://api.github.com/users/Ladas/repos","events_url":"https://api.github.com/users/Ladas/events{/privacy}","received_events_url":"https://api.github.com/users/Ladas/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16539/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16539/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16539/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/4838601b016c6d2e44da3a09c8a131bd89f8395a","head":{"label":"israel-hdez:inv_collection_rehash","ref":"inv_collection_rehash","sha":"4838601b016c6d2e44da3a09c8a131bd89f8395a","user":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars3.githubusercontent.com/u/23639005?v=4","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"repo":{"id":74387520,"name":"manageiq","full_name":"israel-hdez/manageiq","owner":{"login":"israel-hdez","id":23639005,"avatar_url":"https://avatars3.githubusercontent.com/u/23639005?v=4","gravatar_id":"","url":"https://api.github.com/users/israel-hdez","html_url":"https://github.com/israel-hdez","followers_url":"https://api.github.com/users/israel-hdez/followers","following_url":"https://api.github.com/users/israel-hdez/following{/other_user}","gists_url":"https://api.github.com/users/israel-hdez/gists{/gist_id}","starred_url":"https://api.github.com/users/israel-hdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israel-hdez/subscriptions","organizations_url":"https://api.github.com/users/israel-hdez/orgs","repos_url":"https://api.github.com/users/israel-hdez/repos","events_url":"https://api.github.com/users/israel-hdez/events{/privacy}","received_events_url":"https://api.github.com/users/israel-hdez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/israel-hdez/manageiq","description":"ManageIQ Open-Source Management Platform","fork":true,"url":"https://api.github.com/repos/israel-hdez/manageiq","forks_url":"https://api.github.com/repos/israel-hdez/manageiq/forks","keys_url":"https://api.github.com/repos/israel-hdez/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/israel-hdez/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/israel-hdez/manageiq/teams","hooks_url":"https://api.github.com/repos/israel-hdez/manageiq/hooks","issue_events_url":"https://api.github.com/repos/israel-hdez/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/israel-hdez/manageiq/events","assignees_url":"https://api.github.com/repos/israel-hdez/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/israel-hdez/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/israel-hdez/manageiq/tags","blobs_url":"https://api.github.com/repos/israel-hdez/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/israel-hdez/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/israel-hdez/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/israel-hdez/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/israel-hdez/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/israel-hdez/manageiq/languages","stargazers_url":"https://api.github.com/repos/israel-hdez/manageiq/stargazers","contributors_url":"https://api.github.com/repos/israel-hdez/manageiq/contributors","subscribers_url":"https://api.github.com/repos/israel-hdez/manageiq/subscribers","subscription_url":"https://api.github.com/repos/israel-hdez/manageiq/subscription","commits_url":"https://api.github.com/repos/israel-hdez/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/israel-hdez/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/israel-hdez/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/israel-hdez/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/israel-hdez/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/israel-hdez/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/israel-hdez/manageiq/merges","archive_url":"https://api.github.com/repos/israel-hdez/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/israel-hdez/manageiq/downloads","issues_url":"https://api.github.com/repos/israel-hdez/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/israel-hdez/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/israel-hdez/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/israel-hdez/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/israel-hdez/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/israel-hdez/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/israel-hdez/manageiq/deployments","created_at":"2016-11-21T17:21:12Z","updated_at":"2016-11-21T17:21:29Z","pushed_at":"2017-11-28T18:48:41Z","git_url":"git://github.com/israel-hdez/manageiq.git","ssh_url":"git@github.com:israel-hdez/manageiq.git","clone_url":"https://github.com/israel-hdez/manageiq.git","svn_url":"https://github.com/israel-hdez/manageiq","homepage":"manageiq.org","size":195191,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"c368deca29debf2b909ad683e04c4313a215a7a3","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Open-Source Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2017-11-28T18:46:09Z","pushed_at":"2017-11-29T15:42:20Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":215318,"stargazers_count":562,"watchers_count":562,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":548,"mirror_url":null,"archived":false,"open_issues_count":631,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":548,"open_issues":631,"watchers":562,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16539"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/16539"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/16539"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/16539/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16539/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16539/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/4838601b016c6d2e44da3a09c8a131bd89f8395a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":7,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"israel-hdez"}}