{"action":"closed","number":319,"pull_request":{"url":"https://api.github.com/repos/Talend/data-prep/pulls/319","id":92467186,"html_url":"https://github.com/Talend/data-prep/pull/319","diff_url":"https://github.com/Talend/data-prep/pull/319.diff","patch_url":"https://github.com/Talend/data-prep/pull/319.patch","issue_url":"https://api.github.com/repos/Talend/data-prep/issues/319","number":319,"state":"closed","locked":false,"title":"TDP-2730: Required changes for big data integration","user":{"login":"fhuaulme","id":2669101,"avatar_url":"https://avatars.githubusercontent.com/u/2669101?v=3","gravatar_id":"","url":"https://api.github.com/users/fhuaulme","html_url":"https://github.com/fhuaulme","followers_url":"https://api.github.com/users/fhuaulme/followers","following_url":"https://api.github.com/users/fhuaulme/following{/other_user}","gists_url":"https://api.github.com/users/fhuaulme/gists{/gist_id}","starred_url":"https://api.github.com/users/fhuaulme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhuaulme/subscriptions","organizations_url":"https://api.github.com/users/fhuaulme/orgs","repos_url":"https://api.github.com/users/fhuaulme/repos","events_url":"https://api.github.com/users/fhuaulme/events{/privacy}","received_events_url":"https://api.github.com/users/fhuaulme/received_events","type":"User","site_admin":false},"body":"https://jira.talendforge.org/browse/TDP-2730\r\n\r\n**Please check if the PR fulfills these requirements**\r\n\r\n- [x] The commit(s) message(s) follows our [guidelines](https://github.com/talend/tools/blob/master/tools-root-github/CONTRIBUTING.md#commit-message-format)\r\n- [x] Tests for the changes have been added (for bug fixes / features)\r\n- [x] Docs have been added / updated (for bug fixes / features)\r\n- [ ] The code coverage on new code is > 75 % for backend and > 95% for frontend\r\n- [ ] The new code does not introduce new technical issues (sonar / eslint)\r\n\r\n**What is the new behavior?**\r\nThe overall goal of this set of changes is to separate non-Spring from Spring dependent code. This PR also provides way to parse a Data Prep preparation (from JSON) and get a simple Java 8 lambda function (this provides integration within Beam or Spark).\r\n\r\nSee below (commit message) for full description of changes.\r\n\r\n[Beam support code]\r\n* Implements Preparation JSON -> Function conversion.\r\n* Fix concurrent initialization issue (see https://github.com/ronmamo/reflections/issues/81).\r\n\r\n[Refactoring]\r\n* Ease DataSetRow to Avro GenericRecord conversion.\r\n* Extract action interface (ActionDefinition) and introduce internal DP server action interface (InternalActionDefinition).\r\n* Remove Spring dependencies in action (removes @Component for another non-Spring annotation).\r\n* Removes dependencies on Spring in actions (removes all @Autowired).\r\n* Spring action scan for @Action-annotated classes.\r\n* All actions are now serializable (+ unit test to ensure this).\r\n\r\n[Unit tests]\r\n* Unit test refactoring: use single test to prevent too many context creations.\r\n* Each service application now has unique name.\r\n\r\n[Misc]\r\n* Code clean up (unused class OutputNode).\r\n* Removes lots of useless javadocs.\r\n* ServiceBaseTest -> uses Spring Boot 1.4 runner.\r\n* Use Avro 1.7.7 for Studio compatibility.\r\n* Use Jackson 2.4.4 for Studio compatibility.\r\n* Use Daikon 0.13.0 for Studio compatibility.\r\n\r\n[Project structure]\r\n* Introduce non-backend-common module (backend-common) for non Spring-dependent classes.\r\n* Renames previous backend-common -> backend-service for Spring-dependent classes.\r\n* Simplify spring boot dependency management.\r\n* Introduce single backend-service-parent for managing test scoped dependencies.\r\n\r\n[Related tasks]\r\n\r\nTDP-2360: changed the i18n handling\r\n* now using a static class to handle i18n messages requests\r\n* removed the message bundle request filter\r\n* kept MessageBundle and MessageBundleContext classes for the API but deprecated and redirecting to dataprep bundle.\r\n* added some tests and a bit of doc\r\n* remove spring dependency in bundle access for actions\r\n\r\nTDP-2781: Fix missing invalid marker step when processing content in supplied content mode.\r\n* Fix missing invalid marker step when needStatisticsBefore is true and invalid action index == 0.\r\n* Fix missing returns in buildIntermediateStatistics.\r\n* Improve configuration for ApplyPreparationToContentStrategy (disable full stats).\r\n* Unit test for issue.\r\n\r\nTDP-2826 / TDP-2813: Fix error when no action to be applied on record.\r\n* Unit test to reproduce issue.\r\n\r\nTDP-2370: Improve performance by preventing type detection as initial step.","created_at":"2016-11-05T21:03:21Z","updated_at":"2016-11-10T09:06:26Z","closed_at":"2016-11-10T09:06:26Z","merged_at":"2016-11-10T09:06:26Z","merge_commit_sha":"c90691e265b19f110d13d320227f7a8017046357","assignee":{"login":"bdiouf","id":14981103,"avatar_url":"https://avatars.githubusercontent.com/u/14981103?v=3","gravatar_id":"","url":"https://api.github.com/users/bdiouf","html_url":"https://github.com/bdiouf","followers_url":"https://api.github.com/users/bdiouf/followers","following_url":"https://api.github.com/users/bdiouf/following{/other_user}","gists_url":"https://api.github.com/users/bdiouf/gists{/gist_id}","starred_url":"https://api.github.com/users/bdiouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdiouf/subscriptions","organizations_url":"https://api.github.com/users/bdiouf/orgs","repos_url":"https://api.github.com/users/bdiouf/repos","events_url":"https://api.github.com/users/bdiouf/events{/privacy}","received_events_url":"https://api.github.com/users/bdiouf/received_events","type":"User","site_admin":false},"assignees":[{"login":"bdiouf","id":14981103,"avatar_url":"https://avatars.githubusercontent.com/u/14981103?v=3","gravatar_id":"","url":"https://api.github.com/users/bdiouf","html_url":"https://github.com/bdiouf","followers_url":"https://api.github.com/users/bdiouf/followers","following_url":"https://api.github.com/users/bdiouf/following{/other_user}","gists_url":"https://api.github.com/users/bdiouf/gists{/gist_id}","starred_url":"https://api.github.com/users/bdiouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdiouf/subscriptions","organizations_url":"https://api.github.com/users/bdiouf/orgs","repos_url":"https://api.github.com/users/bdiouf/repos","events_url":"https://api.github.com/users/bdiouf/events{/privacy}","received_events_url":"https://api.github.com/users/bdiouf/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Talend/data-prep/pulls/319/commits","review_comments_url":"https://api.github.com/repos/Talend/data-prep/pulls/319/comments","review_comment_url":"https://api.github.com/repos/Talend/data-prep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Talend/data-prep/issues/319/comments","statuses_url":"https://api.github.com/repos/Talend/data-prep/statuses/a5ece77b4317abe7ceb34048ee718b8b93eef021","head":{"label":"Talend:feature/bigdata_changes","ref":"feature/bigdata_changes","sha":"a5ece77b4317abe7ceb34048ee718b8b93eef021","user":{"login":"Talend","id":459687,"avatar_url":"https://avatars.githubusercontent.com/u/459687?v=3","gravatar_id":"","url":"https://api.github.com/users/Talend","html_url":"https://github.com/Talend","followers_url":"https://api.github.com/users/Talend/followers","following_url":"https://api.github.com/users/Talend/following{/other_user}","gists_url":"https://api.github.com/users/Talend/gists{/gist_id}","starred_url":"https://api.github.com/users/Talend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talend/subscriptions","organizations_url":"https://api.github.com/users/Talend/orgs","repos_url":"https://api.github.com/users/Talend/repos","events_url":"https://api.github.com/users/Talend/events{/privacy}","received_events_url":"https://api.github.com/users/Talend/received_events","type":"Organization","site_admin":false},"repo":{"id":26644682,"name":"data-prep","full_name":"Talend/data-prep","owner":{"login":"Talend","id":459687,"avatar_url":"https://avatars.githubusercontent.com/u/459687?v=3","gravatar_id":"","url":"https://api.github.com/users/Talend","html_url":"https://github.com/Talend","followers_url":"https://api.github.com/users/Talend/followers","following_url":"https://api.github.com/users/Talend/following{/other_user}","gists_url":"https://api.github.com/users/Talend/gists{/gist_id}","starred_url":"https://api.github.com/users/Talend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talend/subscriptions","organizations_url":"https://api.github.com/users/Talend/orgs","repos_url":"https://api.github.com/users/Talend/repos","events_url":"https://api.github.com/users/Talend/events{/privacy}","received_events_url":"https://api.github.com/users/Talend/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Talend/data-prep","description":"OS code of Data-prep project","fork":false,"url":"https://api.github.com/repos/Talend/data-prep","forks_url":"https://api.github.com/repos/Talend/data-prep/forks","keys_url":"https://api.github.com/repos/Talend/data-prep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Talend/data-prep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Talend/data-prep/teams","hooks_url":"https://api.github.com/repos/Talend/data-prep/hooks","issue_events_url":"https://api.github.com/repos/Talend/data-prep/issues/events{/number}","events_url":"https://api.github.com/repos/Talend/data-prep/events","assignees_url":"https://api.github.com/repos/Talend/data-prep/assignees{/user}","branches_url":"https://api.github.com/repos/Talend/data-prep/branches{/branch}","tags_url":"https://api.github.com/repos/Talend/data-prep/tags","blobs_url":"https://api.github.com/repos/Talend/data-prep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Talend/data-prep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Talend/data-prep/git/refs{/sha}","trees_url":"https://api.github.com/repos/Talend/data-prep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Talend/data-prep/statuses/{sha}","languages_url":"https://api.github.com/repos/Talend/data-prep/languages","stargazers_url":"https://api.github.com/repos/Talend/data-prep/stargazers","contributors_url":"https://api.github.com/repos/Talend/data-prep/contributors","subscribers_url":"https://api.github.com/repos/Talend/data-prep/subscribers","subscription_url":"https://api.github.com/repos/Talend/data-prep/subscription","commits_url":"https://api.github.com/repos/Talend/data-prep/commits{/sha}","git_commits_url":"https://api.github.com/repos/Talend/data-prep/git/commits{/sha}","comments_url":"https://api.github.com/repos/Talend/data-prep/comments{/number}","issue_comment_url":"https://api.github.com/repos/Talend/data-prep/issues/comments{/number}","contents_url":"https://api.github.com/repos/Talend/data-prep/contents/{+path}","compare_url":"https://api.github.com/repos/Talend/data-prep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Talend/data-prep/merges","archive_url":"https://api.github.com/repos/Talend/data-prep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Talend/data-prep/downloads","issues_url":"https://api.github.com/repos/Talend/data-prep/issues{/number}","pulls_url":"https://api.github.com/repos/Talend/data-prep/pulls{/number}","milestones_url":"https://api.github.com/repos/Talend/data-prep/milestones{/number}","notifications_url":"https://api.github.com/repos/Talend/data-prep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Talend/data-prep/labels{/name}","releases_url":"https://api.github.com/repos/Talend/data-prep/releases{/id}","deployments_url":"https://api.github.com/repos/Talend/data-prep/deployments","created_at":"2014-11-14T15:32:38Z","updated_at":"2016-11-02T08:38:49Z","pushed_at":"2016-11-10T09:06:26Z","git_url":"git://github.com/Talend/data-prep.git","ssh_url":"git@github.com:Talend/data-prep.git","clone_url":"https://github.com/Talend/data-prep.git","svn_url":"https://github.com/Talend/data-prep","homepage":"","size":51234,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":19,"default_branch":"master"}},"base":{"label":"Talend:master","ref":"master","sha":"5587f791d484935b3853d12dc2dfdabd8dd19147","user":{"login":"Talend","id":459687,"avatar_url":"https://avatars.githubusercontent.com/u/459687?v=3","gravatar_id":"","url":"https://api.github.com/users/Talend","html_url":"https://github.com/Talend","followers_url":"https://api.github.com/users/Talend/followers","following_url":"https://api.github.com/users/Talend/following{/other_user}","gists_url":"https://api.github.com/users/Talend/gists{/gist_id}","starred_url":"https://api.github.com/users/Talend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talend/subscriptions","organizations_url":"https://api.github.com/users/Talend/orgs","repos_url":"https://api.github.com/users/Talend/repos","events_url":"https://api.github.com/users/Talend/events{/privacy}","received_events_url":"https://api.github.com/users/Talend/received_events","type":"Organization","site_admin":false},"repo":{"id":26644682,"name":"data-prep","full_name":"Talend/data-prep","owner":{"login":"Talend","id":459687,"avatar_url":"https://avatars.githubusercontent.com/u/459687?v=3","gravatar_id":"","url":"https://api.github.com/users/Talend","html_url":"https://github.com/Talend","followers_url":"https://api.github.com/users/Talend/followers","following_url":"https://api.github.com/users/Talend/following{/other_user}","gists_url":"https://api.github.com/users/Talend/gists{/gist_id}","starred_url":"https://api.github.com/users/Talend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talend/subscriptions","organizations_url":"https://api.github.com/users/Talend/orgs","repos_url":"https://api.github.com/users/Talend/repos","events_url":"https://api.github.com/users/Talend/events{/privacy}","received_events_url":"https://api.github.com/users/Talend/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Talend/data-prep","description":"OS code of Data-prep project","fork":false,"url":"https://api.github.com/repos/Talend/data-prep","forks_url":"https://api.github.com/repos/Talend/data-prep/forks","keys_url":"https://api.github.com/repos/Talend/data-prep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Talend/data-prep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Talend/data-prep/teams","hooks_url":"https://api.github.com/repos/Talend/data-prep/hooks","issue_events_url":"https://api.github.com/repos/Talend/data-prep/issues/events{/number}","events_url":"https://api.github.com/repos/Talend/data-prep/events","assignees_url":"https://api.github.com/repos/Talend/data-prep/assignees{/user}","branches_url":"https://api.github.com/repos/Talend/data-prep/branches{/branch}","tags_url":"https://api.github.com/repos/Talend/data-prep/tags","blobs_url":"https://api.github.com/repos/Talend/data-prep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Talend/data-prep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Talend/data-prep/git/refs{/sha}","trees_url":"https://api.github.com/repos/Talend/data-prep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Talend/data-prep/statuses/{sha}","languages_url":"https://api.github.com/repos/Talend/data-prep/languages","stargazers_url":"https://api.github.com/repos/Talend/data-prep/stargazers","contributors_url":"https://api.github.com/repos/Talend/data-prep/contributors","subscribers_url":"https://api.github.com/repos/Talend/data-prep/subscribers","subscription_url":"https://api.github.com/repos/Talend/data-prep/subscription","commits_url":"https://api.github.com/repos/Talend/data-prep/commits{/sha}","git_commits_url":"https://api.github.com/repos/Talend/data-prep/git/commits{/sha}","comments_url":"https://api.github.com/repos/Talend/data-prep/comments{/number}","issue_comment_url":"https://api.github.com/repos/Talend/data-prep/issues/comments{/number}","contents_url":"https://api.github.com/repos/Talend/data-prep/contents/{+path}","compare_url":"https://api.github.com/repos/Talend/data-prep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Talend/data-prep/merges","archive_url":"https://api.github.com/repos/Talend/data-prep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Talend/data-prep/downloads","issues_url":"https://api.github.com/repos/Talend/data-prep/issues{/number}","pulls_url":"https://api.github.com/repos/Talend/data-prep/pulls{/number}","milestones_url":"https://api.github.com/repos/Talend/data-prep/milestones{/number}","notifications_url":"https://api.github.com/repos/Talend/data-prep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Talend/data-prep/labels{/name}","releases_url":"https://api.github.com/repos/Talend/data-prep/releases{/id}","deployments_url":"https://api.github.com/repos/Talend/data-prep/deployments","created_at":"2014-11-14T15:32:38Z","updated_at":"2016-11-02T08:38:49Z","pushed_at":"2016-11-10T09:06:26Z","git_url":"git://github.com/Talend/data-prep.git","ssh_url":"git@github.com:Talend/data-prep.git","clone_url":"https://github.com/Talend/data-prep.git","svn_url":"https://github.com/Talend/data-prep","homepage":"","size":51234,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Talend/data-prep/pulls/319"},"html":{"href":"https://github.com/Talend/data-prep/pull/319"},"issue":{"href":"https://api.github.com/repos/Talend/data-prep/issues/319"},"comments":{"href":"https://api.github.com/repos/Talend/data-prep/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/Talend/data-prep/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/Talend/data-prep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Talend/data-prep/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/Talend/data-prep/statuses/a5ece77b4317abe7ceb34048ee718b8b93eef021"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fhuaulme","id":2669101,"avatar_url":"https://avatars.githubusercontent.com/u/2669101?v=3","gravatar_id":"","url":"https://api.github.com/users/fhuaulme","html_url":"https://github.com/fhuaulme","followers_url":"https://api.github.com/users/fhuaulme/followers","following_url":"https://api.github.com/users/fhuaulme/following{/other_user}","gists_url":"https://api.github.com/users/fhuaulme/gists{/gist_id}","starred_url":"https://api.github.com/users/fhuaulme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhuaulme/subscriptions","organizations_url":"https://api.github.com/users/fhuaulme/orgs","repos_url":"https://api.github.com/users/fhuaulme/repos","events_url":"https://api.github.com/users/fhuaulme/events{/privacy}","received_events_url":"https://api.github.com/users/fhuaulme/received_events","type":"User","site_admin":false},"comments":0,"review_comments":20,"commits":1,"additions":4604,"deletions":5058,"changed_files":1080}}
{"actor":{"display_login":"fhuaulme"}}