chriseldredge / vulcan

Continuous Integration server
GNU General Public License v2.0
0 stars 1 forks source link

Endpoint for Google Code web hook #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/support/wiki/PostCommitWebHooks

Google Code can send a request when a commit happens, and Vulcan could rebuild 
the project when it receives such a request.

The endpoint should be unprotected in web.xml because Google Code signs the 
request body but does not support JEE compatible authentication measures.

The endpoint should validate the md5 hmac is valid before allowing the request.

Original issue reported on code.google.com by chris.eldredge@gmail.com on 21 Nov 2010 at 3:52

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 706f60ccc0.

Adding SignedRequestAuthorizationFilter and an url rewrite rule to allow Google 
Code or other web hooks to kick off a build.

Original comment by chris.eldredge@gmail.com on 29 Dec 2010 at 7:22

GoogleCodeExporter commented 9 years ago
This issue was updated by revision c34888ba08.

Use SecretKeySpec instead of generating a key.

Original comment by chris.eldredge@gmail.com on 29 Dec 2010 at 7:22

GoogleCodeExporter commented 9 years ago
This issue was updated by revision fa29ca9b7e.

When no user principal is already set on request and request parameter 
specifies a principal, override null principal with specified one.

Original comment by chris.eldredge@gmail.com on 29 Dec 2010 at 8:44

GoogleCodeExporter commented 9 years ago
Added wiki page GoogleCodeCommitHook.

Original comment by chris.eldredge@gmail.com on 29 Dec 2010 at 9:06