{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/37914544","id":37914544,"diff_hunk":"@@ -0,0 +1,31 @@\n+/**\n+ * Copyright (c) Codice Foundation\n+ * <p>\n+ * This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser\n+ * General Public License as published by the Free Software Foundation, either version 3 of the\n+ * License, or any later version.\n+ * <p>\n+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\n+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n+ * Lesser General Public License for more details. A copy of the GNU Lesser General Public License\n+ * is distributed along with this program and can be found at\n+ * <http://www.gnu.org/licenses/lgpl.html>.\n+ **/\n+package ddf.common.test;\n+\n+import java.lang.annotation.ElementType;\n+import java.lang.annotation.Retention;\n+import java.lang.annotation.RetentionPolicy;\n+import java.lang.annotation.Target;\n+\n+/**\n+ * Pax Exam OSGi containers cannot execute {@code @PostConstruct} in the container.\n+ *\n+ * {@code @PostTestConstruct} will execute after object creation before each test run when\n+ * combined with {@link PaxExamRule}. This will provide a suitable location for post-construction\n+ * modifications, after {@code @Inject} annotations have been run and before the test is initialized.\n+ */\n+@Retention(RetentionPolicy.RUNTIME)\n+@Target(ElementType.METHOD)\n+public @interface PostTestConstruct {","path":"distribution/test/itests/test-itests-common/src/test/java/ddf/common/test/PostTestConstruct.java","position":30,"original_position":30,"commit_id":"7bdd3fdbd5fdd95aeb7bec59ebfcd9cb5cf0b46a","original_commit_id":"eba5b0d37458685282a5168bb23f11980033ac2d","user":{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},"body":"Yes I did. It didn't get invoked at all. Very frustrating, but it was the inspiration for the name of this annotation.","created_at":"2015-08-25T20:24:00Z","updated_at":"2015-08-25T20:24:00Z","html_url":"https://github.com/codice/ddf/pull/135#discussion_r37914544","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/135","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/37914544"},"html":{"href":"https://github.com/codice/ddf/pull/135#discussion_r37914544"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/135"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/135","id":43093482,"html_url":"https://github.com/codice/ddf/pull/135","diff_url":"https://github.com/codice/ddf/pull/135.diff","patch_url":"https://github.com/codice/ddf/pull/135.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/135","number":135,"state":"open","locked":false,"title":"DDF-1448 Refactors most of functionality out of AbstractIntegrationTest for greater reusability","user":{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},"body":"Most of the functionality of the base class has been pulled out to the new facade classes. In order for it to be initialized, PaxExamRule has been modified slightly to run a post-construction method. The methods that are now delegating to the new facade classes have all been deprecated with the intent that we will reroute all those calls directly to the appropriate class.\r\n\r\n@pklinef \r\n@tbatie \r\n@jckilmer\r\n@rzwiefel\r\n@roelens8\r\n\r\nArmand, please hero.\r\n\r\n<!-- Reviewable:start -->\r\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/codice/ddf/135)\r\n<!-- Reviewable:end -->\r\n","created_at":"2015-08-22T00:34:42Z","updated_at":"2015-08-25T20:24:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c939a0634c3a85762809eb6d3825b8c7841a01c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/135/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/135/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/135/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/7bdd3fdbd5fdd95aeb7bec59ebfcd9cb5cf0b46a","head":{"label":"coyotesqrl:DDF-1448","ref":"DDF-1448","sha":"7bdd3fdbd5fdd95aeb7bec59ebfcd9cb5cf0b46a","user":{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},"repo":{"id":37684248,"name":"ddf","full_name":"coyotesqrl/ddf","owner":{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coyotesqrl/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/coyotesqrl/ddf","forks_url":"https://api.github.com/repos/coyotesqrl/ddf/forks","keys_url":"https://api.github.com/repos/coyotesqrl/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coyotesqrl/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coyotesqrl/ddf/teams","hooks_url":"https://api.github.com/repos/coyotesqrl/ddf/hooks","issue_events_url":"https://api.github.com/repos/coyotesqrl/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/coyotesqrl/ddf/events","assignees_url":"https://api.github.com/repos/coyotesqrl/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/coyotesqrl/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/coyotesqrl/ddf/tags","blobs_url":"https://api.github.com/repos/coyotesqrl/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coyotesqrl/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coyotesqrl/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/coyotesqrl/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coyotesqrl/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/coyotesqrl/ddf/languages","stargazers_url":"https://api.github.com/repos/coyotesqrl/ddf/stargazers","contributors_url":"https://api.github.com/repos/coyotesqrl/ddf/contributors","subscribers_url":"https://api.github.com/repos/coyotesqrl/ddf/subscribers","subscription_url":"https://api.github.com/repos/coyotesqrl/ddf/subscription","commits_url":"https://api.github.com/repos/coyotesqrl/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/coyotesqrl/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/coyotesqrl/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/coyotesqrl/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/coyotesqrl/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/coyotesqrl/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coyotesqrl/ddf/merges","archive_url":"https://api.github.com/repos/coyotesqrl/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coyotesqrl/ddf/downloads","issues_url":"https://api.github.com/repos/coyotesqrl/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/coyotesqrl/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/coyotesqrl/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/coyotesqrl/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coyotesqrl/ddf/labels{/name}","releases_url":"https://api.github.com/repos/coyotesqrl/ddf/releases{/id}","created_at":"2015-06-18T20:49:45Z","updated_at":"2015-06-18T20:49:46Z","pushed_at":"2015-08-25T19:45:05Z","git_url":"git://github.com/coyotesqrl/ddf.git","ssh_url":"git@github.com:coyotesqrl/ddf.git","clone_url":"https://github.com/coyotesqrl/ddf.git","svn_url":"https://github.com/coyotesqrl/ddf","homepage":"","size":119287,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"codice:master","ref":"master","sha":"7c94461474d1b48665bc0b039880b8d29332ea1f","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15173563,"name":"ddf","full_name":"codice/ddf","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","created_at":"2013-12-13T20:38:28Z","updated_at":"2015-08-19T17:15:35Z","pushed_at":"2015-08-25T19:45:55Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"","size":134533,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":53,"mirror_url":null,"open_issues_count":12,"forks":53,"open_issues":12,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/135"},"html":{"href":"https://github.com/codice/ddf/pull/135"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/135"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/7bdd3fdbd5fdd95aeb7bec59ebfcd9cb5cf0b46a"}}}}