{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/comments/221122558","pull_request_review_id":159697025,"id":221122558,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTEyMjU1OA==","diff_hunk":"@@ -0,0 +1,46 @@\n+## Azure SQL DB AlwaysEncrypted Spring Boot Starter\n+\n+[Azure SQL DB Always Encrypted](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-always-encrypted) feature allows to encrypt data in SQL and store master keys in Azure KeyVault\n+\n+## Sample Code\n+Please refer to [sample project here](../../azure-spring-boot-samples/azure-sqlserver-spring-boot-sample).\n+\n+## Quick Start\n+\n+### Add the dependency\n+\n+`azure-sqlserver-spring-boot-starter` is published on Maven Central Repository.\n+If you are using Maven, add the following dependency.  \n+\n+```xml\n+<dependency>\n+    <groupId>com.microsoft.azure</groupId>\n+    <artifactId>azure-sqlserver-spring-boot-starter</artifactId>\n+</dependency>\n+```\n+\n+### Add the property settings\n+\n+Open `application.properties` file and add below properties with your SQL DB credentials.\n+\n+ ```properties\n+ spring.datasource.jdbc-url=jdbc:sqlserver://<server>.database.windows.net:1433;database=<db>;Encrypt=true;TrustServerCertificate=false;HostNameInCertificate=*.database.windows.net;loginTimeout=30\n+ spring.datasource.username=\n+ spring.datasource.password=\n+ ```\n+ To enable always encryption set the following\n+\n+```properties\n+ spring.datasource.alwaysencrypted=true","path":"azure-spring-boot-starters/azure-sqlserver-spring-boot-starter/README.md","position":34,"original_position":34,"commit_id":"fb2b085747033b876de3f81acc2281bbdb6640fd","original_commit_id":"fb2b085747033b876de3f81acc2281bbdb6640fd","user":{"login":"warrenzhu25","id":1633312,"node_id":"MDQ6VXNlcjE2MzMzMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1633312?v=4","gravatar_id":"","url":"https://api.github.com/users/warrenzhu25","html_url":"https://github.com/warrenzhu25","followers_url":"https://api.github.com/users/warrenzhu25/followers","following_url":"https://api.github.com/users/warrenzhu25/following{/other_user}","gists_url":"https://api.github.com/users/warrenzhu25/gists{/gist_id}","starred_url":"https://api.github.com/users/warrenzhu25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warrenzhu25/subscriptions","organizations_url":"https://api.github.com/users/warrenzhu25/orgs","repos_url":"https://api.github.com/users/warrenzhu25/repos","events_url":"https://api.github.com/users/warrenzhu25/events{/privacy}","received_events_url":"https://api.github.com/users/warrenzhu25/received_events","type":"User","site_admin":false},"body":"Should this be `always-encrypted`","created_at":"2018-09-28T01:43:44Z","updated_at":"2018-09-28T01:43:44Z","html_url":"https://github.com/Microsoft/azure-spring-boot/pull/420#discussion_r221122558","pull_request_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/comments/221122558"},"html":{"href":"https://github.com/Microsoft/azure-spring-boot/pull/420#discussion_r221122558"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420","id":216198735,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MTk4NzM1","html_url":"https://github.com/Microsoft/azure-spring-boot/pull/420","diff_url":"https://github.com/Microsoft/azure-spring-boot/pull/420.diff","patch_url":"https://github.com/Microsoft/azure-spring-boot/pull/420.patch","issue_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues/420","number":420,"state":"open","locked":false,"title":"add AlwaysEncrypted Starter","user":{"login":"lenisha","id":6332907,"node_id":"MDQ6VXNlcjYzMzI5MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/6332907?v=4","gravatar_id":"","url":"https://api.github.com/users/lenisha","html_url":"https://github.com/lenisha","followers_url":"https://api.github.com/users/lenisha/followers","following_url":"https://api.github.com/users/lenisha/following{/other_user}","gists_url":"https://api.github.com/users/lenisha/gists{/gist_id}","starred_url":"https://api.github.com/users/lenisha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenisha/subscriptions","organizations_url":"https://api.github.com/users/lenisha/orgs","repos_url":"https://api.github.com/users/lenisha/repos","events_url":"https://api.github.com/users/lenisha/events{/privacy}","received_events_url":"https://api.github.com/users/lenisha/received_events","type":"User","site_admin":false},"body":"## Summary\r\n<!--Describe the change berifly-->\r\nEnable Always Encrypted feature (split to smaller PR)\r\n## Issue Type\r\n<!--Pick one below and delete the rest-->\r\n- New Feature\r\n\r\n## Starter Names\r\n  <!--Which Spring boot starters the change involves, pick items below and delete the rest-->\r\n  - sqlserver spring boot starter\r\n\r\n## Additional Information","created_at":"2018-09-18T06:43:10Z","updated_at":"2018-09-28T01:43:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c0f2eb72ed46eaef5e95df6969d147597d9c215","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420/commits","review_comments_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420/comments","review_comment_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues/420/comments","statuses_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/statuses/fb2b085747033b876de3f81acc2281bbdb6640fd","head":{"label":"lenisha:master","ref":"master","sha":"fb2b085747033b876de3f81acc2281bbdb6640fd","user":{"login":"lenisha","id":6332907,"node_id":"MDQ6VXNlcjYzMzI5MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/6332907?v=4","gravatar_id":"","url":"https://api.github.com/users/lenisha","html_url":"https://github.com/lenisha","followers_url":"https://api.github.com/users/lenisha/followers","following_url":"https://api.github.com/users/lenisha/following{/other_user}","gists_url":"https://api.github.com/users/lenisha/gists{/gist_id}","starred_url":"https://api.github.com/users/lenisha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenisha/subscriptions","organizations_url":"https://api.github.com/users/lenisha/orgs","repos_url":"https://api.github.com/users/lenisha/repos","events_url":"https://api.github.com/users/lenisha/events{/privacy}","received_events_url":"https://api.github.com/users/lenisha/received_events","type":"User","site_admin":false},"repo":{"id":149233794,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkyMzM3OTQ=","name":"azure-spring-boot","full_name":"lenisha/azure-spring-boot","private":false,"owner":{"login":"lenisha","id":6332907,"node_id":"MDQ6VXNlcjYzMzI5MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/6332907?v=4","gravatar_id":"","url":"https://api.github.com/users/lenisha","html_url":"https://github.com/lenisha","followers_url":"https://api.github.com/users/lenisha/followers","following_url":"https://api.github.com/users/lenisha/following{/other_user}","gists_url":"https://api.github.com/users/lenisha/gists{/gist_id}","starred_url":"https://api.github.com/users/lenisha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenisha/subscriptions","organizations_url":"https://api.github.com/users/lenisha/orgs","repos_url":"https://api.github.com/users/lenisha/repos","events_url":"https://api.github.com/users/lenisha/events{/privacy}","received_events_url":"https://api.github.com/users/lenisha/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lenisha/azure-spring-boot","description":"Spring Boot Starters for Azure services","fork":true,"url":"https://api.github.com/repos/lenisha/azure-spring-boot","forks_url":"https://api.github.com/repos/lenisha/azure-spring-boot/forks","keys_url":"https://api.github.com/repos/lenisha/azure-spring-boot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenisha/azure-spring-boot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenisha/azure-spring-boot/teams","hooks_url":"https://api.github.com/repos/lenisha/azure-spring-boot/hooks","issue_events_url":"https://api.github.com/repos/lenisha/azure-spring-boot/issues/events{/number}","events_url":"https://api.github.com/repos/lenisha/azure-spring-boot/events","assignees_url":"https://api.github.com/repos/lenisha/azure-spring-boot/assignees{/user}","branches_url":"https://api.github.com/repos/lenisha/azure-spring-boot/branches{/branch}","tags_url":"https://api.github.com/repos/lenisha/azure-spring-boot/tags","blobs_url":"https://api.github.com/repos/lenisha/azure-spring-boot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenisha/azure-spring-boot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenisha/azure-spring-boot/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenisha/azure-spring-boot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenisha/azure-spring-boot/statuses/{sha}","languages_url":"https://api.github.com/repos/lenisha/azure-spring-boot/languages","stargazers_url":"https://api.github.com/repos/lenisha/azure-spring-boot/stargazers","contributors_url":"https://api.github.com/repos/lenisha/azure-spring-boot/contributors","subscribers_url":"https://api.github.com/repos/lenisha/azure-spring-boot/subscribers","subscription_url":"https://api.github.com/repos/lenisha/azure-spring-boot/subscription","commits_url":"https://api.github.com/repos/lenisha/azure-spring-boot/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenisha/azure-spring-boot/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenisha/azure-spring-boot/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenisha/azure-spring-boot/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenisha/azure-spring-boot/contents/{+path}","compare_url":"https://api.github.com/repos/lenisha/azure-spring-boot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenisha/azure-spring-boot/merges","archive_url":"https://api.github.com/repos/lenisha/azure-spring-boot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenisha/azure-spring-boot/downloads","issues_url":"https://api.github.com/repos/lenisha/azure-spring-boot/issues{/number}","pulls_url":"https://api.github.com/repos/lenisha/azure-spring-boot/pulls{/number}","milestones_url":"https://api.github.com/repos/lenisha/azure-spring-boot/milestones{/number}","notifications_url":"https://api.github.com/repos/lenisha/azure-spring-boot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenisha/azure-spring-boot/labels{/name}","releases_url":"https://api.github.com/repos/lenisha/azure-spring-boot/releases{/id}","deployments_url":"https://api.github.com/repos/lenisha/azure-spring-boot/deployments","created_at":"2018-09-18T05:31:35Z","updated_at":"2018-09-18T06:41:08Z","pushed_at":"2018-09-18T06:41:06Z","git_url":"git://github.com/lenisha/azure-spring-boot.git","ssh_url":"git@github.com:lenisha/azure-spring-boot.git","clone_url":"https://github.com/lenisha/azure-spring-boot.git","svn_url":"https://github.com/lenisha/azure-spring-boot","homepage":"","size":1896,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"5b3301cc6730e60e8e15354396462c8f4f8a4ecd","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":93699852,"node_id":"MDEwOlJlcG9zaXRvcnk5MzY5OTg1Mg==","name":"azure-spring-boot","full_name":"Microsoft/azure-spring-boot","private":false,"owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Microsoft/azure-spring-boot","description":"Spring Boot Starters for Azure services","fork":false,"url":"https://api.github.com/repos/Microsoft/azure-spring-boot","forks_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/forks","keys_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/teams","hooks_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/events","assignees_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/tags","blobs_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/languages","stargazers_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/subscription","commits_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/merges","archive_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/downloads","issues_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/azure-spring-boot/deployments","created_at":"2017-06-08T02:36:34Z","updated_at":"2018-09-24T14:08:46Z","pushed_at":"2018-09-25T02:25:36Z","git_url":"git://github.com/Microsoft/azure-spring-boot.git","ssh_url":"git@github.com:Microsoft/azure-spring-boot.git","clone_url":"https://github.com/Microsoft/azure-spring-boot.git","svn_url":"https://github.com/Microsoft/azure-spring-boot","homepage":"","size":1908,"stargazers_count":109,"watchers_count":109,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":122,"open_issues":41,"watchers":109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420"},"html":{"href":"https://github.com/Microsoft/azure-spring-boot/pull/420"},"issue":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues/420"},"comments":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/azure-spring-boot/statuses/fb2b085747033b876de3f81acc2281bbdb6640fd"}},"author_association":"NONE"}}
{"actor":{"display_login":"warrenzhu25"}}