{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/bateeq-module/pulls/comments/93221148","pull_request_review_id":13742604,"id":93221148,"diff_hunk":"@@ -0,0 +1,90 @@\n+var helper = require(\"../helper\");\n+var should = require(\"should\");\n+var connect = require(\"../../src/etl/sqlConnect\");\n+var ItemsMigration = require(\"../../src/etl/itemPaging\");\n+var instanceMigration = null;\n+\n+before(\"#00. connect db\", function (done) {\n+    helper.getDb()\n+        .then((db) => {\n+            connect.getConnect()\n+                .then((connect) => {\n+                    instanceMigration = new ItemsMigration(db, {\n+                        username: \"unit-test\"\n+                    });\n+                    done();\n+                })\n+                .catch((e) => {\n+                    done(e);\n+                });\n+        })\n+});\n+\n+// it(\"#01. should error when get empty data \", function (done) {\n+//     instanceManager.getDataStores({})\n+//         .then((id) => {\n+//             done();\n+//         })\n+//         .catch((e) => {\n+//             done(e);\n+//         })\n+// });\n+\n+// it(\"#02. should error when data is not Array\", function (done) {\n+//     instanceManager.getDataStores()\n+//         .then((data) => {\n+//             data.should.be.instanceof(Array)\n+//             done();\n+//         })\n+//         .catch((e) => {\n+//             done(e);\n+//         })\n+// });\n+\n+// it(\"#03. should success when get data \", function (done) {\n+//     instanceManager.getDataStores()\n+//         .then(() => {\n+//             done();\n+//         })\n+//         .catch((e) => {\n+//             done(e);\n+//         })\n+// });\n+// it(\"#05. should success when get data Stores \", function (done) {\n+//     instanceMigration.getDataStores()\n+//         .then((data) => {\n+//             console.log(data);\n+//             done();\n+//         })\n+\n+//         .catch((e) => {\n+//             done(e);\n+//         })\n+// });\n+\n+\n+// it(\"#05. should success when migrate all data Stores \", function (done) {\n+//     instanceMigration.migrateDataStores()\n+//         .then((result) => {\n+//             // console.log(data);\n+//             done();\n+//         })\n+\n+//         .catch((e) => {\n+//             done(e);\n+//         })\n+// });\n+\n+it(\"#01. should success when migrate all data Stores \", function (done) {\n+    instanceMigration.getDataItems()\n+        .then((result) => {\n+            // console.log(result);\n+            done();\n+        })\n+\n+        .catch((e) => {","path":"test/etl/items-etl-pagination-test.js","position":85,"original_position":85,"commit_id":"632879eb6fc41141510354cfc8c9ca4ecfc72fcf","original_commit_id":"632879eb6fc41141510354cfc8c9ca4ecfc72fcf","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2016-12-20T11:43:58Z","updated_at":"2016-12-20T11:43:58Z","html_url":"https://github.com/danliris/bateeq-module/pull/99#discussion_r93221148","pull_request_url":"https://api.github.com/repos/danliris/bateeq-module/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-module/pulls/comments/93221148"},"html":{"href":"https://github.com/danliris/bateeq-module/pull/99#discussion_r93221148"},"pull_request":{"href":"https://api.github.com/repos/danliris/bateeq-module/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/bateeq-module/pulls/99","id":98733601,"html_url":"https://github.com/danliris/bateeq-module/pull/99","diff_url":"https://github.com/danliris/bateeq-module/pull/99.diff","patch_url":"https://github.com/danliris/bateeq-module/pull/99.patch","issue_url":"https://api.github.com/repos/danliris/bateeq-module/issues/99","number":99,"state":"closed","locked":false,"title":"Dev to UAT etl 20 Dec 2016","user":{"login":"fendywillyam","id":24405641,"avatar_url":"https://avatars.githubusercontent.com/u/24405641?v=3","gravatar_id":"","url":"https://api.github.com/users/fendywillyam","html_url":"https://github.com/fendywillyam","followers_url":"https://api.github.com/users/fendywillyam/followers","following_url":"https://api.github.com/users/fendywillyam/following{/other_user}","gists_url":"https://api.github.com/users/fendywillyam/gists{/gist_id}","starred_url":"https://api.github.com/users/fendywillyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fendywillyam/subscriptions","organizations_url":"https://api.github.com/users/fendywillyam/orgs","repos_url":"https://api.github.com/users/fendywillyam/repos","events_url":"https://api.github.com/users/fendywillyam/events{/privacy}","received_events_url":"https://api.github.com/users/fendywillyam/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-20T11:43:49Z","updated_at":"2016-12-20T11:43:58Z","closed_at":"2016-12-20T11:43:55Z","merged_at":"2016-12-20T11:43:55Z","merge_commit_sha":"891d229fcd6de75da2cfe3342ac6d84dd0a8bc0a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/bateeq-module/pulls/99/commits","review_comments_url":"https://api.github.com/repos/danliris/bateeq-module/pulls/99/comments","review_comment_url":"https://api.github.com/repos/danliris/bateeq-module/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/bateeq-module/issues/99/comments","statuses_url":"https://api.github.com/repos/danliris/bateeq-module/statuses/632879eb6fc41141510354cfc8c9ca4ecfc72fcf","head":{"label":"danliris:dev","ref":"dev","sha":"632879eb6fc41141510354cfc8c9ca4ecfc72fcf","user":{"login":"danliris","id":20855729,"avatar_url":"https://avatars.githubusercontent.com/u/20855729?v=3","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":61858352,"name":"bateeq-module","full_name":"danliris/bateeq-module","owner":{"login":"danliris","id":20855729,"avatar_url":"https://avatars.githubusercontent.com/u/20855729?v=3","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/bateeq-module","description":"bateeq module","fork":false,"url":"https://api.github.com/repos/danliris/bateeq-module","forks_url":"https://api.github.com/repos/danliris/bateeq-module/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-module/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-module/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-module/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-module/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-module/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-module/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-module/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-module/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-module/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-module/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-module/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-module/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-module/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-module/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-module/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-module/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-module/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-module/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-module/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-module/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-module/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-module/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-module/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-module/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-module/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-module/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-module/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-module/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-module/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-module/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-module/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-module/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-module/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-module/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-module/deployments","created_at":"2016-06-24T05:10:07Z","updated_at":"2016-08-08T03:26:08Z","pushed_at":"2016-12-20T11:43:57Z","git_url":"git://github.com/danliris/bateeq-module.git","ssh_url":"git@github.com:danliris/bateeq-module.git","clone_url":"https://github.com/danliris/bateeq-module.git","svn_url":"https://github.com/danliris/bateeq-module","homepage":null,"size":716,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"danliris:uat","ref":"uat","sha":"9697c0b4b60a2aef2ca0c03cd2f92c57de27a97f","user":{"login":"danliris","id":20855729,"avatar_url":"https://avatars.githubusercontent.com/u/20855729?v=3","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":61858352,"name":"bateeq-module","full_name":"danliris/bateeq-module","owner":{"login":"danliris","id":20855729,"avatar_url":"https://avatars.githubusercontent.com/u/20855729?v=3","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/bateeq-module","description":"bateeq module","fork":false,"url":"https://api.github.com/repos/danliris/bateeq-module","forks_url":"https://api.github.com/repos/danliris/bateeq-module/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-module/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-module/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-module/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-module/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-module/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-module/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-module/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-module/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-module/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-module/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-module/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-module/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-module/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-module/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-module/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-module/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-module/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-module/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-module/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-module/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-module/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-module/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-module/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-module/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-module/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-module/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-module/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-module/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-module/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-module/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-module/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-module/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-module/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-module/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-module/deployments","created_at":"2016-06-24T05:10:07Z","updated_at":"2016-08-08T03:26:08Z","pushed_at":"2016-12-20T11:43:57Z","git_url":"git://github.com/danliris/bateeq-module.git","ssh_url":"git@github.com:danliris/bateeq-module.git","clone_url":"https://github.com/danliris/bateeq-module.git","svn_url":"https://github.com/danliris/bateeq-module","homepage":null,"size":716,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-module/pulls/99"},"html":{"href":"https://github.com/danliris/bateeq-module/pull/99"},"issue":{"href":"https://api.github.com/repos/danliris/bateeq-module/issues/99"},"comments":{"href":"https://api.github.com/repos/danliris/bateeq-module/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/bateeq-module/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/bateeq-module/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/bateeq-module/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/bateeq-module/statuses/632879eb6fc41141510354cfc8c9ca4ecfc72fcf"}}}}
{"actor":{"display_login":"houndci-bot"}}