Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Bigtable-hello-j8

Open in Cloud Shell

Moves the Bigtable Hello World application to Google App Engine Standard for Java 8.

Initialize the Google Cloud SDK using:

gcloud init

gcloud auth application-default login

Then you need to Create a Cloud Bigtable Instance

Using Maven

Run Locally

mvn -Dbigtable.projectID=PROJECTID -Dbigtable.instanceID=INSTANCEID appengine:run

Deploy to App Engine Standard for Java 8

mvn -Dbigtable.projectID=PROJECTID -Dbigtable.instanceID=INSTANCEID package appengine:deploy

Run Integration Tests

mvn -Dbigtable.projectID=PROJECTID -Dbigtable.instanceID=INSTANCEID verify

Using Gradle

Run Locally

gradle -Dbigtable.projectID=PROJECTID -Dbigtable.instanceID=INSTANCEID appengineRun

Integration Tests & Deploy to App Engine Standard for Java 8

gradle -Dbigtable.projectID=PROJECTID -Dbigtable.instanceID=INSTANCEID appengineDeploy

As you add / modify the source code (src/main/java/...) it's very useful to add unit testing to (src/main/test/...). The following resources are quite useful:

When done

Cloud Bigtable Instances should be deleted when they are no longer being used as they use significant resources.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.