{"action":"opened","number":1883,"pull_request":{"url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/1883","id":54396691,"html_url":"https://github.com/SalesforceFoundation/Cumulus/pull/1883","diff_url":"https://github.com/SalesforceFoundation/Cumulus/pull/1883.diff","patch_url":"https://github.com/SalesforceFoundation/Cumulus/pull/1883.patch","issue_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/1883","number":1883,"state":"open","locked":false,"title":"Feature/invocable naming","user":{"login":"cdcarter","id":164,"avatar_url":"https://avatars.githubusercontent.com/u/164?v=3","gravatar_id":"","url":"https://api.github.com/users/cdcarter","html_url":"https://github.com/cdcarter","followers_url":"https://api.github.com/users/cdcarter/followers","following_url":"https://api.github.com/users/cdcarter/following{/other_user}","gists_url":"https://api.github.com/users/cdcarter/gists{/gist_id}","starred_url":"https://api.github.com/users/cdcarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdcarter/subscriptions","organizations_url":"https://api.github.com/users/cdcarter/orgs","repos_url":"https://api.github.com/users/cdcarter/repos","events_url":"https://api.github.com/users/cdcarter/events{/privacy}","received_events_url":"https://api.github.com/users/cdcarter/received_events","type":"User","site_admin":false},"body":"This is closing out the last two PRs for a combined \"invocable naming\" feature.\r\n\r\nThese global classes use the _Action suffix instead of _API to stay consistent with SFDC docs and examples regarding Invocable Methods. \r\n\r\nThough labels DIDN'T get weird this time around, some how my setup clobbered the whitespace around HH_HouseholdNaming_TEST. Not sure what that is about, but at least it's mergeable.\r\n\r\nThe test class is getting repetitive, and if you don't want to merge the tests as is, I would understand that. The class is just a minor wrapper around the tested code, so the test method provided is purely for coverage reasons. As more global interfaces to NPSP functionality are created, I'd love some guidance on what replication in tests is a-ok/what should be split out a little bit/where real love is needed.\r\n\r\n# Contribution Info\r\n\r\nThis external contribution was submitted by @cdcarter and Fixes #1837 and #864.\r\n\r\n# Changes\r\n\r\n* Adds a global @InvocableMethod class OPP_OpportunityNaming_Action to provide a method to force opportunity renaming programmatically (via Apex, Flow, or PB).\r\n\r\n* Adds a global @InvocableMethod class HH_HouseholdNaming_Action to provide a method to force opportunity renaming programmatically (via Apex, Flow, or PB).\r\n","created_at":"2015-12-22T17:51:08Z","updated_at":"2015-12-22T17:51:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/1883/commits","review_comments_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/1883/comments","review_comment_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/1883/comments","statuses_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/statuses/f1eac8f9b45ed530626ff26148cf3dfeff2ef1aa","head":{"label":"cdcarter:feature/invocable-naming","ref":"feature/invocable-naming","sha":"f1eac8f9b45ed530626ff26148cf3dfeff2ef1aa","user":{"login":"cdcarter","id":164,"avatar_url":"https://avatars.githubusercontent.com/u/164?v=3","gravatar_id":"","url":"https://api.github.com/users/cdcarter","html_url":"https://github.com/cdcarter","followers_url":"https://api.github.com/users/cdcarter/followers","following_url":"https://api.github.com/users/cdcarter/following{/other_user}","gists_url":"https://api.github.com/users/cdcarter/gists{/gist_id}","starred_url":"https://api.github.com/users/cdcarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdcarter/subscriptions","organizations_url":"https://api.github.com/users/cdcarter/orgs","repos_url":"https://api.github.com/users/cdcarter/repos","events_url":"https://api.github.com/users/cdcarter/events{/privacy}","received_events_url":"https://api.github.com/users/cdcarter/received_events","type":"User","site_admin":false},"repo":{"id":39534368,"name":"Cumulus","full_name":"cdcarter/Cumulus","owner":{"login":"cdcarter","id":164,"avatar_url":"https://avatars.githubusercontent.com/u/164?v=3","gravatar_id":"","url":"https://api.github.com/users/cdcarter","html_url":"https://github.com/cdcarter","followers_url":"https://api.github.com/users/cdcarter/followers","following_url":"https://api.github.com/users/cdcarter/following{/other_user}","gists_url":"https://api.github.com/users/cdcarter/gists{/gist_id}","starred_url":"https://api.github.com/users/cdcarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdcarter/subscriptions","organizations_url":"https://api.github.com/users/cdcarter/orgs","repos_url":"https://api.github.com/users/cdcarter/repos","events_url":"https://api.github.com/users/cdcarter/events{/privacy}","received_events_url":"https://api.github.com/users/cdcarter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdcarter/Cumulus","description":"The next version of the Salesforce.com Nonprofit Starter Pack","fork":true,"url":"https://api.github.com/repos/cdcarter/Cumulus","forks_url":"https://api.github.com/repos/cdcarter/Cumulus/forks","keys_url":"https://api.github.com/repos/cdcarter/Cumulus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdcarter/Cumulus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdcarter/Cumulus/teams","hooks_url":"https://api.github.com/repos/cdcarter/Cumulus/hooks","issue_events_url":"https://api.github.com/repos/cdcarter/Cumulus/issues/events{/number}","events_url":"https://api.github.com/repos/cdcarter/Cumulus/events","assignees_url":"https://api.github.com/repos/cdcarter/Cumulus/assignees{/user}","branches_url":"https://api.github.com/repos/cdcarter/Cumulus/branches{/branch}","tags_url":"https://api.github.com/repos/cdcarter/Cumulus/tags","blobs_url":"https://api.github.com/repos/cdcarter/Cumulus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdcarter/Cumulus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdcarter/Cumulus/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdcarter/Cumulus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdcarter/Cumulus/statuses/{sha}","languages_url":"https://api.github.com/repos/cdcarter/Cumulus/languages","stargazers_url":"https://api.github.com/repos/cdcarter/Cumulus/stargazers","contributors_url":"https://api.github.com/repos/cdcarter/Cumulus/contributors","subscribers_url":"https://api.github.com/repos/cdcarter/Cumulus/subscribers","subscription_url":"https://api.github.com/repos/cdcarter/Cumulus/subscription","commits_url":"https://api.github.com/repos/cdcarter/Cumulus/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdcarter/Cumulus/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdcarter/Cumulus/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdcarter/Cumulus/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdcarter/Cumulus/contents/{+path}","compare_url":"https://api.github.com/repos/cdcarter/Cumulus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdcarter/Cumulus/merges","archive_url":"https://api.github.com/repos/cdcarter/Cumulus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdcarter/Cumulus/downloads","issues_url":"https://api.github.com/repos/cdcarter/Cumulus/issues{/number}","pulls_url":"https://api.github.com/repos/cdcarter/Cumulus/pulls{/number}","milestones_url":"https://api.github.com/repos/cdcarter/Cumulus/milestones{/number}","notifications_url":"https://api.github.com/repos/cdcarter/Cumulus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdcarter/Cumulus/labels{/name}","releases_url":"https://api.github.com/repos/cdcarter/Cumulus/releases{/id}","created_at":"2015-07-22T23:02:17Z","updated_at":"2015-07-22T23:02:22Z","pushed_at":"2015-12-22T17:47:37Z","git_url":"git://github.com/cdcarter/Cumulus.git","ssh_url":"git@github.com:cdcarter/Cumulus.git","clone_url":"https://github.com/cdcarter/Cumulus.git","svn_url":"https://github.com/cdcarter/Cumulus","homepage":"http://salesforcefoundation.org/NonprofitStarterPack","size":33618,"stargazers_count":0,"watchers_count":0,"language":"Apex","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"SalesforceFoundation:dev","ref":"dev","sha":"19750c827f7a22dac47b13f16594e759e72571e3","user":{"login":"SalesforceFoundation","id":972305,"avatar_url":"https://avatars.githubusercontent.com/u/972305?v=3","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":13108586,"name":"Cumulus","full_name":"SalesforceFoundation/Cumulus","owner":{"login":"SalesforceFoundation","id":972305,"avatar_url":"https://avatars.githubusercontent.com/u/972305?v=3","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SalesforceFoundation/Cumulus","description":"The current version of the Salesforce.org Nonprofit Starter Pack","fork":false,"url":"https://api.github.com/repos/SalesforceFoundation/Cumulus","forks_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/forks","keys_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/teams","hooks_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/hooks","issue_events_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/events{/number}","events_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/events","assignees_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/assignees{/user}","branches_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/branches{/branch}","tags_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/tags","blobs_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/git/refs{/sha}","trees_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/statuses/{sha}","languages_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/languages","stargazers_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/stargazers","contributors_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/contributors","subscribers_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/subscribers","subscription_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/subscription","commits_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/commits{/sha}","git_commits_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/git/commits{/sha}","comments_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/comments{/number}","issue_comment_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/comments{/number}","contents_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/contents/{+path}","compare_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/merges","archive_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/downloads","issues_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues{/number}","pulls_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls{/number}","milestones_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/milestones{/number}","notifications_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/labels{/name}","releases_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/releases{/id}","created_at":"2013-09-25T23:56:49Z","updated_at":"2015-12-21T23:03:11Z","pushed_at":"2015-12-22T17:28:12Z","git_url":"git://github.com/SalesforceFoundation/Cumulus.git","ssh_url":"git@github.com:SalesforceFoundation/Cumulus.git","clone_url":"https://github.com/SalesforceFoundation/Cumulus.git","svn_url":"https://github.com/SalesforceFoundation/Cumulus","homepage":"http://www.salesforce.org/help/nonprofitstarterpack","size":34473,"stargazers_count":92,"watchers_count":92,"language":"Apex","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":86,"mirror_url":null,"open_issues_count":208,"forks":86,"open_issues":208,"watchers":92,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/1883"},"html":{"href":"https://github.com/SalesforceFoundation/Cumulus/pull/1883"},"issue":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/1883"},"comments":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/1883/comments"},"review_comments":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/1883/comments"},"review_comment":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/pulls/1883/commits"},"statuses":{"href":"https://api.github.com/repos/SalesforceFoundation/Cumulus/statuses/f1eac8f9b45ed530626ff26148cf3dfeff2ef1aa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":284,"deletions":105,"changed_files":7}}