{"action":"created","comment":{"url":"https://api.github.com/repos/oracle/helidon/pulls/comments/238484932","pull_request_review_id":181037756,"id":238484932,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODQ4NDkzMg==","diff_hunk":"@@ -0,0 +1,487 @@\n+\n+///////////////////////////////////////////////////////////////////////////////\n+\n+    Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.\n+\n+    Licensed under the Apache License, Version 2.0 (the \"License\");\n+    you may not use this file except in compliance with the License.\n+    You may obtain a copy of the License at\n+\n+        http://www.apache.org/licenses/LICENSE-2.0\n+\n+    Unless required by applicable law or agreed to in writing, software\n+    distributed under the License is distributed on an \"AS IS\" BASIS,\n+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+    See the License for the specific language governing permissions and\n+    limitations under the License.\n+\n+///////////////////////////////////////////////////////////////////////////////\n+:adoc-dir: {guides-dir}/mp-restful-webservice/src/main/docs\n+:java-base: {adoc-dir}/../java/io/helidon/guides/mp/restfulwebservice\n+:greet-app: {java-base}/GreetApplication.java\n+:main-class: {java-base}/Main.java\n+:greet-resource-class: {java-base}/GreetResource.java\n+:greeting-message-class: {java-base}/GreetingMessage.java\n+:greet-application-class: {java-base}/GreetApplication.java\n+:health-resource-class: {java-base}/HealthResource.java\n+:pom: {adoc-dir}/../../../pom.xml\n+:meta-inf-dir: {adoc-dir}/../resources/META-INF\n+:beans-xml: {meta-inf-dir}/beans.xml\n+:config-file: {meta-inf-dir}/microprofile-config.properties\n+:logging-properties-file: {adoc-dir}/../resources/logging.properties\n+:se-guide-adoc: {guides-dir}/se-restful-webservice/src/main/docs/index.adoc\n+\n+\n+= The MP RESTful Web Service Guide\n+:description: Helidon MP guide restful web service\n+:keywords: helidon, guide, example, mp\n+:toc:\n+\n+Create and build a JAX-RS RESTful web service as your first Helidon MP application.\n+\n+== What You Will Learn\n+You'll learn how to use Helidon MP quickly to create a JAX-RS RESTful web service that accepts these HTTP requests:\n+\n+|===\n+|Method and URL | Result\n+\n+|`GET localhost:8080/greet` |Returns a generic but friendly greeting\n+|`GET localhost:8080/greet/Joe` |Returns a personalized greeting for the specified person\n+|`PUT localhost:8080/greet/greeting/Hola` |Changes the greeting used in subsequent responses\n+|===\n+\n+We create the app in these main steps:\n+\n+. Write a basic Helidon MP app to respond to the HTTP requests.\n+. Add code to perform simple health checks.\n+. Add code to record simple metrics.\n+\n+(See the last section to find out how to get the entire finished code for this example.)\n+\n+== What You Need\n+\n+|===\n+|About 15 minutes\n+|An IDE or text editor\n+|JDK 1.8 or later","path":"examples/guides/mp-restful-webservice/src/main/docs/index.adoc","position":66,"original_position":66,"commit_id":"13d8dc1a51b1f499c9e04952f42df36b63eec371","original_commit_id":"13d8dc1a51b1f499c9e04952f42df36b63eec371","user":{"login":"kumar-dhanagopal","id":28403513,"node_id":"MDQ6VXNlcjI4NDAzNTEz","avatar_url":"https://avatars1.githubusercontent.com/u/28403513?v=4","gravatar_id":"","url":"https://api.github.com/users/kumar-dhanagopal","html_url":"https://github.com/kumar-dhanagopal","followers_url":"https://api.github.com/users/kumar-dhanagopal/followers","following_url":"https://api.github.com/users/kumar-dhanagopal/following{/other_user}","gists_url":"https://api.github.com/users/kumar-dhanagopal/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar-dhanagopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar-dhanagopal/subscriptions","organizations_url":"https://api.github.com/users/kumar-dhanagopal/orgs","repos_url":"https://api.github.com/users/kumar-dhanagopal/repos","events_url":"https://api.github.com/users/kumar-dhanagopal/events{/privacy}","received_events_url":"https://api.github.com/users/kumar-dhanagopal/received_events","type":"User","site_admin":false},"body":"CONTENT: \"JDK 1.8\" --> \"JDK 8\"","created_at":"2018-12-03T23:56:17Z","updated_at":"2018-12-03T23:56:17Z","html_url":"https://github.com/oracle/helidon/pull/215#discussion_r238484932","pull_request_url":"https://api.github.com/repos/oracle/helidon/pulls/215","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oracle/helidon/pulls/comments/238484932"},"html":{"href":"https://github.com/oracle/helidon/pull/215#discussion_r238484932"},"pull_request":{"href":"https://api.github.com/repos/oracle/helidon/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/oracle/helidon/pulls/215","id":234775308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0Nzc1MzA4","html_url":"https://github.com/oracle/helidon/pull/215","diff_url":"https://github.com/oracle/helidon/pull/215.diff","patch_url":"https://github.com/oracle/helidon/pull/215.patch","issue_url":"https://api.github.com/repos/oracle/helidon/issues/215","number":215,"state":"open","locked":false,"title":"Updates and additions for the MP RESTful web service guide","user":{"login":"tjquinno","id":24591185,"node_id":"MDQ6VXNlcjI0NTkxMTg1","avatar_url":"https://avatars1.githubusercontent.com/u/24591185?v=4","gravatar_id":"","url":"https://api.github.com/users/tjquinno","html_url":"https://github.com/tjquinno","followers_url":"https://api.github.com/users/tjquinno/followers","following_url":"https://api.github.com/users/tjquinno/following{/other_user}","gists_url":"https://api.github.com/users/tjquinno/gists{/gist_id}","starred_url":"https://api.github.com/users/tjquinno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjquinno/subscriptions","organizations_url":"https://api.github.com/users/tjquinno/orgs","repos_url":"https://api.github.com/users/tjquinno/repos","events_url":"https://api.github.com/users/tjquinno/events{/privacy}","received_events_url":"https://api.github.com/users/tjquinno/received_events","type":"User","site_admin":false},"body":"This PR is for the guide for the MicroProfile RESTful web app.\r\n\r\nRomain and Joe and I met a couple weeks ago about the SE (not MP) guide. These changes _do not_  incorporate the improvements we talked about in that meeting. I wanted to get this guide published, and then I can update the SE and MP guides together (see\r\nhttps://github.com/oracle/helidon/issues/176) to reflect that meeting. \r\n\r\nAs part of this change I have added tags to the SE guide's `.adoc` file and `include` those segments into the MP guide. I have created a separate issue to think about and do some refactoring if we feel it's worthwhile to pull the common portions out to yet another file and have both guide `.adoc` files `include` from the refactored common ones. \r\n\r\n","created_at":"2018-11-29T20:27:17Z","updated_at":"2018-12-03T23:56:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b46ab34fea0808c5b46b77c2508ef0f90acfd28f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"spericas","id":5586231,"node_id":"MDQ6VXNlcjU1ODYyMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/5586231?v=4","gravatar_id":"","url":"https://api.github.com/users/spericas","html_url":"https://github.com/spericas","followers_url":"https://api.github.com/users/spericas/followers","following_url":"https://api.github.com/users/spericas/following{/other_user}","gists_url":"https://api.github.com/users/spericas/gists{/gist_id}","starred_url":"https://api.github.com/users/spericas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spericas/subscriptions","organizations_url":"https://api.github.com/users/spericas/orgs","repos_url":"https://api.github.com/users/spericas/repos","events_url":"https://api.github.com/users/spericas/events{/privacy}","received_events_url":"https://api.github.com/users/spericas/received_events","type":"User","site_admin":false},{"login":"barchetta","id":6116667,"node_id":"MDQ6VXNlcjYxMTY2Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/6116667?v=4","gravatar_id":"","url":"https://api.github.com/users/barchetta","html_url":"https://github.com/barchetta","followers_url":"https://api.github.com/users/barchetta/followers","following_url":"https://api.github.com/users/barchetta/following{/other_user}","gists_url":"https://api.github.com/users/barchetta/gists{/gist_id}","starred_url":"https://api.github.com/users/barchetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barchetta/subscriptions","organizations_url":"https://api.github.com/users/barchetta/orgs","repos_url":"https://api.github.com/users/barchetta/repos","events_url":"https://api.github.com/users/barchetta/events{/privacy}","received_events_url":"https://api.github.com/users/barchetta/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oracle/helidon/pulls/215/commits","review_comments_url":"https://api.github.com/repos/oracle/helidon/pulls/215/comments","review_comment_url":"https://api.github.com/repos/oracle/helidon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oracle/helidon/issues/215/comments","statuses_url":"https://api.github.com/repos/oracle/helidon/statuses/13d8dc1a51b1f499c9e04952f42df36b63eec371","head":{"label":"tjquinno:initial-mp-rest-guide","ref":"initial-mp-rest-guide","sha":"13d8dc1a51b1f499c9e04952f42df36b63eec371","user":{"login":"tjquinno","id":24591185,"node_id":"MDQ6VXNlcjI0NTkxMTg1","avatar_url":"https://avatars1.githubusercontent.com/u/24591185?v=4","gravatar_id":"","url":"https://api.github.com/users/tjquinno","html_url":"https://github.com/tjquinno","followers_url":"https://api.github.com/users/tjquinno/followers","following_url":"https://api.github.com/users/tjquinno/following{/other_user}","gists_url":"https://api.github.com/users/tjquinno/gists{/gist_id}","starred_url":"https://api.github.com/users/tjquinno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjquinno/subscriptions","organizations_url":"https://api.github.com/users/tjquinno/orgs","repos_url":"https://api.github.com/users/tjquinno/repos","events_url":"https://api.github.com/users/tjquinno/events{/privacy}","received_events_url":"https://api.github.com/users/tjquinno/received_events","type":"User","site_admin":false},"repo":{"id":147848223,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NDgyMjM=","name":"helidon","full_name":"tjquinno/helidon","private":false,"owner":{"login":"tjquinno","id":24591185,"node_id":"MDQ6VXNlcjI0NTkxMTg1","avatar_url":"https://avatars1.githubusercontent.com/u/24591185?v=4","gravatar_id":"","url":"https://api.github.com/users/tjquinno","html_url":"https://github.com/tjquinno","followers_url":"https://api.github.com/users/tjquinno/followers","following_url":"https://api.github.com/users/tjquinno/following{/other_user}","gists_url":"https://api.github.com/users/tjquinno/gists{/gist_id}","starred_url":"https://api.github.com/users/tjquinno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjquinno/subscriptions","organizations_url":"https://api.github.com/users/tjquinno/orgs","repos_url":"https://api.github.com/users/tjquinno/repos","events_url":"https://api.github.com/users/tjquinno/events{/privacy}","received_events_url":"https://api.github.com/users/tjquinno/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tjquinno/helidon","description":"Java libraries for writing microservices","fork":true,"url":"https://api.github.com/repos/tjquinno/helidon","forks_url":"https://api.github.com/repos/tjquinno/helidon/forks","keys_url":"https://api.github.com/repos/tjquinno/helidon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjquinno/helidon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjquinno/helidon/teams","hooks_url":"https://api.github.com/repos/tjquinno/helidon/hooks","issue_events_url":"https://api.github.com/repos/tjquinno/helidon/issues/events{/number}","events_url":"https://api.github.com/repos/tjquinno/helidon/events","assignees_url":"https://api.github.com/repos/tjquinno/helidon/assignees{/user}","branches_url":"https://api.github.com/repos/tjquinno/helidon/branches{/branch}","tags_url":"https://api.github.com/repos/tjquinno/helidon/tags","blobs_url":"https://api.github.com/repos/tjquinno/helidon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjquinno/helidon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjquinno/helidon/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjquinno/helidon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjquinno/helidon/statuses/{sha}","languages_url":"https://api.github.com/repos/tjquinno/helidon/languages","stargazers_url":"https://api.github.com/repos/tjquinno/helidon/stargazers","contributors_url":"https://api.github.com/repos/tjquinno/helidon/contributors","subscribers_url":"https://api.github.com/repos/tjquinno/helidon/subscribers","subscription_url":"https://api.github.com/repos/tjquinno/helidon/subscription","commits_url":"https://api.github.com/repos/tjquinno/helidon/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjquinno/helidon/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjquinno/helidon/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjquinno/helidon/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjquinno/helidon/contents/{+path}","compare_url":"https://api.github.com/repos/tjquinno/helidon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjquinno/helidon/merges","archive_url":"https://api.github.com/repos/tjquinno/helidon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjquinno/helidon/downloads","issues_url":"https://api.github.com/repos/tjquinno/helidon/issues{/number}","pulls_url":"https://api.github.com/repos/tjquinno/helidon/pulls{/number}","milestones_url":"https://api.github.com/repos/tjquinno/helidon/milestones{/number}","notifications_url":"https://api.github.com/repos/tjquinno/helidon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjquinno/helidon/labels{/name}","releases_url":"https://api.github.com/repos/tjquinno/helidon/releases{/id}","deployments_url":"https://api.github.com/repos/tjquinno/helidon/deployments","created_at":"2018-09-07T16:23:58Z","updated_at":"2018-12-02T17:11:32Z","pushed_at":"2018-12-02T17:15:34Z","git_url":"git://github.com/tjquinno/helidon.git","ssh_url":"git@github.com:tjquinno/helidon.git","clone_url":"https://github.com/tjquinno/helidon.git","svn_url":"https://github.com/tjquinno/helidon","homepage":"https://helidon.io","size":3545,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oracle:master","ref":"master","sha":"08fa542487df9004d5b579e1a0da0bb3b5f731a1","user":{"login":"oracle","id":4430336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MzAzMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"repo":{"id":146285827,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYyODU4Mjc=","name":"helidon","full_name":"oracle/helidon","private":false,"owner":{"login":"oracle","id":4430336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MzAzMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/oracle/helidon","description":"Java libraries for writing microservices","fork":false,"url":"https://api.github.com/repos/oracle/helidon","forks_url":"https://api.github.com/repos/oracle/helidon/forks","keys_url":"https://api.github.com/repos/oracle/helidon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oracle/helidon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oracle/helidon/teams","hooks_url":"https://api.github.com/repos/oracle/helidon/hooks","issue_events_url":"https://api.github.com/repos/oracle/helidon/issues/events{/number}","events_url":"https://api.github.com/repos/oracle/helidon/events","assignees_url":"https://api.github.com/repos/oracle/helidon/assignees{/user}","branches_url":"https://api.github.com/repos/oracle/helidon/branches{/branch}","tags_url":"https://api.github.com/repos/oracle/helidon/tags","blobs_url":"https://api.github.com/repos/oracle/helidon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oracle/helidon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oracle/helidon/git/refs{/sha}","trees_url":"https://api.github.com/repos/oracle/helidon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oracle/helidon/statuses/{sha}","languages_url":"https://api.github.com/repos/oracle/helidon/languages","stargazers_url":"https://api.github.com/repos/oracle/helidon/stargazers","contributors_url":"https://api.github.com/repos/oracle/helidon/contributors","subscribers_url":"https://api.github.com/repos/oracle/helidon/subscribers","subscription_url":"https://api.github.com/repos/oracle/helidon/subscription","commits_url":"https://api.github.com/repos/oracle/helidon/commits{/sha}","git_commits_url":"https://api.github.com/repos/oracle/helidon/git/commits{/sha}","comments_url":"https://api.github.com/repos/oracle/helidon/comments{/number}","issue_comment_url":"https://api.github.com/repos/oracle/helidon/issues/comments{/number}","contents_url":"https://api.github.com/repos/oracle/helidon/contents/{+path}","compare_url":"https://api.github.com/repos/oracle/helidon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oracle/helidon/merges","archive_url":"https://api.github.com/repos/oracle/helidon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oracle/helidon/downloads","issues_url":"https://api.github.com/repos/oracle/helidon/issues{/number}","pulls_url":"https://api.github.com/repos/oracle/helidon/pulls{/number}","milestones_url":"https://api.github.com/repos/oracle/helidon/milestones{/number}","notifications_url":"https://api.github.com/repos/oracle/helidon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oracle/helidon/labels{/name}","releases_url":"https://api.github.com/repos/oracle/helidon/releases{/id}","deployments_url":"https://api.github.com/repos/oracle/helidon/deployments","created_at":"2018-08-27T11:03:52Z","updated_at":"2018-12-03T19:09:10Z","pushed_at":"2018-12-03T21:47:07Z","git_url":"git://github.com/oracle/helidon.git","ssh_url":"git@github.com:oracle/helidon.git","clone_url":"https://github.com/oracle/helidon.git","svn_url":"https://github.com/oracle/helidon","homepage":"https://helidon.io","size":3770,"stargazers_count":934,"watchers_count":934,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":113,"open_issues":52,"watchers":934,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oracle/helidon/pulls/215"},"html":{"href":"https://github.com/oracle/helidon/pull/215"},"issue":{"href":"https://api.github.com/repos/oracle/helidon/issues/215"},"comments":{"href":"https://api.github.com/repos/oracle/helidon/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/oracle/helidon/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/oracle/helidon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oracle/helidon/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/oracle/helidon/statuses/13d8dc1a51b1f499c9e04952f42df36b63eec371"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kumar-dhanagopal"}}