{"action":"created","comment":{"url":"https://api.github.com/repos/guille762/dsc/pulls/comments/90444647","pull_request_review_id":10962372,"id":90444647,"diff_hunk":"@@ -153,4 +153,9 @@ void setDscInventoyLocationRepo(InventoryLocationAuditEntityRepository dscInvent\n \tvoid setCountTimesAllowed(Integer countTimesAllowed) {\n \t\tthis.countTimesAllowed = countTimesAllowed;\n \t}\n+\n+\tpublic void resetCount() {\n+\t    itemCountRepo.deleteAll();\n+\t\tdscInventoyLocationRepo.deleteAll();","path":"src/main/java/com/dsclogistics/wms/rest/service/cc/CycleCountService.java","position":7,"original_position":7,"commit_id":"3846bcaa8fab18bdb22b1539fc059c8b02a76284","original_commit_id":"3846bcaa8fab18bdb22b1539fc059c8b02a76284","user":{"login":"rominaromero","id":21047347,"avatar_url":"https://avatars.githubusercontent.com/u/21047347?v=3","gravatar_id":"","url":"https://api.github.com/users/rominaromero","html_url":"https://github.com/rominaromero","followers_url":"https://api.github.com/users/rominaromero/followers","following_url":"https://api.github.com/users/rominaromero/following{/other_user}","gists_url":"https://api.github.com/users/rominaromero/gists{/gist_id}","starred_url":"https://api.github.com/users/rominaromero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rominaromero/subscriptions","organizations_url":"https://api.github.com/users/rominaromero/orgs","repos_url":"https://api.github.com/users/rominaromero/repos","events_url":"https://api.github.com/users/rominaromero/events{/privacy}","received_events_url":"https://api.github.com/users/rominaromero/received_events","type":"User","site_admin":false},"body":"indentation","created_at":"2016-12-01T13:22:01Z","updated_at":"2016-12-01T13:22:02Z","html_url":"https://github.com/guille762/dsc/pull/20#discussion_r90444647","pull_request_url":"https://api.github.com/repos/guille762/dsc/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/guille762/dsc/pulls/comments/90444647"},"html":{"href":"https://github.com/guille762/dsc/pull/20#discussion_r90444647"},"pull_request":{"href":"https://api.github.com/repos/guille762/dsc/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/guille762/dsc/pulls/20","id":96082776,"html_url":"https://github.com/guille762/dsc/pull/20","diff_url":"https://github.com/guille762/dsc/pull/20.diff","patch_url":"https://github.com/guille762/dsc/pull/20.patch","issue_url":"https://api.github.com/repos/guille762/dsc/issues/20","number":20,"state":"open","locked":false,"title":"Add /count/reset endpoint to delete all the records under …","user":{"login":"guillermotunez","id":23215535,"avatar_url":"https://avatars.githubusercontent.com/u/23215535?v=3","gravatar_id":"","url":"https://api.github.com/users/guillermotunez","html_url":"https://github.com/guillermotunez","followers_url":"https://api.github.com/users/guillermotunez/followers","following_url":"https://api.github.com/users/guillermotunez/following{/other_user}","gists_url":"https://api.github.com/users/guillermotunez/gists{/gist_id}","starred_url":"https://api.github.com/users/guillermotunez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillermotunez/subscriptions","organizations_url":"https://api.github.com/users/guillermotunez/orgs","repos_url":"https://api.github.com/users/guillermotunez/repos","events_url":"https://api.github.com/users/guillermotunez/events{/privacy}","received_events_url":"https://api.github.com/users/guillermotunez/received_events","type":"User","site_admin":false},"body":"… public.item_count and cc_schema.inv_loc_audit to enable to count the same location by the same user more than once.","created_at":"2016-12-01T12:50:21Z","updated_at":"2016-12-01T13:22:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"211b1190d8b3fcf80b531ee86f9c63b41a55f392","assignee":{"login":"rominaromero","id":21047347,"avatar_url":"https://avatars.githubusercontent.com/u/21047347?v=3","gravatar_id":"","url":"https://api.github.com/users/rominaromero","html_url":"https://github.com/rominaromero","followers_url":"https://api.github.com/users/rominaromero/followers","following_url":"https://api.github.com/users/rominaromero/following{/other_user}","gists_url":"https://api.github.com/users/rominaromero/gists{/gist_id}","starred_url":"https://api.github.com/users/rominaromero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rominaromero/subscriptions","organizations_url":"https://api.github.com/users/rominaromero/orgs","repos_url":"https://api.github.com/users/rominaromero/repos","events_url":"https://api.github.com/users/rominaromero/events{/privacy}","received_events_url":"https://api.github.com/users/rominaromero/received_events","type":"User","site_admin":false},"assignees":[{"login":"rominaromero","id":21047347,"avatar_url":"https://avatars.githubusercontent.com/u/21047347?v=3","gravatar_id":"","url":"https://api.github.com/users/rominaromero","html_url":"https://github.com/rominaromero","followers_url":"https://api.github.com/users/rominaromero/followers","following_url":"https://api.github.com/users/rominaromero/following{/other_user}","gists_url":"https://api.github.com/users/rominaromero/gists{/gist_id}","starred_url":"https://api.github.com/users/rominaromero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rominaromero/subscriptions","organizations_url":"https://api.github.com/users/rominaromero/orgs","repos_url":"https://api.github.com/users/rominaromero/repos","events_url":"https://api.github.com/users/rominaromero/events{/privacy}","received_events_url":"https://api.github.com/users/rominaromero/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/guille762/dsc/pulls/20/commits","review_comments_url":"https://api.github.com/repos/guille762/dsc/pulls/20/comments","review_comment_url":"https://api.github.com/repos/guille762/dsc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guille762/dsc/issues/20/comments","statuses_url":"https://api.github.com/repos/guille762/dsc/statuses/3846bcaa8fab18bdb22b1539fc059c8b02a76284","head":{"label":"guille762:audit_count_reset","ref":"audit_count_reset","sha":"3846bcaa8fab18bdb22b1539fc059c8b02a76284","user":{"login":"guille762","id":18489777,"avatar_url":"https://avatars.githubusercontent.com/u/18489777?v=3","gravatar_id":"","url":"https://api.github.com/users/guille762","html_url":"https://github.com/guille762","followers_url":"https://api.github.com/users/guille762/followers","following_url":"https://api.github.com/users/guille762/following{/other_user}","gists_url":"https://api.github.com/users/guille762/gists{/gist_id}","starred_url":"https://api.github.com/users/guille762/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guille762/subscriptions","organizations_url":"https://api.github.com/users/guille762/orgs","repos_url":"https://api.github.com/users/guille762/repos","events_url":"https://api.github.com/users/guille762/events{/privacy}","received_events_url":"https://api.github.com/users/guille762/received_events","type":"User","site_admin":false},"repo":{"id":72139371,"name":"dsc","full_name":"guille762/dsc","owner":{"login":"guille762","id":18489777,"avatar_url":"https://avatars.githubusercontent.com/u/18489777?v=3","gravatar_id":"","url":"https://api.github.com/users/guille762","html_url":"https://github.com/guille762","followers_url":"https://api.github.com/users/guille762/followers","following_url":"https://api.github.com/users/guille762/following{/other_user}","gists_url":"https://api.github.com/users/guille762/gists{/gist_id}","starred_url":"https://api.github.com/users/guille762/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guille762/subscriptions","organizations_url":"https://api.github.com/users/guille762/orgs","repos_url":"https://api.github.com/users/guille762/repos","events_url":"https://api.github.com/users/guille762/events{/privacy}","received_events_url":"https://api.github.com/users/guille762/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guille762/dsc","description":null,"fork":false,"url":"https://api.github.com/repos/guille762/dsc","forks_url":"https://api.github.com/repos/guille762/dsc/forks","keys_url":"https://api.github.com/repos/guille762/dsc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guille762/dsc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guille762/dsc/teams","hooks_url":"https://api.github.com/repos/guille762/dsc/hooks","issue_events_url":"https://api.github.com/repos/guille762/dsc/issues/events{/number}","events_url":"https://api.github.com/repos/guille762/dsc/events","assignees_url":"https://api.github.com/repos/guille762/dsc/assignees{/user}","branches_url":"https://api.github.com/repos/guille762/dsc/branches{/branch}","tags_url":"https://api.github.com/repos/guille762/dsc/tags","blobs_url":"https://api.github.com/repos/guille762/dsc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guille762/dsc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guille762/dsc/git/refs{/sha}","trees_url":"https://api.github.com/repos/guille762/dsc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guille762/dsc/statuses/{sha}","languages_url":"https://api.github.com/repos/guille762/dsc/languages","stargazers_url":"https://api.github.com/repos/guille762/dsc/stargazers","contributors_url":"https://api.github.com/repos/guille762/dsc/contributors","subscribers_url":"https://api.github.com/repos/guille762/dsc/subscribers","subscription_url":"https://api.github.com/repos/guille762/dsc/subscription","commits_url":"https://api.github.com/repos/guille762/dsc/commits{/sha}","git_commits_url":"https://api.github.com/repos/guille762/dsc/git/commits{/sha}","comments_url":"https://api.github.com/repos/guille762/dsc/comments{/number}","issue_comment_url":"https://api.github.com/repos/guille762/dsc/issues/comments{/number}","contents_url":"https://api.github.com/repos/guille762/dsc/contents/{+path}","compare_url":"https://api.github.com/repos/guille762/dsc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guille762/dsc/merges","archive_url":"https://api.github.com/repos/guille762/dsc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guille762/dsc/downloads","issues_url":"https://api.github.com/repos/guille762/dsc/issues{/number}","pulls_url":"https://api.github.com/repos/guille762/dsc/pulls{/number}","milestones_url":"https://api.github.com/repos/guille762/dsc/milestones{/number}","notifications_url":"https://api.github.com/repos/guille762/dsc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guille762/dsc/labels{/name}","releases_url":"https://api.github.com/repos/guille762/dsc/releases{/id}","deployments_url":"https://api.github.com/repos/guille762/dsc/deployments","created_at":"2016-10-27T19:04:49Z","updated_at":"2016-11-02T18:45:36Z","pushed_at":"2016-12-01T13:19:14Z","git_url":"git://github.com/guille762/dsc.git","ssh_url":"git@github.com:guille762/dsc.git","clone_url":"https://github.com/guille762/dsc.git","svn_url":"https://github.com/guille762/dsc","homepage":null,"size":381,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"guille762:develop","ref":"develop","sha":"d9ad167eb4465caa1f155b55cc5eecd752beb02e","user":{"login":"guille762","id":18489777,"avatar_url":"https://avatars.githubusercontent.com/u/18489777?v=3","gravatar_id":"","url":"https://api.github.com/users/guille762","html_url":"https://github.com/guille762","followers_url":"https://api.github.com/users/guille762/followers","following_url":"https://api.github.com/users/guille762/following{/other_user}","gists_url":"https://api.github.com/users/guille762/gists{/gist_id}","starred_url":"https://api.github.com/users/guille762/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guille762/subscriptions","organizations_url":"https://api.github.com/users/guille762/orgs","repos_url":"https://api.github.com/users/guille762/repos","events_url":"https://api.github.com/users/guille762/events{/privacy}","received_events_url":"https://api.github.com/users/guille762/received_events","type":"User","site_admin":false},"repo":{"id":72139371,"name":"dsc","full_name":"guille762/dsc","owner":{"login":"guille762","id":18489777,"avatar_url":"https://avatars.githubusercontent.com/u/18489777?v=3","gravatar_id":"","url":"https://api.github.com/users/guille762","html_url":"https://github.com/guille762","followers_url":"https://api.github.com/users/guille762/followers","following_url":"https://api.github.com/users/guille762/following{/other_user}","gists_url":"https://api.github.com/users/guille762/gists{/gist_id}","starred_url":"https://api.github.com/users/guille762/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guille762/subscriptions","organizations_url":"https://api.github.com/users/guille762/orgs","repos_url":"https://api.github.com/users/guille762/repos","events_url":"https://api.github.com/users/guille762/events{/privacy}","received_events_url":"https://api.github.com/users/guille762/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guille762/dsc","description":null,"fork":false,"url":"https://api.github.com/repos/guille762/dsc","forks_url":"https://api.github.com/repos/guille762/dsc/forks","keys_url":"https://api.github.com/repos/guille762/dsc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guille762/dsc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guille762/dsc/teams","hooks_url":"https://api.github.com/repos/guille762/dsc/hooks","issue_events_url":"https://api.github.com/repos/guille762/dsc/issues/events{/number}","events_url":"https://api.github.com/repos/guille762/dsc/events","assignees_url":"https://api.github.com/repos/guille762/dsc/assignees{/user}","branches_url":"https://api.github.com/repos/guille762/dsc/branches{/branch}","tags_url":"https://api.github.com/repos/guille762/dsc/tags","blobs_url":"https://api.github.com/repos/guille762/dsc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guille762/dsc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guille762/dsc/git/refs{/sha}","trees_url":"https://api.github.com/repos/guille762/dsc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guille762/dsc/statuses/{sha}","languages_url":"https://api.github.com/repos/guille762/dsc/languages","stargazers_url":"https://api.github.com/repos/guille762/dsc/stargazers","contributors_url":"https://api.github.com/repos/guille762/dsc/contributors","subscribers_url":"https://api.github.com/repos/guille762/dsc/subscribers","subscription_url":"https://api.github.com/repos/guille762/dsc/subscription","commits_url":"https://api.github.com/repos/guille762/dsc/commits{/sha}","git_commits_url":"https://api.github.com/repos/guille762/dsc/git/commits{/sha}","comments_url":"https://api.github.com/repos/guille762/dsc/comments{/number}","issue_comment_url":"https://api.github.com/repos/guille762/dsc/issues/comments{/number}","contents_url":"https://api.github.com/repos/guille762/dsc/contents/{+path}","compare_url":"https://api.github.com/repos/guille762/dsc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guille762/dsc/merges","archive_url":"https://api.github.com/repos/guille762/dsc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guille762/dsc/downloads","issues_url":"https://api.github.com/repos/guille762/dsc/issues{/number}","pulls_url":"https://api.github.com/repos/guille762/dsc/pulls{/number}","milestones_url":"https://api.github.com/repos/guille762/dsc/milestones{/number}","notifications_url":"https://api.github.com/repos/guille762/dsc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guille762/dsc/labels{/name}","releases_url":"https://api.github.com/repos/guille762/dsc/releases{/id}","deployments_url":"https://api.github.com/repos/guille762/dsc/deployments","created_at":"2016-10-27T19:04:49Z","updated_at":"2016-11-02T18:45:36Z","pushed_at":"2016-12-01T13:19:14Z","git_url":"git://github.com/guille762/dsc.git","ssh_url":"git@github.com:guille762/dsc.git","clone_url":"https://github.com/guille762/dsc.git","svn_url":"https://github.com/guille762/dsc","homepage":null,"size":381,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guille762/dsc/pulls/20"},"html":{"href":"https://github.com/guille762/dsc/pull/20"},"issue":{"href":"https://api.github.com/repos/guille762/dsc/issues/20"},"comments":{"href":"https://api.github.com/repos/guille762/dsc/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/guille762/dsc/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/guille762/dsc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guille762/dsc/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/guille762/dsc/statuses/3846bcaa8fab18bdb22b1539fc059c8b02a76284"}}}}
{"actor":{"display_login":"rominaromero"}}