{"action":"created","comment":{"url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/comments/300628793","pull_request_review_id":258331577,"id":300628793,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMDYyODc5Mw==","diff_hunk":"@@ -0,0 +1,48 @@\n+package com.openmrs.migrator.core.services.impl;\n+\n+import com.openmrs.migrator.core.services.PDIService;\n+import java.io.InputStream;\n+import org.pentaho.di.core.KettleEnvironment;\n+import org.pentaho.di.core.Result;\n+import org.pentaho.di.core.exception.KettleException;\n+import org.pentaho.di.core.logging.LogLevel;\n+import org.pentaho.di.trans.Trans;\n+import org.pentaho.di.trans.TransMeta;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import org.springframework.stereotype.Component;\n+\n+@Component\n+public class PDIServiceImpl implements PDIService {\n+\n+  private static Logger LOG = LoggerFactory.getLogger(PDIServiceImpl.class);\n+\n+  @Override\n+  public void runTransformation(InputStream xmlStream) throws KettleException {","path":"src/main/java/com/openmrs/migrator/core/services/impl/PDIServiceImpl.java","position":21,"original_position":21,"commit_id":"852b712d87c9f1322687b53b7e193be0e9b98b6f","original_commit_id":"852b712d87c9f1322687b53b7e193be0e9b98b6f","user":{"login":"nthfloor","id":19207552,"node_id":"MDQ6VXNlcjE5MjA3NTUy","avatar_url":"https://avatars2.githubusercontent.com/u/19207552?v=4","gravatar_id":"","url":"https://api.github.com/users/nthfloor","html_url":"https://github.com/nthfloor","followers_url":"https://api.github.com/users/nthfloor/followers","following_url":"https://api.github.com/users/nthfloor/following{/other_user}","gists_url":"https://api.github.com/users/nthfloor/gists{/gist_id}","starred_url":"https://api.github.com/users/nthfloor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nthfloor/subscriptions","organizations_url":"https://api.github.com/users/nthfloor/orgs","repos_url":"https://api.github.com/users/nthfloor/repos","events_url":"https://api.github.com/users/nthfloor/events{/privacy}","received_events_url":"https://api.github.com/users/nthfloor/received_events","type":"User","site_admin":false},"body":"We need tests for this method","created_at":"2019-07-05T10:24:06Z","updated_at":"2019-07-05T10:32:57Z","html_url":"https://github.com/esaude/openmrs-database-migrator/pull/3#discussion_r300628793","pull_request_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/comments/300628793"},"html":{"href":"https://github.com/esaude/openmrs-database-migrator/pull/3#discussion_r300628793"},"pull_request":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3","id":294818430,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk0ODE4NDMw","html_url":"https://github.com/esaude/openmrs-database-migrator/pull/3","diff_url":"https://github.com/esaude/openmrs-database-migrator/pull/3.diff","patch_url":"https://github.com/esaude/openmrs-database-migrator/pull/3.patch","issue_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/3","number":3,"state":"open","locked":false,"title":"MEPTS-16: Migrator: Implement PDI service","user":{"login":"ynurmahomed","id":1554715,"node_id":"MDQ6VXNlcjE1NTQ3MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1554715?v=4","gravatar_id":"","url":"https://api.github.com/users/ynurmahomed","html_url":"https://github.com/ynurmahomed","followers_url":"https://api.github.com/users/ynurmahomed/followers","following_url":"https://api.github.com/users/ynurmahomed/following{/other_user}","gists_url":"https://api.github.com/users/ynurmahomed/gists{/gist_id}","starred_url":"https://api.github.com/users/ynurmahomed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ynurmahomed/subscriptions","organizations_url":"https://api.github.com/users/ynurmahomed/orgs","repos_url":"https://api.github.com/users/ynurmahomed/repos","events_url":"https://api.github.com/users/ynurmahomed/events{/privacy}","received_events_url":"https://api.github.com/users/ynurmahomed/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-07-05T10:12:40Z","updated_at":"2019-07-05T10:32:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78822067e069788eab319159eac8ecf318b33596","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3/commits","review_comments_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3/comments","review_comment_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/3/comments","statuses_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/statuses/852b712d87c9f1322687b53b7e193be0e9b98b6f","head":{"label":"esaude:MEPTS-16-implement-pdi-service","ref":"MEPTS-16-implement-pdi-service","sha":"852b712d87c9f1322687b53b7e193be0e9b98b6f","user":{"login":"esaude","id":6670085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2NzAwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6670085?v=4","gravatar_id":"","url":"https://api.github.com/users/esaude","html_url":"https://github.com/esaude","followers_url":"https://api.github.com/users/esaude/followers","following_url":"https://api.github.com/users/esaude/following{/other_user}","gists_url":"https://api.github.com/users/esaude/gists{/gist_id}","starred_url":"https://api.github.com/users/esaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaude/subscriptions","organizations_url":"https://api.github.com/users/esaude/orgs","repos_url":"https://api.github.com/users/esaude/repos","events_url":"https://api.github.com/users/esaude/events{/privacy}","received_events_url":"https://api.github.com/users/esaude/received_events","type":"Organization","site_admin":false},"repo":{"id":190562456,"node_id":"MDEwOlJlcG9zaXRvcnkxOTA1NjI0NTY=","name":"openmrs-database-migrator","full_name":"esaude/openmrs-database-migrator","private":false,"owner":{"login":"esaude","id":6670085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2NzAwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6670085?v=4","gravatar_id":"","url":"https://api.github.com/users/esaude","html_url":"https://github.com/esaude","followers_url":"https://api.github.com/users/esaude/followers","following_url":"https://api.github.com/users/esaude/following{/other_user}","gists_url":"https://api.github.com/users/esaude/gists{/gist_id}","starred_url":"https://api.github.com/users/esaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaude/subscriptions","organizations_url":"https://api.github.com/users/esaude/orgs","repos_url":"https://api.github.com/users/esaude/repos","events_url":"https://api.github.com/users/esaude/events{/privacy}","received_events_url":"https://api.github.com/users/esaude/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/esaude/openmrs-database-migrator","description":"OpenMRS databases Migrator Tool ","fork":false,"url":"https://api.github.com/repos/esaude/openmrs-database-migrator","forks_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/forks","keys_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/teams","hooks_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/hooks","issue_events_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/events{/number}","events_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/events","assignees_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/assignees{/user}","branches_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/branches{/branch}","tags_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/tags","blobs_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/refs{/sha}","trees_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/statuses/{sha}","languages_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/languages","stargazers_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/stargazers","contributors_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/contributors","subscribers_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/subscribers","subscription_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/subscription","commits_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/commits{/sha}","git_commits_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/commits{/sha}","comments_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/comments{/number}","issue_comment_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/comments{/number}","contents_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/contents/{+path}","compare_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/merges","archive_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/downloads","issues_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues{/number}","pulls_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls{/number}","milestones_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/milestones{/number}","notifications_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/labels{/name}","releases_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/releases{/id}","deployments_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/deployments","created_at":"2019-06-06T10:24:31Z","updated_at":"2019-07-04T06:43:23Z","pushed_at":"2019-07-05T10:12:41Z","git_url":"git://github.com/esaude/openmrs-database-migrator.git","ssh_url":"git@github.com:esaude/openmrs-database-migrator.git","clone_url":"https://github.com/esaude/openmrs-database-migrator.git","svn_url":"https://github.com/esaude/openmrs-database-migrator","homepage":"","size":104,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"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","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"esaude:master","ref":"master","sha":"1e5819692f7bb310045b12372d7cbe1d45168d90","user":{"login":"esaude","id":6670085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2NzAwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6670085?v=4","gravatar_id":"","url":"https://api.github.com/users/esaude","html_url":"https://github.com/esaude","followers_url":"https://api.github.com/users/esaude/followers","following_url":"https://api.github.com/users/esaude/following{/other_user}","gists_url":"https://api.github.com/users/esaude/gists{/gist_id}","starred_url":"https://api.github.com/users/esaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaude/subscriptions","organizations_url":"https://api.github.com/users/esaude/orgs","repos_url":"https://api.github.com/users/esaude/repos","events_url":"https://api.github.com/users/esaude/events{/privacy}","received_events_url":"https://api.github.com/users/esaude/received_events","type":"Organization","site_admin":false},"repo":{"id":190562456,"node_id":"MDEwOlJlcG9zaXRvcnkxOTA1NjI0NTY=","name":"openmrs-database-migrator","full_name":"esaude/openmrs-database-migrator","private":false,"owner":{"login":"esaude","id":6670085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2NzAwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6670085?v=4","gravatar_id":"","url":"https://api.github.com/users/esaude","html_url":"https://github.com/esaude","followers_url":"https://api.github.com/users/esaude/followers","following_url":"https://api.github.com/users/esaude/following{/other_user}","gists_url":"https://api.github.com/users/esaude/gists{/gist_id}","starred_url":"https://api.github.com/users/esaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaude/subscriptions","organizations_url":"https://api.github.com/users/esaude/orgs","repos_url":"https://api.github.com/users/esaude/repos","events_url":"https://api.github.com/users/esaude/events{/privacy}","received_events_url":"https://api.github.com/users/esaude/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/esaude/openmrs-database-migrator","description":"OpenMRS databases Migrator Tool ","fork":false,"url":"https://api.github.com/repos/esaude/openmrs-database-migrator","forks_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/forks","keys_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/teams","hooks_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/hooks","issue_events_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/events{/number}","events_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/events","assignees_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/assignees{/user}","branches_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/branches{/branch}","tags_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/tags","blobs_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/refs{/sha}","trees_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/statuses/{sha}","languages_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/languages","stargazers_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/stargazers","contributors_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/contributors","subscribers_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/subscribers","subscription_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/subscription","commits_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/commits{/sha}","git_commits_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/git/commits{/sha}","comments_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/comments{/number}","issue_comment_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/comments{/number}","contents_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/contents/{+path}","compare_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/merges","archive_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/downloads","issues_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues{/number}","pulls_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls{/number}","milestones_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/milestones{/number}","notifications_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/labels{/name}","releases_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/releases{/id}","deployments_url":"https://api.github.com/repos/esaude/openmrs-database-migrator/deployments","created_at":"2019-06-06T10:24:31Z","updated_at":"2019-07-04T06:43:23Z","pushed_at":"2019-07-05T10:12:41Z","git_url":"git://github.com/esaude/openmrs-database-migrator.git","ssh_url":"git@github.com:esaude/openmrs-database-migrator.git","clone_url":"https://github.com/esaude/openmrs-database-migrator.git","svn_url":"https://github.com/esaude/openmrs-database-migrator","homepage":"","size":104,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"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","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3"},"html":{"href":"https://github.com/esaude/openmrs-database-migrator/pull/3"},"issue":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/3"},"comments":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/esaude/openmrs-database-migrator/statuses/852b712d87c9f1322687b53b7e193be0e9b98b6f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"nthfloor"}}