All Projects → GoogleCloudPlatform → appengine-plugins-core

GoogleCloudPlatform / appengine-plugins-core

Licence: Apache-2.0 license
A client Java library to manage App Engine Java applications for any project that performs App Engine Java application management. For example, the Maven, Gradle and Eclipse App Engine plugins, custom user tools, etc.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to appengine-plugins-core

asdf-gcloud
☁️ GCloud CLI (Google Cloud SDK) plugin for asdf version manager. Pin gcloud versions for each project!
Stars: ✭ 24 (+4.35%)
Mutual labels:  gcloud, gcloud-sdk
GAEPyPI
PyPI private package index on Google App Engine
Stars: ✭ 31 (+34.78%)
Mutual labels:  appengine, gcloud
google-cloud-utilities
Docker images and scripts to deploy to Google Cloud
Stars: ✭ 26 (+13.04%)
Mutual labels:  gcloud, gcloud-sdk
luceneappengine
This project provides a directory useful to build Lucene and Google App Engine powered applications
Stars: ✭ 16 (-30.43%)
Mutual labels:  appengine, appengine-java
spring-cloud-gcp-guestbook
No description or website provided.
Stars: ✭ 55 (+139.13%)
Mutual labels:  appengine, appengine-java
appengine-java-standard
Google App Engine Standard Java runtime: Prod runtime, local devappserver, Cloud SDK Java components, GAE APIs, and GAE API emulators.
Stars: ✭ 141 (+513.04%)
Mutual labels:  appengine, appengine-java
flem
Flem is a local emulator for the App Engine Flexible Environment.
Stars: ✭ 20 (-13.04%)
Mutual labels:  appengine
gcloud-deploy-tutorial
How to continuously deploy a Full Stack React +Node.js +MySql App to Google Cloud Compute Engine
Stars: ✭ 19 (-17.39%)
Mutual labels:  gcloud
gcloud-kubectl-helm
Docker image for the quaternity of gcloud, helm, kubectl and SOPS
Stars: ✭ 32 (+39.13%)
Mutual labels:  gcloud
go-firebase
AppEngine friendly Firebase for Go (Golang)
Stars: ✭ 26 (+13.04%)
Mutual labels:  appengine
viur-vi
Visual administration interface for ViUR as web-app, with the ability to generate its input masks and data structures automatically from the underlying data model.
Stars: ✭ 18 (-21.74%)
Mutual labels:  appengine
Tweet-2-RSS
Convert your Twitter API requests to RSS Feeds
Stars: ✭ 14 (-39.13%)
Mutual labels:  appengine
GuideApp
👍 [Android] [Google App Engine] Application that displays the cities services. (Restaurants, hotels, attractions, etc.)
Stars: ✭ 19 (-17.39%)
Mutual labels:  appengine
Processor
Ontology-driven Linked Data processor and server for SPARQL backends. Apache License.
Stars: ✭ 54 (+134.78%)
Mutual labels:  appengine
Serverless-Django
Learn to build and deploy a Serverless Django application to Google Cloud Run with Cloud SQL, Cloud Build, & Docker.
Stars: ✭ 39 (+69.57%)
Mutual labels:  gcloud
Online Travel Reservation
A replica of online travel booking site KAYAK(www.kayak.com) for cmpe-273. Visit ->
Stars: ✭ 37 (+60.87%)
Mutual labels:  gcloud
aelog
App Engine Logger
Stars: ✭ 24 (+4.35%)
Mutual labels:  appengine
rules appengine
AppEngine rules for Bazel
Stars: ✭ 28 (+21.74%)
Mutual labels:  appengine-sdk
ud859
Udacity course ud859 with Go
Stars: ✭ 18 (-21.74%)
Mutual labels:  appengine
old-djangae-scaffold
Barebones Djangae application for those who want to hit the ground running!
Stars: ✭ 82 (+256.52%)
Mutual labels:  appengine

experimental

Google App Engine Plugins Core Library

IMPORTANT: This library is used by Google internal plugin development teams to share App Engine related code. Its use for any other purpose is highly discouraged and unsupported. Visit our App Engine documentation for more information on Google supported clients for App Engine administration.

Requirements

This library requires Java 1.8 or higher to run. This library requires Maven and Java 1.8 or higher to build.

You must also install the Cloud SDK command line interface (gcloud). If it isn't installed yet, follow these instructions.

You must also install the app-engine-java component:

gcloud components install app-engine-java

Supported operations

The library implements the following operations:

  • Deploy an application to standard or flexible environment
  • Stage an application for deployment
  • Run an application on the local server synchronously or asynchronously

How to use

Build the library using the "mvn clean install" command at the repository root directory, where the pom.xml file is located. This produces the appengine-plugins-core-version-SNAPSHOT.jar file in the "target" directory that you can add to your application's class path.

To deploy a new version, a client calls the library in the following way:

// All operations require the cloud SDK
CloudSdk cloudSdk = new CloudSdk.Builder().sdkPath(some-path).javaHome(some-java-home).build();


// Operations that use gcloud command line are initiated by the Gcloud object.
Gcloud gcloud = Gcloud.builder(sdk).setMetricsEnvironment("asdf","12").setCredentialFile(some-file).build()

// Similarly for AppCfg and the DevAppServer
AppCfg appcfg = AppCfg.builder(sdk).build()
DevServers localRun = DevServers.builder(sdk).build()

// Operations are started as processes, access to these processes is handled
// by implementations of ProcessHandler. To continue to interface with processes
// as before, use LegacyProcessHandler.
ProcessHandler handler = LegacyProcessHandler.builder()...configureHandler...build();
gcloud.newDeployment(handler).deploy(myDeployConfiguration);

SDK Manager

This library provides a mechanism for installing, adding components to, and updating the Cloud SDK. The operations are intended to run asynchronously, either on an executor or through mechanisms provided by an IDE.

// Create a new Managed SDK instance
ManagedCloudSdk sdk = ManagedCloudSdk.newManagedSdk("123.123.123") // SDK fixed at version.
ManagedCloudSdk sdk = ManagedCloudSdk.newManagedSdk() // 'LATEST' sdk, can be updated.

// Implement the listener interface to listen to operation output
MessageListener listener = new MessageListener() {...};

// Always check if operations are needed before running them
if (!sdk.isInstalled()) {
  sdk.newInstaller().install(listener);
}

// use SdkComponent to reference a Cloud Sdk component
if (!sdk.hasComponent(SdkComponent.APP_ENGINE_JAVA)) {
  sdk.newComponentInstaller().installComponent(SdkComponent.APP_ENGINE_JAVA, listener);
}

// updates will only occur on 'LATEST' sdks
if (!sdk.isUpToDate) {
  sdk.newUpdater().update(listener);
}

// You can then create an SDK from a managed SDK instance
new CloudSdk.Builder().sdkPath(sdk.getSdkHome())...;
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].