Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.72 KB

File metadata and controls

42 lines (31 loc) · 1.72 KB

gae-java-proxy

Simple Java implementation of an HTTP proxy, prepared for deploying to Google App Engine.

I tried to make as simple as it gets. It has no dependencies, except for https://github.com/kevinsawicki/http-request, which I copied directly into the project.

Classes

Install

And you are good to go.

Story

Most of our mobile apps use App Engine as a backend service. One of our iOS contractors submitted one the apps to Apple's approval, but it was connected to the test server (#facepalm). Unfortunately nobody noticed this tragic error until it was out.

With no other options left, I created this proxy and saved our bottocks. And one day, it may save yours.

Usage

Use it to tunnel traffic from one of your App Engine web applications to another. It might also help you when migrating from AppEngine to another platform. It will 100% work on stateless API calls. Replacing whole website might be tricky, unless your website uses only relative links.

TODO

  • automated testing
  • test against Cloud Endpoints