{"action":"created","comment":{"url":"https://api.github.com/repos/motech/motech/pulls/comments/77776297","id":77776297,"diff_hunk":"@@ -0,0 +1,250 @@\n+package org.motechproject.mds.annotations.internal;\n+\n+import org.apache.commons.lang.StringUtils;\n+import org.motechproject.mds.annotations.Access;\n+import org.motechproject.mds.annotations.ReadAccess;\n+import org.motechproject.mds.domain.MdsEntity;\n+import org.motechproject.mds.domain.MdsVersionedEntity;\n+import org.motechproject.mds.dto.EntityDto;\n+import org.motechproject.mds.dto.FieldDto;\n+import org.motechproject.mds.dto.RestOptionsDto;\n+import org.motechproject.mds.dto.TrackingDto;\n+import org.motechproject.mds.dto.MetadataDto;\n+import org.motechproject.mds.helper.EntityDefaultFieldsHelper;\n+import org.motechproject.mds.reflections.ReflectionsUtil;\n+import org.motechproject.mds.util.Constants;\n+import org.motechproject.mds.util.SecurityMode;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.core.annotation.AnnotationUtils;\n+\n+import javax.jdo.annotations.Version;\n+import java.lang.annotation.Annotation;\n+import java.lang.reflect.AnnotatedElement;\n+import java.util.Collection;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Set;\n+import java.util.ArrayList;\n+import java.util.HashSet;\n+import java.util.Arrays;\n+\n+import static org.motechproject.mds.util.Constants.AnnotationFields.MAX_FETCH_DEPTH;\n+\n+/**\n+ * The <code>EntityAnnotationProcessor</code> provides a mechanism, allowing adding public classes from other","path":"platform/mds/mds/src/main/java/org/motechproject/mds/annotations/internal/EntityAnnotationProcessor.java","position":34,"original_position":34,"commit_id":"9574cbe256c2185517500c98e329d97850170dff","original_commit_id":"9574cbe256c2185517500c98e329d97850170dff","user":{"login":"ngraczewski","id":11667008,"avatar_url":"https://avatars.githubusercontent.com/u/11667008?v=3","gravatar_id":"","url":"https://api.github.com/users/ngraczewski","html_url":"https://github.com/ngraczewski","followers_url":"https://api.github.com/users/ngraczewski/followers","following_url":"https://api.github.com/users/ngraczewski/following{/other_user}","gists_url":"https://api.github.com/users/ngraczewski/gists{/gist_id}","starred_url":"https://api.github.com/users/ngraczewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngraczewski/subscriptions","organizations_url":"https://api.github.com/users/ngraczewski/orgs","repos_url":"https://api.github.com/users/ngraczewski/repos","events_url":"https://api.github.com/users/ngraczewski/events{/privacy}","received_events_url":"https://api.github.com/users/ngraczewski/received_events","type":"User","site_admin":false},"body":"Add some information about this class being base for other processors.","created_at":"2016-09-07T08:04:25Z","updated_at":"2016-09-07T08:04:25Z","html_url":"https://github.com/motech/motech/pull/677#discussion_r77776297","pull_request_url":"https://api.github.com/repos/motech/motech/pulls/677","_links":{"self":{"href":"https://api.github.com/repos/motech/motech/pulls/comments/77776297"},"html":{"href":"https://github.com/motech/motech/pull/677#discussion_r77776297"},"pull_request":{"href":"https://api.github.com/repos/motech/motech/pulls/677"}}},"pull_request":{"url":"https://api.github.com/repos/motech/motech/pulls/677","id":83798046,"html_url":"https://github.com/motech/motech/pull/677","diff_url":"https://github.com/motech/motech/pull/677.diff","patch_url":"https://github.com/motech/motech/pull/677.patch","issue_url":"https://api.github.com/repos/motech/motech/issues/677","number":677,"state":"open","locked":false,"title":"MOTECH-1258: Developer should be able to easily extend schema of DDEs defined by other modules","user":{"login":"jhopen","id":20243293,"avatar_url":"https://avatars.githubusercontent.com/u/20243293?v=3","gravatar_id":"","url":"https://api.github.com/users/jhopen","html_url":"https://github.com/jhopen","followers_url":"https://api.github.com/users/jhopen/followers","following_url":"https://api.github.com/users/jhopen/following{/other_user}","gists_url":"https://api.github.com/users/jhopen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhopen/subscriptions","organizations_url":"https://api.github.com/users/jhopen/orgs","repos_url":"https://api.github.com/users/jhopen/repos","events_url":"https://api.github.com/users/jhopen/events{/privacy}","received_events_url":"https://api.github.com/users/jhopen/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-02T13:03:54Z","updated_at":"2016-09-07T08:04:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6579b15baff4d72e81157b53be476398fe8bf352","assignee":{"login":"ngraczewski","id":11667008,"avatar_url":"https://avatars.githubusercontent.com/u/11667008?v=3","gravatar_id":"","url":"https://api.github.com/users/ngraczewski","html_url":"https://github.com/ngraczewski","followers_url":"https://api.github.com/users/ngraczewski/followers","following_url":"https://api.github.com/users/ngraczewski/following{/other_user}","gists_url":"https://api.github.com/users/ngraczewski/gists{/gist_id}","starred_url":"https://api.github.com/users/ngraczewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngraczewski/subscriptions","organizations_url":"https://api.github.com/users/ngraczewski/orgs","repos_url":"https://api.github.com/users/ngraczewski/repos","events_url":"https://api.github.com/users/ngraczewski/events{/privacy}","received_events_url":"https://api.github.com/users/ngraczewski/received_events","type":"User","site_admin":false},"assignees":[{"login":"ngraczewski","id":11667008,"avatar_url":"https://avatars.githubusercontent.com/u/11667008?v=3","gravatar_id":"","url":"https://api.github.com/users/ngraczewski","html_url":"https://github.com/ngraczewski","followers_url":"https://api.github.com/users/ngraczewski/followers","following_url":"https://api.github.com/users/ngraczewski/following{/other_user}","gists_url":"https://api.github.com/users/ngraczewski/gists{/gist_id}","starred_url":"https://api.github.com/users/ngraczewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngraczewski/subscriptions","organizations_url":"https://api.github.com/users/ngraczewski/orgs","repos_url":"https://api.github.com/users/ngraczewski/repos","events_url":"https://api.github.com/users/ngraczewski/events{/privacy}","received_events_url":"https://api.github.com/users/ngraczewski/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/motech/motech/pulls/677/commits","review_comments_url":"https://api.github.com/repos/motech/motech/pulls/677/comments","review_comment_url":"https://api.github.com/repos/motech/motech/pulls/comments{/number}","comments_url":"https://api.github.com/repos/motech/motech/issues/677/comments","statuses_url":"https://api.github.com/repos/motech/motech/statuses/9574cbe256c2185517500c98e329d97850170dff","head":{"label":"jhopen:MOTECH-1258","ref":"MOTECH-1258","sha":"9574cbe256c2185517500c98e329d97850170dff","user":{"login":"jhopen","id":20243293,"avatar_url":"https://avatars.githubusercontent.com/u/20243293?v=3","gravatar_id":"","url":"https://api.github.com/users/jhopen","html_url":"https://github.com/jhopen","followers_url":"https://api.github.com/users/jhopen/followers","following_url":"https://api.github.com/users/jhopen/following{/other_user}","gists_url":"https://api.github.com/users/jhopen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhopen/subscriptions","organizations_url":"https://api.github.com/users/jhopen/orgs","repos_url":"https://api.github.com/users/jhopen/repos","events_url":"https://api.github.com/users/jhopen/events{/privacy}","received_events_url":"https://api.github.com/users/jhopen/received_events","type":"User","site_admin":false},"repo":{"id":62545893,"name":"motech","full_name":"jhopen/motech","owner":{"login":"jhopen","id":20243293,"avatar_url":"https://avatars.githubusercontent.com/u/20243293?v=3","gravatar_id":"","url":"https://api.github.com/users/jhopen","html_url":"https://github.com/jhopen","followers_url":"https://api.github.com/users/jhopen/followers","following_url":"https://api.github.com/users/jhopen/following{/other_user}","gists_url":"https://api.github.com/users/jhopen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhopen/subscriptions","organizations_url":"https://api.github.com/users/jhopen/orgs","repos_url":"https://api.github.com/users/jhopen/repos","events_url":"https://api.github.com/users/jhopen/events{/privacy}","received_events_url":"https://api.github.com/users/jhopen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhopen/motech","description":"Mobile Technology for Community Health","fork":true,"url":"https://api.github.com/repos/jhopen/motech","forks_url":"https://api.github.com/repos/jhopen/motech/forks","keys_url":"https://api.github.com/repos/jhopen/motech/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhopen/motech/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhopen/motech/teams","hooks_url":"https://api.github.com/repos/jhopen/motech/hooks","issue_events_url":"https://api.github.com/repos/jhopen/motech/issues/events{/number}","events_url":"https://api.github.com/repos/jhopen/motech/events","assignees_url":"https://api.github.com/repos/jhopen/motech/assignees{/user}","branches_url":"https://api.github.com/repos/jhopen/motech/branches{/branch}","tags_url":"https://api.github.com/repos/jhopen/motech/tags","blobs_url":"https://api.github.com/repos/jhopen/motech/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhopen/motech/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhopen/motech/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhopen/motech/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhopen/motech/statuses/{sha}","languages_url":"https://api.github.com/repos/jhopen/motech/languages","stargazers_url":"https://api.github.com/repos/jhopen/motech/stargazers","contributors_url":"https://api.github.com/repos/jhopen/motech/contributors","subscribers_url":"https://api.github.com/repos/jhopen/motech/subscribers","subscription_url":"https://api.github.com/repos/jhopen/motech/subscription","commits_url":"https://api.github.com/repos/jhopen/motech/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhopen/motech/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhopen/motech/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhopen/motech/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhopen/motech/contents/{+path}","compare_url":"https://api.github.com/repos/jhopen/motech/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhopen/motech/merges","archive_url":"https://api.github.com/repos/jhopen/motech/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhopen/motech/downloads","issues_url":"https://api.github.com/repos/jhopen/motech/issues{/number}","pulls_url":"https://api.github.com/repos/jhopen/motech/pulls{/number}","milestones_url":"https://api.github.com/repos/jhopen/motech/milestones{/number}","notifications_url":"https://api.github.com/repos/jhopen/motech/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhopen/motech/labels{/name}","releases_url":"https://api.github.com/repos/jhopen/motech/releases{/id}","deployments_url":"https://api.github.com/repos/jhopen/motech/deployments","created_at":"2016-07-04T08:40:30Z","updated_at":"2016-07-04T08:40:38Z","pushed_at":"2016-09-02T14:18:09Z","git_url":"git://github.com/jhopen/motech.git","ssh_url":"git@github.com:jhopen/motech.git","clone_url":"https://github.com/jhopen/motech.git","svn_url":"https://github.com/jhopen/motech","homepage":"http://docs.motechproject.org","size":47472,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"motech:master","ref":"master","sha":"dbbb417f7f13abec1733f8fecd88b076ce3d55ae","user":{"login":"motech","id":477919,"avatar_url":"https://avatars.githubusercontent.com/u/477919?v=3","gravatar_id":"","url":"https://api.github.com/users/motech","html_url":"https://github.com/motech","followers_url":"https://api.github.com/users/motech/followers","following_url":"https://api.github.com/users/motech/following{/other_user}","gists_url":"https://api.github.com/users/motech/gists{/gist_id}","starred_url":"https://api.github.com/users/motech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech/subscriptions","organizations_url":"https://api.github.com/users/motech/orgs","repos_url":"https://api.github.com/users/motech/repos","events_url":"https://api.github.com/users/motech/events{/privacy}","received_events_url":"https://api.github.com/users/motech/received_events","type":"Organization","site_admin":false},"repo":{"id":40527870,"name":"motech","full_name":"motech/motech","owner":{"login":"motech","id":477919,"avatar_url":"https://avatars.githubusercontent.com/u/477919?v=3","gravatar_id":"","url":"https://api.github.com/users/motech","html_url":"https://github.com/motech","followers_url":"https://api.github.com/users/motech/followers","following_url":"https://api.github.com/users/motech/following{/other_user}","gists_url":"https://api.github.com/users/motech/gists{/gist_id}","starred_url":"https://api.github.com/users/motech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech/subscriptions","organizations_url":"https://api.github.com/users/motech/orgs","repos_url":"https://api.github.com/users/motech/repos","events_url":"https://api.github.com/users/motech/events{/privacy}","received_events_url":"https://api.github.com/users/motech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/motech/motech","description":"Mobile Technology for Community Health","fork":false,"url":"https://api.github.com/repos/motech/motech","forks_url":"https://api.github.com/repos/motech/motech/forks","keys_url":"https://api.github.com/repos/motech/motech/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motech/motech/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motech/motech/teams","hooks_url":"https://api.github.com/repos/motech/motech/hooks","issue_events_url":"https://api.github.com/repos/motech/motech/issues/events{/number}","events_url":"https://api.github.com/repos/motech/motech/events","assignees_url":"https://api.github.com/repos/motech/motech/assignees{/user}","branches_url":"https://api.github.com/repos/motech/motech/branches{/branch}","tags_url":"https://api.github.com/repos/motech/motech/tags","blobs_url":"https://api.github.com/repos/motech/motech/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motech/motech/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motech/motech/git/refs{/sha}","trees_url":"https://api.github.com/repos/motech/motech/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motech/motech/statuses/{sha}","languages_url":"https://api.github.com/repos/motech/motech/languages","stargazers_url":"https://api.github.com/repos/motech/motech/stargazers","contributors_url":"https://api.github.com/repos/motech/motech/contributors","subscribers_url":"https://api.github.com/repos/motech/motech/subscribers","subscription_url":"https://api.github.com/repos/motech/motech/subscription","commits_url":"https://api.github.com/repos/motech/motech/commits{/sha}","git_commits_url":"https://api.github.com/repos/motech/motech/git/commits{/sha}","comments_url":"https://api.github.com/repos/motech/motech/comments{/number}","issue_comment_url":"https://api.github.com/repos/motech/motech/issues/comments{/number}","contents_url":"https://api.github.com/repos/motech/motech/contents/{+path}","compare_url":"https://api.github.com/repos/motech/motech/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motech/motech/merges","archive_url":"https://api.github.com/repos/motech/motech/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motech/motech/downloads","issues_url":"https://api.github.com/repos/motech/motech/issues{/number}","pulls_url":"https://api.github.com/repos/motech/motech/pulls{/number}","milestones_url":"https://api.github.com/repos/motech/motech/milestones{/number}","notifications_url":"https://api.github.com/repos/motech/motech/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motech/motech/labels{/name}","releases_url":"https://api.github.com/repos/motech/motech/releases{/id}","deployments_url":"https://api.github.com/repos/motech/motech/deployments","created_at":"2015-08-11T07:26:54Z","updated_at":"2016-06-01T17:03:20Z","pushed_at":"2016-09-07T07:35:39Z","git_url":"git://github.com/motech/motech.git","ssh_url":"git@github.com:motech/motech.git","clone_url":"https://github.com/motech/motech.git","svn_url":"https://github.com/motech/motech","homepage":"http://docs.motechproject.org","size":49065,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":26,"forks":58,"open_issues":26,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/motech/motech/pulls/677"},"html":{"href":"https://github.com/motech/motech/pull/677"},"issue":{"href":"https://api.github.com/repos/motech/motech/issues/677"},"comments":{"href":"https://api.github.com/repos/motech/motech/issues/677/comments"},"review_comments":{"href":"https://api.github.com/repos/motech/motech/pulls/677/comments"},"review_comment":{"href":"https://api.github.com/repos/motech/motech/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/motech/motech/pulls/677/commits"},"statuses":{"href":"https://api.github.com/repos/motech/motech/statuses/9574cbe256c2185517500c98e329d97850170dff"}}}}
{"actor":{"display_login":"ngraczewski"}}