{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/72508963","id":72508963,"diff_hunk":"@@ -55,7 +54,7 @@\n \n     private RegistryPublicationService registryPublicationService;\n \n-    private RegistryReportMapBuilder reportMapBuilder;\n+    private RegistryReportBuilder registryReportBuilder;\n \n     public RegistryRestEndpoint() {\n         templateLoader = new ClassPathTemplateLoader();","path":"catalog/spatial/registry/registry-rest-endpoint/src/main/java/org/codice/ddf/registry/rest/endpoint/RegistryRestEndpoint.java","position":36,"original_position":36,"commit_id":"63f1a3dd56fb3f5286faa83001b5123c2e77ce63","original_commit_id":"63f1a3dd56fb3f5286faa83001b5123c2e77ce63","user":{"login":"ani6gup","id":5401992,"avatar_url":"https://avatars.githubusercontent.com/u/5401992?v=3","gravatar_id":"","url":"https://api.github.com/users/ani6gup","html_url":"https://github.com/ani6gup","followers_url":"https://api.github.com/users/ani6gup/followers","following_url":"https://api.github.com/users/ani6gup/following{/other_user}","gists_url":"https://api.github.com/users/ani6gup/gists{/gist_id}","starred_url":"https://api.github.com/users/ani6gup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ani6gup/subscriptions","organizations_url":"https://api.github.com/users/ani6gup/orgs","repos_url":"https://api.github.com/users/ani6gup/repos","events_url":"https://api.github.com/users/ani6gup/events{/privacy}","received_events_url":"https://api.github.com/users/ani6gup/received_events","type":"User","site_admin":false},"body":"It was there originally, I can move it over to the RegistryReportBuilder now since it is not really being utilized anywhere else in RegistryRestEndpoint","created_at":"2016-07-27T19:43:31Z","updated_at":"2016-07-27T19:43:31Z","html_url":"https://github.com/codice/ddf/pull/1053#discussion_r72508963","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/1053","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/72508963"},"html":{"href":"https://github.com/codice/ddf/pull/1053#discussion_r72508963"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/1053"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/1053","id":78927849,"html_url":"https://github.com/codice/ddf/pull/1053","diff_url":"https://github.com/codice/ddf/pull/1053.diff","patch_url":"https://github.com/codice/ddf/pull/1053.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/1053","number":1053,"state":"open","locked":false,"title":"DDF-2251 Refactor Registry Report Builder to be able to generate 'summaries' of parts of the overall report","user":{"login":"ani6gup","id":5401992,"avatar_url":"https://avatars.githubusercontent.com/u/5401992?v=3","gravatar_id":"","url":"https://api.github.com/users/ani6gup","html_url":"https://github.com/ani6gup","followers_url":"https://api.github.com/users/ani6gup/followers","following_url":"https://api.github.com/users/ani6gup/following{/other_user}","gists_url":"https://api.github.com/users/ani6gup/gists{/gist_id}","starred_url":"https://api.github.com/users/ani6gup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ani6gup/subscriptions","organizations_url":"https://api.github.com/users/ani6gup/orgs","repos_url":"https://api.github.com/users/ani6gup/repos","events_url":"https://api.github.com/users/ani6gup/events{/privacy}","received_events_url":"https://api.github.com/users/ani6gup/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n\r\nIn general, the registry report now utilizes the maps generated from the `registry-schema-bindings` and through `RegistryReportBuilder`, the values in the maps populate a string of html that is returned and compiled through`RegistryRestEndpoint`.  \r\n\r\nThe new reports can be accessed through the endpoints: `.../services/registries/{registryID}/report` , `.../report/summary` , and `.../report/organizations` . Further description is presented in background context. \r\n\r\n#### Who is reviewing it (please choose AT LEAST two reviewers that need to approve the PR before it can get merged; if a component team is listed, at least one of its members needs to approve)?\r\n\r\n@gordocanchola @clockard @mcalcote @vinamartin @brianfelix \r\n\r\n#### Choose 2 committers to review/merge the PR (please choose ONLY two committers from below, delete the rest).\r\n\r\n@pklinef @shaundmorris @figliold\r\n\r\n#### How should this be tested?\r\n\r\nStart DDF Registry \r\nGo to DDF Catalog \r\nClick the Identity Node - Must add a service, add attributes to the identity node \r\nGo to sources tab , click corresponding identity node \r\nClick Registry Source Report \r\nEnsure that all fields you entered have been filled \r\nFor Summary and Organizations Report, insert the corresponding URL (/report/summary and /report/organizations) and add Organization attributes \r\n\r\n#### Any background context you want to provide?\r\n\r\nThere are three different types of html strings that can be generated which are determined based on the endpoints—two new endpoints (summary and section) were added in `RegistryRestEndpoint`. Descriptions of each endpoint are below: \r\n\r\n1.  `/report`: Utilizes the `report.hbt` handlebar template where all entities (Node Info, Services, Organizations, Contacts, and Collections) of the registry node are displayed based on the map values generated from the class in the schema-bindings `RegistryObjectListConverter`\r\n\r\n2. `/report/summary`:  Utilizes the `summary.hbt` handlebar template where one the entities of an organization (Point of Contact, Name, Address, Email, Phone Number) is displayed based on the map values extracted from the metacard. \r\n\r\n3. `/report/{section}`: {section} gives freedom to extract certain sections of the report, however specific handlebar templates and additional methods must be made to accommodate for this. Currently Organizations has been extracted from the report.  \r\n\r\n- `/report/organizations`: Utilizes the `organizations.hbt` handlebar template where all of the organizations and their entities (ids, Addresses, Emails, Phone Numbers. etc. ) are  displayed based on the map values generated from the class in the schema-bindings `OrganizationWebConverter`\r\n\r\n#### What are the relevant tickets?\r\n\r\n[DDF-2251](https://codice.atlassian.net/browse/DDF-2251)\r\n[DDF-2336 ](https://codice.atlassian.net/browse/DDF-2336)(blocked by this ticket, will provide an action provider to allow the summary report to be shown directly on the UI)\r\n[DDF-2234](https://codice.atlassian.net/browse/DDF-2334) (Shows null values in summary report when certain optional fields are not filled in) \r\n\r\n#### Screenshots (if appropriate)\r\n\r\n**Full Report** \r\n\r\n![screen shot 2016-07-26 at 1 56 46 pm](https://cloud.githubusercontent.com/assets/5401992/17155681/02941f1a-533b-11e6-832b-859ba29dffe9.png)\r\n\r\n**Summary Report** \r\n\r\n![screen shot 2016-07-26 at 1 56 29 pm](https://cloud.githubusercontent.com/assets/5401992/17155647/dbb39c04-533a-11e6-87d0-20f0880c3452.png)\r\n\r\nWhen null values are present, should be fixed with DDF-2235: \r\n\r\n![screen shot 2016-07-26 at 2 17 21 pm](https://cloud.githubusercontent.com/assets/5401992/17155851/b3fb6632-533b-11e6-9e60-77548d6d7ff8.png)\r\n\r\n**Organizations Report** \r\n\r\n![screen shot 2016-07-26 at 1 56 15 pm](https://cloud.githubusercontent.com/assets/5401992/17155676/fc41f63c-533a-11e6-8fed-c75b99ad6cfd.png)\r\n\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [X] Update / Add Unit Tests\r\n- [X] Update / Add Integration Tests\r\n","created_at":"2016-07-26T21:21:11Z","updated_at":"2016-07-27T19:43:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ec087934d8d74d8078171d281a9dd20a5f6b602","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/1053/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/1053/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/1053/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/63f1a3dd56fb3f5286faa83001b5123c2e77ce63","head":{"label":"ani6gup:DDF-2251","ref":"DDF-2251","sha":"63f1a3dd56fb3f5286faa83001b5123c2e77ce63","user":{"login":"ani6gup","id":5401992,"avatar_url":"https://avatars.githubusercontent.com/u/5401992?v=3","gravatar_id":"","url":"https://api.github.com/users/ani6gup","html_url":"https://github.com/ani6gup","followers_url":"https://api.github.com/users/ani6gup/followers","following_url":"https://api.github.com/users/ani6gup/following{/other_user}","gists_url":"https://api.github.com/users/ani6gup/gists{/gist_id}","starred_url":"https://api.github.com/users/ani6gup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ani6gup/subscriptions","organizations_url":"https://api.github.com/users/ani6gup/orgs","repos_url":"https://api.github.com/users/ani6gup/repos","events_url":"https://api.github.com/users/ani6gup/events{/privacy}","received_events_url":"https://api.github.com/users/ani6gup/received_events","type":"User","site_admin":false},"repo":{"id":59037578,"name":"ddf","full_name":"ani6gup/ddf","owner":{"login":"ani6gup","id":5401992,"avatar_url":"https://avatars.githubusercontent.com/u/5401992?v=3","gravatar_id":"","url":"https://api.github.com/users/ani6gup","html_url":"https://github.com/ani6gup","followers_url":"https://api.github.com/users/ani6gup/followers","following_url":"https://api.github.com/users/ani6gup/following{/other_user}","gists_url":"https://api.github.com/users/ani6gup/gists{/gist_id}","starred_url":"https://api.github.com/users/ani6gup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ani6gup/subscriptions","organizations_url":"https://api.github.com/users/ani6gup/orgs","repos_url":"https://api.github.com/users/ani6gup/repos","events_url":"https://api.github.com/users/ani6gup/events{/privacy}","received_events_url":"https://api.github.com/users/ani6gup/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ani6gup/ddf","description":"Distributed Data Framework - an open source, modular integration framework.","fork":true,"url":"https://api.github.com/repos/ani6gup/ddf","forks_url":"https://api.github.com/repos/ani6gup/ddf/forks","keys_url":"https://api.github.com/repos/ani6gup/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ani6gup/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ani6gup/ddf/teams","hooks_url":"https://api.github.com/repos/ani6gup/ddf/hooks","issue_events_url":"https://api.github.com/repos/ani6gup/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/ani6gup/ddf/events","assignees_url":"https://api.github.com/repos/ani6gup/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/ani6gup/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/ani6gup/ddf/tags","blobs_url":"https://api.github.com/repos/ani6gup/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ani6gup/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ani6gup/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/ani6gup/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ani6gup/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/ani6gup/ddf/languages","stargazers_url":"https://api.github.com/repos/ani6gup/ddf/stargazers","contributors_url":"https://api.github.com/repos/ani6gup/ddf/contributors","subscribers_url":"https://api.github.com/repos/ani6gup/ddf/subscribers","subscription_url":"https://api.github.com/repos/ani6gup/ddf/subscription","commits_url":"https://api.github.com/repos/ani6gup/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/ani6gup/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/ani6gup/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/ani6gup/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/ani6gup/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/ani6gup/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ani6gup/ddf/merges","archive_url":"https://api.github.com/repos/ani6gup/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ani6gup/ddf/downloads","issues_url":"https://api.github.com/repos/ani6gup/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/ani6gup/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/ani6gup/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/ani6gup/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ani6gup/ddf/labels{/name}","releases_url":"https://api.github.com/repos/ani6gup/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/ani6gup/ddf/deployments","created_at":"2016-05-17T16:00:35Z","updated_at":"2016-05-17T16:00:48Z","pushed_at":"2016-07-26T23:23:53Z","git_url":"git://github.com/ani6gup/ddf.git","ssh_url":"git@github.com:ani6gup/ddf.git","clone_url":"https://github.com/ani6gup/ddf.git","svn_url":"https://github.com/ani6gup/ddf","homepage":"http://ddf.codice.org","size":162352,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"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":"codice:master","ref":"master","sha":"bc06183a66552f680d527ed576df0f7d96ed23e5","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":"Distributed Data Framework - an open source, modular integration framework.","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}","deployments_url":"https://api.github.com/repos/codice/ddf/deployments","created_at":"2013-12-13T20:38:28Z","updated_at":"2016-07-15T01:01:23Z","pushed_at":"2016-07-27T19:31:08Z","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":"http://ddf.codice.org","size":280768,"stargazers_count":39,"watchers_count":39,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":81,"mirror_url":null,"open_issues_count":30,"forks":81,"open_issues":30,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/1053"},"html":{"href":"https://github.com/codice/ddf/pull/1053"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/1053"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/1053/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/1053/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/1053/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/63f1a3dd56fb3f5286faa83001b5123c2e77ce63"}}}}
{"actor":{"display_login":"ani6gup"}}