{"action":"created","comment":{"url":"https://api.github.com/repos/mulesoft/mule/pulls/comments/78746550","id":78746550,"diff_hunk":"@@ -0,0 +1,79 @@\n+/*\n+ * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com\n+ * The software in this package is published under the terms of the CPAL v1.0\n+ * license, a copy of which has been included with this distribution in the\n+ * LICENSE.txt file.\n+ */\n+package org.mule.runtime.core.connectivity;\n+\n+import static java.lang.String.format;\n+import static java.util.Collections.emptyList;\n+import static org.mule.runtime.api.connection.ConnectionExceptionCode.UNKNOWN;\n+import static org.mule.runtime.api.connection.ConnectionValidationResult.failure;\n+import static org.mule.runtime.core.config.i18n.I18nMessageFactory.createStaticMessage;\n+import org.mule.runtime.api.connection.ConnectionValidationResult;\n+import org.mule.runtime.core.api.MuleContext;\n+import org.mule.runtime.core.api.MuleRuntimeException;\n+import org.mule.runtime.core.api.connectivity.ConnectivityTestingObjectNotFoundException;\n+import org.mule.runtime.core.api.connectivity.ConnectivityTestingService;\n+import org.mule.runtime.core.api.connectivity.ConnectivityTestingStrategy;\n+import org.mule.runtime.core.api.connectivity.UnsupportedConnectivityTestingObjectException;\n+import org.mule.runtime.core.api.context.MuleContextAware;\n+import org.mule.runtime.core.api.lifecycle.Initialisable;\n+import org.mule.runtime.core.api.lifecycle.InitialisationException;\n+import org.mule.runtime.core.api.registry.ServiceRegistry;\n+import org.mule.runtime.core.registry.SpiServiceRegistry;\n+\n+import java.util.Collection;\n+import java.util.Collections;\n+\n+import javax.inject.Inject;\n+\n+/**\n+ * {@inheritDoc}\n+ */\n+public class DefaultConnectivityTestingService implements ConnectivityTestingService, Initialisable {\n+\n+  protected static final String NO_CONNECTIVITY_TESTING_STRATEGY_FOUND =\n+      format(\"No %s instances where found\", ConnectivityTestingStrategy.class);\n+\n+  private ServiceRegistry serviceRegistry = new SpiServiceRegistry();","path":"core/src/main/java/org/mule/runtime/core/connectivity/DefaultConnectivityTestingService.java","position":40,"original_position":40,"commit_id":"87adf98bff115ea9411310f4a6d33cac7bed0f39","original_commit_id":"87adf98bff115ea9411310f4a6d33cac7bed0f39","user":{"login":"pablokraan","id":561399,"avatar_url":"https://avatars.githubusercontent.com/u/561399?v=3","gravatar_id":"","url":"https://api.github.com/users/pablokraan","html_url":"https://github.com/pablokraan","followers_url":"https://api.github.com/users/pablokraan/followers","following_url":"https://api.github.com/users/pablokraan/following{/other_user}","gists_url":"https://api.github.com/users/pablokraan/gists{/gist_id}","starred_url":"https://api.github.com/users/pablokraan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablokraan/subscriptions","organizations_url":"https://api.github.com/users/pablokraan/orgs","repos_url":"https://api.github.com/users/pablokraan/repos","events_url":"https://api.github.com/users/pablokraan/events{/privacy}","received_events_url":"https://api.github.com/users/pablokraan/received_events","type":"User","site_admin":false},"body":"final?","created_at":"2016-09-14T13:23:41Z","updated_at":"2016-09-14T13:23:41Z","html_url":"https://github.com/mulesoft/mule/pull/3293#discussion_r78746550","pull_request_url":"https://api.github.com/repos/mulesoft/mule/pulls/3293","_links":{"self":{"href":"https://api.github.com/repos/mulesoft/mule/pulls/comments/78746550"},"html":{"href":"https://github.com/mulesoft/mule/pull/3293#discussion_r78746550"},"pull_request":{"href":"https://api.github.com/repos/mulesoft/mule/pulls/3293"}}},"pull_request":{"url":"https://api.github.com/repos/mulesoft/mule/pulls/3293","id":85224350,"html_url":"https://github.com/mulesoft/mule/pull/3293","diff_url":"https://github.com/mulesoft/mule/pull/3293.diff","patch_url":"https://github.com/mulesoft/mule/pull/3293.patch","issue_url":"https://api.github.com/repos/mulesoft/mule/issues/3293","number":3293,"state":"open","locked":false,"title":"MULE-9861 - Dev tooling connectivity testing API implementation - App…","user":{"login":"pablolagreca","id":864586,"avatar_url":"https://avatars.githubusercontent.com/u/864586?v=3","gravatar_id":"","url":"https://api.github.com/users/pablolagreca","html_url":"https://github.com/pablolagreca","followers_url":"https://api.github.com/users/pablolagreca/followers","following_url":"https://api.github.com/users/pablolagreca/following{/other_user}","gists_url":"https://api.github.com/users/pablolagreca/gists{/gist_id}","starred_url":"https://api.github.com/users/pablolagreca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablolagreca/subscriptions","organizations_url":"https://api.github.com/users/pablolagreca/orgs","repos_url":"https://api.github.com/users/pablolagreca/repos","events_url":"https://api.github.com/users/pablolagreca/events{/privacy}","received_events_url":"https://api.github.com/users/pablolagreca/received_events","type":"User","site_admin":false},"body":"…lication","created_at":"2016-09-14T13:09:27Z","updated_at":"2016-09-14T13:23:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8602567a0f794ba36ae6373e558ba02dc35a7b8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mulesoft/mule/pulls/3293/commits","review_comments_url":"https://api.github.com/repos/mulesoft/mule/pulls/3293/comments","review_comment_url":"https://api.github.com/repos/mulesoft/mule/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mulesoft/mule/issues/3293/comments","statuses_url":"https://api.github.com/repos/mulesoft/mule/statuses/87adf98bff115ea9411310f4a6d33cac7bed0f39","head":{"label":"mulesoft:MULE-9861","ref":"MULE-9861","sha":"87adf98bff115ea9411310f4a6d33cac7bed0f39","user":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","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":7058562,"name":"mule","full_name":"mulesoft/mule","owner":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","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","description":"Mule Community Edition","fork":false,"url":"https://api.github.com/repos/mulesoft/mule","forks_url":"https://api.github.com/repos/mulesoft/mule/forks","keys_url":"https://api.github.com/repos/mulesoft/mule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/mule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/mule/teams","hooks_url":"https://api.github.com/repos/mulesoft/mule/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/mule/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/mule/events","assignees_url":"https://api.github.com/repos/mulesoft/mule/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/mule/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/mule/tags","blobs_url":"https://api.github.com/repos/mulesoft/mule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/mule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/mule/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/mule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/mule/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/mule/languages","stargazers_url":"https://api.github.com/repos/mulesoft/mule/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/mule/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/mule/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/mule/subscription","commits_url":"https://api.github.com/repos/mulesoft/mule/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/mule/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/mule/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/mule/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/mule/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/mule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/mule/merges","archive_url":"https://api.github.com/repos/mulesoft/mule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/mule/downloads","issues_url":"https://api.github.com/repos/mulesoft/mule/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/mule/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/mule/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/mule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/mule/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/mule/releases{/id}","deployments_url":"https://api.github.com/repos/mulesoft/mule/deployments","created_at":"2012-12-07T19:23:06Z","updated_at":"2016-09-07T08:53:41Z","pushed_at":"2016-09-14T13:09:27Z","git_url":"git://github.com/mulesoft/mule.git","ssh_url":"git@github.com:mulesoft/mule.git","clone_url":"https://github.com/mulesoft/mule.git","svn_url":"https://github.com/mulesoft/mule","homepage":null,"size":273465,"stargazers_count":366,"watchers_count":366,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":381,"mirror_url":null,"open_issues_count":19,"forks":381,"open_issues":19,"watchers":366,"default_branch":"mule-4.x"}},"base":{"label":"mulesoft:mule-4.x","ref":"mule-4.x","sha":"127412122f44773e6acfffa37e52f77b64a7a048","user":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","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":7058562,"name":"mule","full_name":"mulesoft/mule","owner":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","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","description":"Mule Community Edition","fork":false,"url":"https://api.github.com/repos/mulesoft/mule","forks_url":"https://api.github.com/repos/mulesoft/mule/forks","keys_url":"https://api.github.com/repos/mulesoft/mule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/mule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/mule/teams","hooks_url":"https://api.github.com/repos/mulesoft/mule/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/mule/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/mule/events","assignees_url":"https://api.github.com/repos/mulesoft/mule/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/mule/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/mule/tags","blobs_url":"https://api.github.com/repos/mulesoft/mule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/mule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/mule/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/mule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/mule/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/mule/languages","stargazers_url":"https://api.github.com/repos/mulesoft/mule/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/mule/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/mule/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/mule/subscription","commits_url":"https://api.github.com/repos/mulesoft/mule/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/mule/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/mule/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/mule/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/mule/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/mule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/mule/merges","archive_url":"https://api.github.com/repos/mulesoft/mule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/mule/downloads","issues_url":"https://api.github.com/repos/mulesoft/mule/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/mule/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/mule/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/mule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/mule/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/mule/releases{/id}","deployments_url":"https://api.github.com/repos/mulesoft/mule/deployments","created_at":"2012-12-07T19:23:06Z","updated_at":"2016-09-07T08:53:41Z","pushed_at":"2016-09-14T13:09:27Z","git_url":"git://github.com/mulesoft/mule.git","ssh_url":"git@github.com:mulesoft/mule.git","clone_url":"https://github.com/mulesoft/mule.git","svn_url":"https://github.com/mulesoft/mule","homepage":null,"size":273465,"stargazers_count":366,"watchers_count":366,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":381,"mirror_url":null,"open_issues_count":19,"forks":381,"open_issues":19,"watchers":366,"default_branch":"mule-4.x"}},"_links":{"self":{"href":"https://api.github.com/repos/mulesoft/mule/pulls/3293"},"html":{"href":"https://github.com/mulesoft/mule/pull/3293"},"issue":{"href":"https://api.github.com/repos/mulesoft/mule/issues/3293"},"comments":{"href":"https://api.github.com/repos/mulesoft/mule/issues/3293/comments"},"review_comments":{"href":"https://api.github.com/repos/mulesoft/mule/pulls/3293/comments"},"review_comment":{"href":"https://api.github.com/repos/mulesoft/mule/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mulesoft/mule/pulls/3293/commits"},"statuses":{"href":"https://api.github.com/repos/mulesoft/mule/statuses/87adf98bff115ea9411310f4a6d33cac7bed0f39"}}}}
{"actor":{"display_login":"pablokraan"}}