1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/harbormaster/step
William R. Otte 29436dfe37 Added 'method' field to the HTTP request build step.
Summary:
This revision adds a 'method' field to the HTTP request harbormaster build step.  This allows the user to specify GET, POST, DELETE, and PUT (limited by the underlying wrapper phabricator uses for HTTP requests).  I'm not sure how much sense PUT makes, but oh well.

Existing plans shouldn't break, as if this field is an empty string, we default to POST, which is the old behavior.

Fixes T4604

Test Plan: 1) Verified that the empty string does, in fact, issue a POST request.  Changed the method to be GET and observed that the problem described in T4604 is resolved.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: aran, epriestley

Maniphest Tasks: T4604

Differential Revision: https://secure.phabricator.com/D8520
2014-03-13 15:51:05 -07:00
..
BuildStepImplementation.php Implement "Wait for Previous Builds" build step 2013-12-10 11:02:34 +11:00
CommandBuildStepImplementation.php Improve several exception behaviors for Harbormaster workers 2014-01-13 12:21:49 -08:00
HarbormasterHTTPRequestBuildStepImplementation.php Added 'method' field to the HTTP request build step. 2014-03-13 15:51:05 -07:00
HarbormasterThrowExceptionBuildStep.php Improve several exception behaviors for Harbormaster workers 2014-01-13 12:21:49 -08:00
LeaseHostBuildStepImplementation.php Make Drydock more broadly aware of policies 2013-12-27 13:15:19 -08:00
PublishFragmentBuildStepImplementation.php Implement step for publishing files as fragments to Phragment in Harbormaster 2013-12-09 09:34:09 +11:00
SleepBuildStepImplementation.php Introduce HarbormasterBuildTarget to snapshot build steps through a build 2013-12-05 12:01:12 +11:00
UploadArtifactBuildStepImplementation.php Implement step for publishing files as fragments to Phragment in Harbormaster 2013-12-09 09:34:09 +11:00
VariableBuildStepImplementation.php Migrate "Run Command" to use Drydock hosts 2013-12-05 14:06:22 +11:00
WaitForPreviousBuildStepImplementation.php Improve several exception behaviors for Harbormaster workers 2014-01-13 12:21:49 -08:00