GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/appengine/firebase-event-proxy at master · cevin15/java-docs-samples

Expand file tree

/

firebase-event-proxy

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

firebase-event-proxy

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
gae-firebase-event-proxy
gae-firebase-event-proxy
 
 
gae-firebase-listener-python
gae-firebase-listener-python
 
 
README.md
README.md
 
 

README.md

Outline

App Engine Firebase Event Proxy

Open in Cloud Shell

Java 7 runtime support on App Engine standard was deprecated on December 13, 2017 and will be shut down entirely on January 16, 2019. It is replaced by the Java 8 Runtime Environment.

Samples for the Java 8 runtime can be found here.

An example app that illustrates how to create a Java App Engine Standard Environment app that proxies Firebase events to another App Engine app.

Java Firebase Event Proxy

Illustrates how to authenticate and subscribe to Firebase from Java App Engine.

Python App Engine Listener

Illustrates how to authenticate messages received from the proxy app.

Setup

Java Firebase Event Proxy

Firebase Secret Put your Firebase secret in the file: gae-firebase-event-proxy/src/main/webapp/firebase-secret.properties

firebaseSecret=<Your Firebase secret>
  • Billing must be enabled from Cloud console.
  • Manual scaling should turned on and configured to 1 instance in appengine-web.xml

Running locally

Java Firebase Event Proxy

cd gae-firebase-event-proxy
mvn appengine:devserver

Python App Engine Listener

cd gae-firebase-listener-python
dev_appserver .

Deploying

Java Firebase Event Proxy

cd gae-firebase-event-proxy
mvn appengine:upload

Python App Engine Listener

appcfg.py -A <your app id> -V v1 update gae-firebase-listener-python
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.