{"action":"created","comment":{"url":"https://api.github.com/repos/quipucords/quipucords/pulls/comments/172052321","pull_request_review_id":101009013,"id":172052321,"diff_hunk":"@@ -125,19 +122,22 @@ class AddSourceWizardStepTwo extends React.Component {\n       credentials.length &&\n       !credentialsError\n     ) {\n-      let updatedSource = {\n-        [apiTypes.API_SOURCE_NAME]: sourceName,\n-        [apiTypes.API_SOURCE_HOSTS]: hosts,\n-        [apiTypes.API_SOURCE_CREDENTIALS]: credentials\n-      };\n-\n+      let updatedSource = { id: source.id };\n+      _.set(updatedSource, apiTypes.API_SOURCE_TYPE, sourceType);\n+      _.set(updatedSource, apiTypes.API_SOURCE_NAME, sourceName);\n+      _.set(updatedSource, apiTypes.API_SOURCE_HOSTS, hosts);\n+      _.set(updatedSource, apiTypes.API_SOURCE_SAT_VERSION, satelliteVersion);\n+      _.set(updatedSource, apiTypes.API_SOURCE_SSL_PROTOCOL, sslProtocol);\n+      _.set(updatedSource, apiTypes.API_SOURCE_SSL_CERT, sslCertVerify);\n+      _.set(updatedSource, apiTypes.API_SOURCE_SSL_DISABLE, disableSsl);\n+      _.set(updatedSource, apiTypes.API_SOURCE_CREDENTIALS, credentials);","path":"client/src/components/addSourceWizard/addSourceWizardStepTwo.js","position":121,"original_position":116,"commit_id":"7dd0945a69eed86bb4b6c5efb21ed27f8b71dffe","original_commit_id":"7dd0945a69eed86bb4b6c5efb21ed27f8b71dffe","user":{"login":"jeff-phillips-18","id":11633780,"avatar_url":"https://avatars1.githubusercontent.com/u/11633780?v=4","gravatar_id":"","url":"https://api.github.com/users/jeff-phillips-18","html_url":"https://github.com/jeff-phillips-18","followers_url":"https://api.github.com/users/jeff-phillips-18/followers","following_url":"https://api.github.com/users/jeff-phillips-18/following{/other_user}","gists_url":"https://api.github.com/users/jeff-phillips-18/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-phillips-18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-phillips-18/subscriptions","organizations_url":"https://api.github.com/users/jeff-phillips-18/orgs","repos_url":"https://api.github.com/users/jeff-phillips-18/repos","events_url":"https://api.github.com/users/jeff-phillips-18/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-phillips-18/received_events","type":"User","site_admin":false},"body":"Yeah, basically what this is doing. I can remove the fields that are not updated by this page and merge instead.","created_at":"2018-03-04T15:18:31Z","updated_at":"2018-03-04T15:18:31Z","html_url":"https://github.com/quipucords/quipucords/pull/932#discussion_r172052321","pull_request_url":"https://api.github.com/repos/quipucords/quipucords/pulls/932","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/quipucords/quipucords/pulls/comments/172052321"},"html":{"href":"https://github.com/quipucords/quipucords/pull/932#discussion_r172052321"},"pull_request":{"href":"https://api.github.com/repos/quipucords/quipucords/pulls/932"}},"in_reply_to_id":172029318},"pull_request":{"url":"https://api.github.com/repos/quipucords/quipucords/pulls/932","id":172670134,"html_url":"https://github.com/quipucords/quipucords/pull/932","diff_url":"https://github.com/quipucords/quipucords/pull/932.diff","patch_url":"https://github.com/quipucords/quipucords/pull/932.patch","issue_url":"https://api.github.com/repos/quipucords/quipucords/issues/932","number":932,"state":"open","locked":false,"title":"UI: Fixes in source view and wizard","user":{"login":"jeff-phillips-18","id":11633780,"avatar_url":"https://avatars1.githubusercontent.com/u/11633780?v=4","gravatar_id":"","url":"https://api.github.com/users/jeff-phillips-18","html_url":"https://github.com/jeff-phillips-18","followers_url":"https://api.github.com/users/jeff-phillips-18/followers","following_url":"https://api.github.com/users/jeff-phillips-18/following{/other_user}","gists_url":"https://api.github.com/users/jeff-phillips-18/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-phillips-18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-phillips-18/subscriptions","organizations_url":"https://api.github.com/users/jeff-phillips-18/orgs","repos_url":"https://api.github.com/users/jeff-phillips-18/repos","events_url":"https://api.github.com/users/jeff-phillips-18/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-phillips-18/received_events","type":"User","site_admin":false},"body":"Implement Delete source\r\nUpdate sources list after Add, Edit, Delete\r\nDo no lost updates in wizard when a new credential is added\r\n\r\nFixes #827 \r\n","created_at":"2018-03-03T14:41:59Z","updated_at":"2018-03-04T15:18:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b32ac4252730d7dd342d2da570d0e10eca3484a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/quipucords/quipucords/pulls/932/commits","review_comments_url":"https://api.github.com/repos/quipucords/quipucords/pulls/932/comments","review_comment_url":"https://api.github.com/repos/quipucords/quipucords/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quipucords/quipucords/issues/932/comments","statuses_url":"https://api.github.com/repos/quipucords/quipucords/statuses/7dd0945a69eed86bb4b6c5efb21ed27f8b71dffe","head":{"label":"jeff-phillips-18:issues/839","ref":"issues/839","sha":"7dd0945a69eed86bb4b6c5efb21ed27f8b71dffe","user":{"login":"jeff-phillips-18","id":11633780,"avatar_url":"https://avatars1.githubusercontent.com/u/11633780?v=4","gravatar_id":"","url":"https://api.github.com/users/jeff-phillips-18","html_url":"https://github.com/jeff-phillips-18","followers_url":"https://api.github.com/users/jeff-phillips-18/followers","following_url":"https://api.github.com/users/jeff-phillips-18/following{/other_user}","gists_url":"https://api.github.com/users/jeff-phillips-18/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-phillips-18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-phillips-18/subscriptions","organizations_url":"https://api.github.com/users/jeff-phillips-18/orgs","repos_url":"https://api.github.com/users/jeff-phillips-18/repos","events_url":"https://api.github.com/users/jeff-phillips-18/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-phillips-18/received_events","type":"User","site_admin":false},"repo":{"id":111429865,"name":"quipucords","full_name":"jeff-phillips-18/quipucords","owner":{"login":"jeff-phillips-18","id":11633780,"avatar_url":"https://avatars1.githubusercontent.com/u/11633780?v=4","gravatar_id":"","url":"https://api.github.com/users/jeff-phillips-18","html_url":"https://github.com/jeff-phillips-18","followers_url":"https://api.github.com/users/jeff-phillips-18/followers","following_url":"https://api.github.com/users/jeff-phillips-18/following{/other_user}","gists_url":"https://api.github.com/users/jeff-phillips-18/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-phillips-18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-phillips-18/subscriptions","organizations_url":"https://api.github.com/users/jeff-phillips-18/orgs","repos_url":"https://api.github.com/users/jeff-phillips-18/repos","events_url":"https://api.github.com/users/jeff-phillips-18/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-phillips-18/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-phillips-18/quipucords","description":"A tool for discovery, inspection, collection/deduplication, and reporting on an IT environment","fork":true,"url":"https://api.github.com/repos/jeff-phillips-18/quipucords","forks_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/forks","keys_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/teams","hooks_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/hooks","issue_events_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/events","assignees_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/tags","blobs_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/languages","stargazers_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/stargazers","contributors_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/contributors","subscribers_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/subscribers","subscription_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/subscription","commits_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/merges","archive_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/downloads","issues_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/labels{/name}","releases_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/releases{/id}","deployments_url":"https://api.github.com/repos/jeff-phillips-18/quipucords/deployments","created_at":"2017-11-20T15:41:51Z","updated_at":"2017-11-20T15:41:53Z","pushed_at":"2018-03-03T20:14:49Z","git_url":"git://github.com/jeff-phillips-18/quipucords.git","ssh_url":"git@github.com:jeff-phillips-18/quipucords.git","clone_url":"https://github.com/jeff-phillips-18/quipucords.git","svn_url":"https://github.com/jeff-phillips-18/quipucords","homepage":"","size":2167,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"quipucords:master","ref":"master","sha":"c09ad27bf407fc3f6c748767e7c6ec1a01b8deb9","user":{"login":"quipucords","id":29148065,"avatar_url":"https://avatars0.githubusercontent.com/u/29148065?v=4","gravatar_id":"","url":"https://api.github.com/users/quipucords","html_url":"https://github.com/quipucords","followers_url":"https://api.github.com/users/quipucords/followers","following_url":"https://api.github.com/users/quipucords/following{/other_user}","gists_url":"https://api.github.com/users/quipucords/gists{/gist_id}","starred_url":"https://api.github.com/users/quipucords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quipucords/subscriptions","organizations_url":"https://api.github.com/users/quipucords/orgs","repos_url":"https://api.github.com/users/quipucords/repos","events_url":"https://api.github.com/users/quipucords/events{/privacy}","received_events_url":"https://api.github.com/users/quipucords/received_events","type":"Organization","site_admin":false},"repo":{"id":94471461,"name":"quipucords","full_name":"quipucords/quipucords","owner":{"login":"quipucords","id":29148065,"avatar_url":"https://avatars0.githubusercontent.com/u/29148065?v=4","gravatar_id":"","url":"https://api.github.com/users/quipucords","html_url":"https://github.com/quipucords","followers_url":"https://api.github.com/users/quipucords/followers","following_url":"https://api.github.com/users/quipucords/following{/other_user}","gists_url":"https://api.github.com/users/quipucords/gists{/gist_id}","starred_url":"https://api.github.com/users/quipucords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quipucords/subscriptions","organizations_url":"https://api.github.com/users/quipucords/orgs","repos_url":"https://api.github.com/users/quipucords/repos","events_url":"https://api.github.com/users/quipucords/events{/privacy}","received_events_url":"https://api.github.com/users/quipucords/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quipucords/quipucords","description":"A tool for discovery, inspection, collection/deduplication, and reporting on an IT environment","fork":false,"url":"https://api.github.com/repos/quipucords/quipucords","forks_url":"https://api.github.com/repos/quipucords/quipucords/forks","keys_url":"https://api.github.com/repos/quipucords/quipucords/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quipucords/quipucords/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quipucords/quipucords/teams","hooks_url":"https://api.github.com/repos/quipucords/quipucords/hooks","issue_events_url":"https://api.github.com/repos/quipucords/quipucords/issues/events{/number}","events_url":"https://api.github.com/repos/quipucords/quipucords/events","assignees_url":"https://api.github.com/repos/quipucords/quipucords/assignees{/user}","branches_url":"https://api.github.com/repos/quipucords/quipucords/branches{/branch}","tags_url":"https://api.github.com/repos/quipucords/quipucords/tags","blobs_url":"https://api.github.com/repos/quipucords/quipucords/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quipucords/quipucords/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quipucords/quipucords/git/refs{/sha}","trees_url":"https://api.github.com/repos/quipucords/quipucords/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quipucords/quipucords/statuses/{sha}","languages_url":"https://api.github.com/repos/quipucords/quipucords/languages","stargazers_url":"https://api.github.com/repos/quipucords/quipucords/stargazers","contributors_url":"https://api.github.com/repos/quipucords/quipucords/contributors","subscribers_url":"https://api.github.com/repos/quipucords/quipucords/subscribers","subscription_url":"https://api.github.com/repos/quipucords/quipucords/subscription","commits_url":"https://api.github.com/repos/quipucords/quipucords/commits{/sha}","git_commits_url":"https://api.github.com/repos/quipucords/quipucords/git/commits{/sha}","comments_url":"https://api.github.com/repos/quipucords/quipucords/comments{/number}","issue_comment_url":"https://api.github.com/repos/quipucords/quipucords/issues/comments{/number}","contents_url":"https://api.github.com/repos/quipucords/quipucords/contents/{+path}","compare_url":"https://api.github.com/repos/quipucords/quipucords/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quipucords/quipucords/merges","archive_url":"https://api.github.com/repos/quipucords/quipucords/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quipucords/quipucords/downloads","issues_url":"https://api.github.com/repos/quipucords/quipucords/issues{/number}","pulls_url":"https://api.github.com/repos/quipucords/quipucords/pulls{/number}","milestones_url":"https://api.github.com/repos/quipucords/quipucords/milestones{/number}","notifications_url":"https://api.github.com/repos/quipucords/quipucords/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quipucords/quipucords/labels{/name}","releases_url":"https://api.github.com/repos/quipucords/quipucords/releases{/id}","deployments_url":"https://api.github.com/repos/quipucords/quipucords/deployments","created_at":"2017-06-15T19:19:03Z","updated_at":"2018-03-02T17:28:30Z","pushed_at":"2018-03-03T20:14:51Z","git_url":"git://github.com/quipucords/quipucords.git","ssh_url":"git@github.com:quipucords/quipucords.git","clone_url":"https://github.com/quipucords/quipucords.git","svn_url":"https://github.com/quipucords/quipucords","homepage":"http://quipucords.readthedocs.io/en/latest/","size":2194,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":7,"open_issues":39,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quipucords/quipucords/pulls/932"},"html":{"href":"https://github.com/quipucords/quipucords/pull/932"},"issue":{"href":"https://api.github.com/repos/quipucords/quipucords/issues/932"},"comments":{"href":"https://api.github.com/repos/quipucords/quipucords/issues/932/comments"},"review_comments":{"href":"https://api.github.com/repos/quipucords/quipucords/pulls/932/comments"},"review_comment":{"href":"https://api.github.com/repos/quipucords/quipucords/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quipucords/quipucords/pulls/932/commits"},"statuses":{"href":"https://api.github.com/repos/quipucords/quipucords/statuses/7dd0945a69eed86bb4b6c5efb21ed27f8b71dffe"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jeff-phillips-18"}}