{"action":"created","comment":{"url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/comments/37834810","id":37834810,"diff_hunk":"@@ -63,19 +66,20 @@ static void Main(string[] args)\n         }\n \n         /// <summary>\n-        /// Inserts data to database\n+        /// Inserts asynchronous task information to the database\n         /// </summary>\n         /// <returns></returns>\n         public AsyncProcessingServiceParameterValue InsertData()\n         {\n-            AsyncProcessingServiceParameterValue asyncParameterValue;\n-            byte[] arr = { 1, 2, 3, 4, 5 };\n+            // Create array data to serilize.\n+            byte[] arrayData = { 1, 2, 3, 4, 5 };\n \n-            asyncParameterValue = new AsyncProcessingServiceParameterValue(\"AsyncProcessingService\", \"Start\", \"Start\", \"SQL\",\n+            // Sets parameters of AsyncProcessingServiceParameterValue to insert asynchronous task information.\n+            AsyncProcessingServiceParameterValue asyncParameterValue = new AsyncProcessingServiceParameterValue(\"AsyncProcessingService\", \"InsertTask\", \"InsertTask\", \"SQL\",\n                                                                             new MyUserInfo(\"AsyncProcessingService\", \"AsyncProcessingService\"));\n             asyncParameterValue.UserId = \"A\";\n             asyncParameterValue.ProcessName = \"AAA\";\n-            asyncParameterValue.Data = CustomEncode.ToBase64String(arr);\n+            asyncParameterValue.Data = AsyncSvc_sample.LayerB.SerializeToBase64String(arrayData);","path":"root/programs/C#/Samples/AsyncSvc_sample/TestAsyncSvc_Sample/Program.cs","position":46,"original_position":46,"commit_id":"2e06af88ed45441536c743f41ef0783d2a2e4161","original_commit_id":"2e06af88ed45441536c743f41ef0783d2a2e4161","user":{"login":"daisukenishino","id":5975160,"avatar_url":"https://avatars.githubusercontent.com/u/5975160?v=3","gravatar_id":"","url":"https://api.github.com/users/daisukenishino","html_url":"https://github.com/daisukenishino","followers_url":"https://api.github.com/users/daisukenishino/followers","following_url":"https://api.github.com/users/daisukenishino/following{/other_user}","gists_url":"https://api.github.com/users/daisukenishino/gists{/gist_id}","starred_url":"https://api.github.com/users/daisukenishino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daisukenishino/subscriptions","organizations_url":"https://api.github.com/users/daisukenishino/orgs","repos_url":"https://api.github.com/users/daisukenishino/repos","events_url":"https://api.github.com/users/daisukenishino/events{/privacy}","received_events_url":"https://api.github.com/users/daisukenishino/received_events","type":"User","site_admin":false},"body":"@SandeepNayak077 \r\n\r\nI See.\r\n\r\nThere is no problem that if data type is shared on the client side and the server side.\r\n\r\nHowever, I think it is a good idea that the definition of the data type and serialization and de-serialization process are aggregated on the server side. I think it should be described in the procedure manual as the rules.","created_at":"2015-08-25T05:55:00Z","updated_at":"2015-08-25T05:55:00Z","html_url":"https://github.com/SymphonyTeleca/OpenTouryo/pull/57#discussion_r37834810","pull_request_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/comments/37834810"},"html":{"href":"https://github.com/SymphonyTeleca/OpenTouryo/pull/57#discussion_r37834810"},"pull_request":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57","id":43034114,"html_url":"https://github.com/SymphonyTeleca/OpenTouryo/pull/57","diff_url":"https://github.com/SymphonyTeleca/OpenTouryo/pull/57.diff","patch_url":"https://github.com/SymphonyTeleca/OpenTouryo/pull/57.patch","issue_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/57","number":57,"state":"open","locked":false,"title":"The following modification has done in TestAsyncSvc_Sample and AsyncSvc_sample project:","user":{"login":"daisukenishino","id":5975160,"avatar_url":"https://avatars.githubusercontent.com/u/5975160?v=3","gravatar_id":"","url":"https://api.github.com/users/daisukenishino","html_url":"https://github.com/daisukenishino","followers_url":"https://api.github.com/users/daisukenishino/followers","following_url":"https://api.github.com/users/daisukenishino/following{/other_user}","gists_url":"https://api.github.com/users/daisukenishino/gists{/gist_id}","starred_url":"https://api.github.com/users/daisukenishino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daisukenishino/subscriptions","organizations_url":"https://api.github.com/users/daisukenishino/orgs","repos_url":"https://api.github.com/users/daisukenishino/repos","events_url":"https://api.github.com/users/daisukenishino/events{/privacy}","received_events_url":"https://api.github.com/users/daisukenishino/received_events","type":"User","site_admin":false},"body":" 1) Modified insert method name from 'Start' to 'InsertTask'.\r\n 2) Modified object of LayerB that is related to Business project, instead of AsyncSvc_sample project.\r\n 3) Implemented code to declare and initialize the member variable\r\n 4) Implemented serialization and deserialization methods\r\n 5) Modified the code to start and update asynchronous process\r\n 6) Implemented code to get command value and update progress rate\r\n 7) Implemented code to resume asynchronous process in the middle of the processing\r\n 8) Implemented code to handle the cases of abnormal termination, while updating the asynchronous process \r\n 9) Modified code to call layerD of AsynProcessingService instead of do business logic.","created_at":"2015-08-21T12:49:47Z","updated_at":"2015-08-25T05:55:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc6c749ad34bbe80d7e5397ad97da841d3ec7a21","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57/commits","review_comments_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57/comments","review_comment_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/57/comments","statuses_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/statuses/2e06af88ed45441536c743f41ef0783d2a2e4161","head":{"label":"SymphonyTeleca:asyncsvcsample","ref":"asyncsvcsample","sha":"2e06af88ed45441536c743f41ef0783d2a2e4161","user":{"login":"SymphonyTeleca","id":7530579,"avatar_url":"https://avatars.githubusercontent.com/u/7530579?v=3","gravatar_id":"","url":"https://api.github.com/users/SymphonyTeleca","html_url":"https://github.com/SymphonyTeleca","followers_url":"https://api.github.com/users/SymphonyTeleca/followers","following_url":"https://api.github.com/users/SymphonyTeleca/following{/other_user}","gists_url":"https://api.github.com/users/SymphonyTeleca/gists{/gist_id}","starred_url":"https://api.github.com/users/SymphonyTeleca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymphonyTeleca/subscriptions","organizations_url":"https://api.github.com/users/SymphonyTeleca/orgs","repos_url":"https://api.github.com/users/SymphonyTeleca/repos","events_url":"https://api.github.com/users/SymphonyTeleca/events{/privacy}","received_events_url":"https://api.github.com/users/SymphonyTeleca/received_events","type":"Organization","site_admin":false},"repo":{"id":27431618,"name":"OpenTouryo","full_name":"SymphonyTeleca/OpenTouryo","owner":{"login":"SymphonyTeleca","id":7530579,"avatar_url":"https://avatars.githubusercontent.com/u/7530579?v=3","gravatar_id":"","url":"https://api.github.com/users/SymphonyTeleca","html_url":"https://github.com/SymphonyTeleca","followers_url":"https://api.github.com/users/SymphonyTeleca/followers","following_url":"https://api.github.com/users/SymphonyTeleca/following{/other_user}","gists_url":"https://api.github.com/users/SymphonyTeleca/gists{/gist_id}","starred_url":"https://api.github.com/users/SymphonyTeleca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymphonyTeleca/subscriptions","organizations_url":"https://api.github.com/users/SymphonyTeleca/orgs","repos_url":"https://api.github.com/users/SymphonyTeleca/repos","events_url":"https://api.github.com/users/SymphonyTeleca/events{/privacy}","received_events_url":"https://api.github.com/users/SymphonyTeleca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SymphonyTeleca/OpenTouryo","description":"”Open棟梁”は、長年の.NETアプリケーション開発実績にて蓄積したノウハウに基づき開発した.NET用アプリケーション フレームワークです。 (”OpenTouryo” , is an application framework for .NET which was developed using the accumulated know-how with a long track record in .NET application development.)","fork":true,"url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo","forks_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/forks","keys_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/teams","hooks_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/hooks","issue_events_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/events{/number}","events_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/events","assignees_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/assignees{/user}","branches_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/branches{/branch}","tags_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/tags","blobs_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/refs{/sha}","trees_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/statuses/{sha}","languages_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/languages","stargazers_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/stargazers","contributors_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/contributors","subscribers_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/subscribers","subscription_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/subscription","commits_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/commits{/sha}","git_commits_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/commits{/sha}","comments_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/comments{/number}","issue_comment_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/comments{/number}","contents_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/contents/{+path}","compare_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/merges","archive_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/downloads","issues_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues{/number}","pulls_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls{/number}","milestones_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/milestones{/number}","notifications_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/labels{/name}","releases_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/releases{/id}","created_at":"2014-12-02T12:30:48Z","updated_at":"2014-12-02T12:31:00Z","pushed_at":"2015-08-21T12:49:47Z","git_url":"git://github.com/SymphonyTeleca/OpenTouryo.git","ssh_url":"git@github.com:SymphonyTeleca/OpenTouryo.git","clone_url":"https://github.com/SymphonyTeleca/OpenTouryo.git","svn_url":"https://github.com/SymphonyTeleca/OpenTouryo","homepage":"","size":109838,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"SymphonyTeleca:nishino","ref":"nishino","sha":"e9d96d3906ccadf8c2b6651995a6eab71c4bf57c","user":{"login":"SymphonyTeleca","id":7530579,"avatar_url":"https://avatars.githubusercontent.com/u/7530579?v=3","gravatar_id":"","url":"https://api.github.com/users/SymphonyTeleca","html_url":"https://github.com/SymphonyTeleca","followers_url":"https://api.github.com/users/SymphonyTeleca/followers","following_url":"https://api.github.com/users/SymphonyTeleca/following{/other_user}","gists_url":"https://api.github.com/users/SymphonyTeleca/gists{/gist_id}","starred_url":"https://api.github.com/users/SymphonyTeleca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymphonyTeleca/subscriptions","organizations_url":"https://api.github.com/users/SymphonyTeleca/orgs","repos_url":"https://api.github.com/users/SymphonyTeleca/repos","events_url":"https://api.github.com/users/SymphonyTeleca/events{/privacy}","received_events_url":"https://api.github.com/users/SymphonyTeleca/received_events","type":"Organization","site_admin":false},"repo":{"id":27431618,"name":"OpenTouryo","full_name":"SymphonyTeleca/OpenTouryo","owner":{"login":"SymphonyTeleca","id":7530579,"avatar_url":"https://avatars.githubusercontent.com/u/7530579?v=3","gravatar_id":"","url":"https://api.github.com/users/SymphonyTeleca","html_url":"https://github.com/SymphonyTeleca","followers_url":"https://api.github.com/users/SymphonyTeleca/followers","following_url":"https://api.github.com/users/SymphonyTeleca/following{/other_user}","gists_url":"https://api.github.com/users/SymphonyTeleca/gists{/gist_id}","starred_url":"https://api.github.com/users/SymphonyTeleca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymphonyTeleca/subscriptions","organizations_url":"https://api.github.com/users/SymphonyTeleca/orgs","repos_url":"https://api.github.com/users/SymphonyTeleca/repos","events_url":"https://api.github.com/users/SymphonyTeleca/events{/privacy}","received_events_url":"https://api.github.com/users/SymphonyTeleca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SymphonyTeleca/OpenTouryo","description":"”Open棟梁”は、長年の.NETアプリケーション開発実績にて蓄積したノウハウに基づき開発した.NET用アプリケーション フレームワークです。 (”OpenTouryo” , is an application framework for .NET which was developed using the accumulated know-how with a long track record in .NET application development.)","fork":true,"url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo","forks_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/forks","keys_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/teams","hooks_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/hooks","issue_events_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/events{/number}","events_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/events","assignees_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/assignees{/user}","branches_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/branches{/branch}","tags_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/tags","blobs_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/refs{/sha}","trees_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/statuses/{sha}","languages_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/languages","stargazers_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/stargazers","contributors_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/contributors","subscribers_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/subscribers","subscription_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/subscription","commits_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/commits{/sha}","git_commits_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/git/commits{/sha}","comments_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/comments{/number}","issue_comment_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/comments{/number}","contents_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/contents/{+path}","compare_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/merges","archive_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/downloads","issues_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues{/number}","pulls_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls{/number}","milestones_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/milestones{/number}","notifications_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/labels{/name}","releases_url":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/releases{/id}","created_at":"2014-12-02T12:30:48Z","updated_at":"2014-12-02T12:31:00Z","pushed_at":"2015-08-21T12:49:47Z","git_url":"git://github.com/SymphonyTeleca/OpenTouryo.git","ssh_url":"git@github.com:SymphonyTeleca/OpenTouryo.git","clone_url":"https://github.com/SymphonyTeleca/OpenTouryo.git","svn_url":"https://github.com/SymphonyTeleca/OpenTouryo","homepage":"","size":109838,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57"},"html":{"href":"https://github.com/SymphonyTeleca/OpenTouryo/pull/57"},"issue":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/57"},"comments":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/SymphonyTeleca/OpenTouryo/statuses/2e06af88ed45441536c743f41ef0783d2a2e4161"}}}}