{"action":"created","comment":{"url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/comments/39990317","id":39990317,"diff_hunk":"@@ -0,0 +1,25 @@\n+package org.bonitasoft.migration.version\n+\n+import groovy.sql.Sql\n+import org.bonitasoft.migration.core.MigrationContext\n+import org.bonitasoft.migration.core.MigrationStep\n+import org.bonitasoft.migration.core.database.DatabaseHelper\n+\n+/**\n+ * @author Elias Ricken de Medeiros\n+ */\n+class DBUnitMigrationContext extends  MigrationContext {\n+\n+\n+    DBUnitMigrationContext(Sql sql) {\n+        this.sql = sql\n+\n+        def dBVendor = MigrationStep.DBVendor.valueOf(System.getProperty(\"dbvendor\", \"POSTGRES\").toUpperCase())","path":"bonita-migration-distrib/src/it/groovy/org/bonitasoft/migration/version/DBUnitMigrationContext.groovy","position":17,"original_position":17,"commit_id":"93c4552308b1254eac164becf29b564bd0b806ee","original_commit_id":"93c4552308b1254eac164becf29b564bd0b806ee","user":{"login":"laurentleseigneur","id":6574899,"avatar_url":"https://avatars.githubusercontent.com/u/6574899?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentleseigneur","html_url":"https://github.com/laurentleseigneur","followers_url":"https://api.github.com/users/laurentleseigneur/followers","following_url":"https://api.github.com/users/laurentleseigneur/following{/other_user}","gists_url":"https://api.github.com/users/laurentleseigneur/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentleseigneur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentleseigneur/subscriptions","organizations_url":"https://api.github.com/users/laurentleseigneur/orgs","repos_url":"https://api.github.com/users/laurentleseigneur/repos","events_url":"https://api.github.com/users/laurentleseigneur/events{/privacy}","received_events_url":"https://api.github.com/users/laurentleseigneur/received_events","type":"User","site_admin":false},"body":"could user loadProperties in superclass","created_at":"2015-09-21T16:14:11Z","updated_at":"2015-09-21T16:14:11Z","html_url":"https://github.com/bonitasoft/bonita-migration/pull/25#discussion_r39990317","pull_request_url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/comments/39990317"},"html":{"href":"https://github.com/bonitasoft/bonita-migration/pull/25#discussion_r39990317"},"pull_request":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25","id":45564244,"html_url":"https://github.com/bonitasoft/bonita-migration/pull/25","diff_url":"https://github.com/bonitasoft/bonita-migration/pull/25.diff","patch_url":"https://github.com/bonitasoft/bonita-migration/pull/25.patch","issue_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/25","number":25,"state":"open","locked":false,"title":"BS-14315, add migration step to drop table arch_transition_instance","user":{"login":"ermedeiros","id":4928054,"avatar_url":"https://avatars.githubusercontent.com/u/4928054?v=3","gravatar_id":"","url":"https://api.github.com/users/ermedeiros","html_url":"https://github.com/ermedeiros","followers_url":"https://api.github.com/users/ermedeiros/followers","following_url":"https://api.github.com/users/ermedeiros/following{/other_user}","gists_url":"https://api.github.com/users/ermedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/ermedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermedeiros/subscriptions","organizations_url":"https://api.github.com/users/ermedeiros/orgs","repos_url":"https://api.github.com/users/ermedeiros/repos","events_url":"https://api.github.com/users/ermedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/ermedeiros/received_events","type":"User","site_admin":false},"body":"This table will exists for all Bonita BPM Platform created under 7.0.x and 7.1.0;\r\nUsers coming from  versions  6.x will have this table dropped when migration to version 7.0.0","created_at":"2015-09-21T15:40:19Z","updated_at":"2015-09-21T16:14:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"206f773e99837cbfce25f8e78bce820083f76655","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25/commits","review_comments_url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25/comments","review_comment_url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/25/comments","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-migration/statuses/93c4552308b1254eac164becf29b564bd0b806ee","head":{"label":"bonitasoft:feat/dropArchTransitionInst","ref":"feat/dropArchTransitionInst","sha":"93c4552308b1254eac164becf29b564bd0b806ee","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":14172799,"name":"bonita-migration","full_name":"bonitasoft/bonita-migration","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-migration","description":"","fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-migration","forks_url":"https://api.github.com/repos/bonitasoft/bonita-migration/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-migration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-migration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-migration/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-migration/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-migration/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-migration/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-migration/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-migration/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-migration/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-migration/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-migration/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-migration/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-migration/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-migration/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-migration/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-migration/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-migration/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-migration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-migration/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-migration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-migration/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-migration/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-migration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-migration/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-migration/releases{/id}","created_at":"2013-11-06T13:09:34Z","updated_at":"2015-05-07T16:37:40Z","pushed_at":"2015-09-21T15:40:19Z","git_url":"git://github.com/bonitasoft/bonita-migration.git","ssh_url":"git@github.com:bonitasoft/bonita-migration.git","clone_url":"https://github.com/bonitasoft/bonita-migration.git","svn_url":"https://github.com/bonitasoft/bonita-migration","homepage":"http://community.bonitasoft.com/","size":28379,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"bonitasoft:7.1.x","ref":"7.1.x","sha":"069d155a0f30b3dec12657f74808366fab002b22","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":14172799,"name":"bonita-migration","full_name":"bonitasoft/bonita-migration","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-migration","description":"","fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-migration","forks_url":"https://api.github.com/repos/bonitasoft/bonita-migration/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-migration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-migration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-migration/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-migration/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-migration/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-migration/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-migration/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-migration/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-migration/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-migration/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-migration/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-migration/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-migration/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-migration/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-migration/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-migration/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-migration/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-migration/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-migration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-migration/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-migration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-migration/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-migration/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-migration/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-migration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-migration/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-migration/releases{/id}","created_at":"2013-11-06T13:09:34Z","updated_at":"2015-05-07T16:37:40Z","pushed_at":"2015-09-21T15:40:19Z","git_url":"git://github.com/bonitasoft/bonita-migration.git","ssh_url":"git@github.com:bonitasoft/bonita-migration.git","clone_url":"https://github.com/bonitasoft/bonita-migration.git","svn_url":"https://github.com/bonitasoft/bonita-migration","homepage":"http://community.bonitasoft.com/","size":28379,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25"},"html":{"href":"https://github.com/bonitasoft/bonita-migration/pull/25"},"issue":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/25"},"comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/bonitasoft/bonita-migration/statuses/93c4552308b1254eac164becf29b564bd0b806ee"}}}}