{"action":"closed","number":116,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/116","id":238560912,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4NTYwOTEy","html_url":"https://github.com/Azure/azure-functions-powershell-worker/pull/116","diff_url":"https://github.com/Azure/azure-functions-powershell-worker/pull/116.diff","patch_url":"https://github.com/Azure/azure-functions-powershell-worker/pull/116.patch","issue_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/116","number":116,"state":"closed","locked":false,"title":"Refactor the code to pre-validate at 'FunctionLoadRequest' and officially support entrypoint","user":{"login":"daxian-dbw","id":127450,"node_id":"MDQ6VXNlcjEyNzQ1MA==","avatar_url":"https://avatars2.githubusercontent.com/u/127450?v=4","gravatar_id":"","url":"https://api.github.com/users/daxian-dbw","html_url":"https://github.com/daxian-dbw","followers_url":"https://api.github.com/users/daxian-dbw/followers","following_url":"https://api.github.com/users/daxian-dbw/following{/other_user}","gists_url":"https://api.github.com/users/daxian-dbw/gists{/gist_id}","starred_url":"https://api.github.com/users/daxian-dbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxian-dbw/subscriptions","organizations_url":"https://api.github.com/users/daxian-dbw/orgs","repos_url":"https://api.github.com/users/daxian-dbw/repos","events_url":"https://api.github.com/users/daxian-dbw/events{/privacy}","received_events_url":"https://api.github.com/users/daxian-dbw/received_events","type":"User","site_admin":false},"body":"- Refactor the code to do initialization in a more organized way.\r\n- Pre-validate the script against the function metadata when loading a 'FunctionLoadRequest'.\r\n- Support `EntryPoint` only when `ScriptFile` points to a `.psm1`; support `.psm1` script file only when `EntryPoint` is specified.\r\n- Add unit tests and e2e tests\r\n\r\nFix #15, #101, #73","created_at":"2018-12-13T23:01:44Z","updated_at":"2018-12-14T21:49:52Z","closed_at":"2018-12-14T21:49:52Z","merged_at":"2018-12-14T21:49:51Z","merge_commit_sha":"5393e1469c5bea5172944ae17b9599704263e0b6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/116/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/116/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/116/comments","statuses_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/statuses/eb3bbac59fbdc547fa89ff7bf6e2f8d957a25efc","head":{"label":"Azure:entrypoint","ref":"entrypoint","sha":"eb3bbac59fbdc547fa89ff7bf6e2f8d957a25efc","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":142599157,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1OTkxNTc=","name":"azure-functions-powershell-worker","full_name":"Azure/azure-functions-powershell-worker","private":false,"owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Azure/azure-functions-powershell-worker","description":"PowerShell language worker for Azure Functions.","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker","forks_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/deployments","created_at":"2018-07-27T16:17:14Z","updated_at":"2018-12-13T05:18:02Z","pushed_at":"2018-12-14T21:49:51Z","git_url":"git://github.com/Azure/azure-functions-powershell-worker.git","ssh_url":"git@github.com:Azure/azure-functions-powershell-worker.git","clone_url":"https://github.com/Azure/azure-functions-powershell-worker.git","svn_url":"https://github.com/Azure/azure-functions-powershell-worker","homepage":null,"size":265,"stargazers_count":25,"watchers_count":25,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":19,"watchers":25,"default_branch":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"eca0b1e3535e6584ea6023a9327a06843f5e4352","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":142599157,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1OTkxNTc=","name":"azure-functions-powershell-worker","full_name":"Azure/azure-functions-powershell-worker","private":false,"owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Azure/azure-functions-powershell-worker","description":"PowerShell language worker for Azure Functions.","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker","forks_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/deployments","created_at":"2018-07-27T16:17:14Z","updated_at":"2018-12-13T05:18:02Z","pushed_at":"2018-12-14T21:49:51Z","git_url":"git://github.com/Azure/azure-functions-powershell-worker.git","ssh_url":"git@github.com:Azure/azure-functions-powershell-worker.git","clone_url":"https://github.com/Azure/azure-functions-powershell-worker.git","svn_url":"https://github.com/Azure/azure-functions-powershell-worker","homepage":null,"size":265,"stargazers_count":25,"watchers_count":25,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":19,"watchers":25,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/116"},"html":{"href":"https://github.com/Azure/azure-functions-powershell-worker/pull/116"},"issue":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/116"},"comments":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-functions-powershell-worker/statuses/eb3bbac59fbdc547fa89ff7bf6e2f8d957a25efc"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"daxian-dbw","id":127450,"node_id":"MDQ6VXNlcjEyNzQ1MA==","avatar_url":"https://avatars2.githubusercontent.com/u/127450?v=4","gravatar_id":"","url":"https://api.github.com/users/daxian-dbw","html_url":"https://github.com/daxian-dbw","followers_url":"https://api.github.com/users/daxian-dbw/followers","following_url":"https://api.github.com/users/daxian-dbw/following{/other_user}","gists_url":"https://api.github.com/users/daxian-dbw/gists{/gist_id}","starred_url":"https://api.github.com/users/daxian-dbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxian-dbw/subscriptions","organizations_url":"https://api.github.com/users/daxian-dbw/orgs","repos_url":"https://api.github.com/users/daxian-dbw/repos","events_url":"https://api.github.com/users/daxian-dbw/events{/privacy}","received_events_url":"https://api.github.com/users/daxian-dbw/received_events","type":"User","site_admin":false},"comments":0,"review_comments":30,"maintainer_can_modify":false,"commits":4,"additions":957,"deletions":466,"changed_files":26}}
{"actor":{"display_login":"daxian-dbw"}}