{"action":"created","comment":{"url":"https://api.github.com/repos/mulesoft/mule-api/pulls/comments/197206129","pull_request_review_id":130905546,"id":197206129,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzIwNjEyOQ==","diff_hunk":"@@ -118,6 +120,18 @@ public T asConfigOverride() {\n     return (T) this;\n   }\n \n+  /**\n+   * Marks the parameter as being a {@link ParameterModel#isComponentId() component ID}.\n+   * This also means this is a {@code required} parameter where expressions are {@link ExpressionSupport::NOT_SUPPORTED}.\n+   *\n+   * @return {@code this} declarer\n+   */\n+  public T asComponentId() {","path":"src/main/java/org/mule/runtime/api/meta/model/declaration/fluent/ParameterDeclarer.java","position":26,"original_position":26,"commit_id":"4ae86475e3737a6295ba4bcded4606552b478edd","original_commit_id":"4ae86475e3737a6295ba4bcded4606552b478edd","user":{"login":"alegmarra","id":1502904,"node_id":"MDQ6VXNlcjE1MDI5MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1502904?v=4","gravatar_id":"","url":"https://api.github.com/users/alegmarra","html_url":"https://github.com/alegmarra","followers_url":"https://api.github.com/users/alegmarra/followers","following_url":"https://api.github.com/users/alegmarra/following{/other_user}","gists_url":"https://api.github.com/users/alegmarra/gists{/gist_id}","starred_url":"https://api.github.com/users/alegmarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alegmarra/subscriptions","organizations_url":"https://api.github.com/users/alegmarra/orgs","repos_url":"https://api.github.com/users/alegmarra/repos","events_url":"https://api.github.com/users/alegmarra/events{/privacy}","received_events_url":"https://api.github.com/users/alegmarra/received_events","type":"User","site_admin":false},"body":"this is covered in the ParameterModelValidator. The idea was to avoid having hidden side effects and be explicit to the user that any of the configurations decided are invalid. The only case where we automatically set the restriction is the ExpressionSupport, because it is not the default value. Otherwise, if the user sets the parameter as optional, content, text, etc. we fail with a clear message.","created_at":"2018-06-21T16:55:52Z","updated_at":"2018-06-21T16:55:52Z","html_url":"https://github.com/mulesoft/mule-api/pull/489#discussion_r197206129","pull_request_url":"https://api.github.com/repos/mulesoft/mule-api/pulls/489","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mulesoft/mule-api/pulls/comments/197206129"},"html":{"href":"https://github.com/mulesoft/mule-api/pull/489#discussion_r197206129"},"pull_request":{"href":"https://api.github.com/repos/mulesoft/mule-api/pulls/489"}},"in_reply_to_id":197196278},"pull_request":{"url":"https://api.github.com/repos/mulesoft/mule-api/pulls/489","id":196467849,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NDY3ODQ5","html_url":"https://github.com/mulesoft/mule-api/pull/489","diff_url":"https://github.com/mulesoft/mule-api/pull/489.diff","patch_url":"https://github.com/mulesoft/mule-api/pull/489.patch","issue_url":"https://api.github.com/repos/mulesoft/mule-api/issues/489","number":489,"state":"open","locked":false,"title":"MULE-14913: Allow ExtensionModel to mark a parameter as 'component ID'","user":{"login":"alegmarra","id":1502904,"node_id":"MDQ6VXNlcjE1MDI5MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1502904?v=4","gravatar_id":"","url":"https://api.github.com/users/alegmarra","html_url":"https://github.com/alegmarra","followers_url":"https://api.github.com/users/alegmarra/followers","following_url":"https://api.github.com/users/alegmarra/following{/other_user}","gists_url":"https://api.github.com/users/alegmarra/gists{/gist_id}","starred_url":"https://api.github.com/users/alegmarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alegmarra/subscriptions","organizations_url":"https://api.github.com/users/alegmarra/orgs","repos_url":"https://api.github.com/users/alegmarra/repos","events_url":"https://api.github.com/users/alegmarra/events{/privacy}","received_events_url":"https://api.github.com/users/alegmarra/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-21T14:16:55Z","updated_at":"2018-06-21T16:55:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5bf40e01e65801ad65a71a99affff08dd8ca3b17","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mulesoft/mule-api/pulls/489/commits","review_comments_url":"https://api.github.com/repos/mulesoft/mule-api/pulls/489/comments","review_comment_url":"https://api.github.com/repos/mulesoft/mule-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mulesoft/mule-api/issues/489/comments","statuses_url":"https://api.github.com/repos/mulesoft/mule-api/statuses/4ae86475e3737a6295ba4bcded4606552b478edd","head":{"label":"mulesoft:MULE-14913","ref":"MULE-14913","sha":"4ae86475e3737a6295ba4bcded4606552b478edd","user":{"login":"mulesoft","id":185740,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTc0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/185740?v=4","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":46141100,"node_id":"MDEwOlJlcG9zaXRvcnk0NjE0MTEwMA==","name":"mule-api","full_name":"mulesoft/mule-api","owner":{"login":"mulesoft","id":185740,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTc0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/185740?v=4","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mulesoft/mule-api","description":null,"fork":false,"url":"https://api.github.com/repos/mulesoft/mule-api","forks_url":"https://api.github.com/repos/mulesoft/mule-api/forks","keys_url":"https://api.github.com/repos/mulesoft/mule-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/mule-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/mule-api/teams","hooks_url":"https://api.github.com/repos/mulesoft/mule-api/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/mule-api/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/mule-api/events","assignees_url":"https://api.github.com/repos/mulesoft/mule-api/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/mule-api/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/mule-api/tags","blobs_url":"https://api.github.com/repos/mulesoft/mule-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/mule-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/mule-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/mule-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/mule-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/mule-api/languages","stargazers_url":"https://api.github.com/repos/mulesoft/mule-api/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/mule-api/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/mule-api/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/mule-api/subscription","commits_url":"https://api.github.com/repos/mulesoft/mule-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/mule-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/mule-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/mule-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/mule-api/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/mule-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/mule-api/merges","archive_url":"https://api.github.com/repos/mulesoft/mule-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/mule-api/downloads","issues_url":"https://api.github.com/repos/mulesoft/mule-api/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/mule-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/mule-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/mule-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/mule-api/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/mule-api/releases{/id}","deployments_url":"https://api.github.com/repos/mulesoft/mule-api/deployments","created_at":"2015-11-13T18:55:59Z","updated_at":"2018-06-15T20:29:54Z","pushed_at":"2018-06-21T14:16:55Z","git_url":"git://github.com/mulesoft/mule-api.git","ssh_url":"git@github.com:mulesoft/mule-api.git","clone_url":"https://github.com/mulesoft/mule-api.git","svn_url":"https://github.com/mulesoft/mule-api","homepage":null,"size":1408,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"mulesoft:master","ref":"master","sha":"80bcfdf0407b43748dfed8cba51bfe792722f68a","user":{"login":"mulesoft","id":185740,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTc0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/185740?v=4","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":46141100,"node_id":"MDEwOlJlcG9zaXRvcnk0NjE0MTEwMA==","name":"mule-api","full_name":"mulesoft/mule-api","owner":{"login":"mulesoft","id":185740,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTc0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/185740?v=4","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mulesoft/mule-api","description":null,"fork":false,"url":"https://api.github.com/repos/mulesoft/mule-api","forks_url":"https://api.github.com/repos/mulesoft/mule-api/forks","keys_url":"https://api.github.com/repos/mulesoft/mule-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/mule-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/mule-api/teams","hooks_url":"https://api.github.com/repos/mulesoft/mule-api/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/mule-api/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/mule-api/events","assignees_url":"https://api.github.com/repos/mulesoft/mule-api/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/mule-api/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/mule-api/tags","blobs_url":"https://api.github.com/repos/mulesoft/mule-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/mule-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/mule-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/mule-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/mule-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/mule-api/languages","stargazers_url":"https://api.github.com/repos/mulesoft/mule-api/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/mule-api/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/mule-api/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/mule-api/subscription","commits_url":"https://api.github.com/repos/mulesoft/mule-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/mule-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/mule-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/mule-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/mule-api/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/mule-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/mule-api/merges","archive_url":"https://api.github.com/repos/mulesoft/mule-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/mule-api/downloads","issues_url":"https://api.github.com/repos/mulesoft/mule-api/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/mule-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/mule-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/mule-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/mule-api/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/mule-api/releases{/id}","deployments_url":"https://api.github.com/repos/mulesoft/mule-api/deployments","created_at":"2015-11-13T18:55:59Z","updated_at":"2018-06-15T20:29:54Z","pushed_at":"2018-06-21T14:16:55Z","git_url":"git://github.com/mulesoft/mule-api.git","ssh_url":"git@github.com:mulesoft/mule-api.git","clone_url":"https://github.com/mulesoft/mule-api.git","svn_url":"https://github.com/mulesoft/mule-api","homepage":null,"size":1408,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mulesoft/mule-api/pulls/489"},"html":{"href":"https://github.com/mulesoft/mule-api/pull/489"},"issue":{"href":"https://api.github.com/repos/mulesoft/mule-api/issues/489"},"comments":{"href":"https://api.github.com/repos/mulesoft/mule-api/issues/489/comments"},"review_comments":{"href":"https://api.github.com/repos/mulesoft/mule-api/pulls/489/comments"},"review_comment":{"href":"https://api.github.com/repos/mulesoft/mule-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mulesoft/mule-api/pulls/489/commits"},"statuses":{"href":"https://api.github.com/repos/mulesoft/mule-api/statuses/4ae86475e3737a6295ba4bcded4606552b478edd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"alegmarra"}}