Appengine Plugins Core

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.
Alternatives To Appengine Plugins Core
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Egg18,4361,7172,0239 hours ago133September 23, 2022280mitJavaScript
🥚 Born to build better enterprise frameworks and apps with Node.js & Koa
Capacitor9,0854281,7846 hours ago273September 23, 2022231mitTypeScript
Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
Hotswapagent1,95510a month ago5June 09, 2020110gpl-2.0Java
Java unlimited redefinition of classes at runtime.
Flutter Intellij1,858
a day ago517bsd-3-clauseJava
Flutter Plugin for IntelliJ
Linuxdeployqt1,765
3 months ago189otherC++
Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Elgg1,5772042 days ago166July 04, 202273otherPHP
A social networking engine in PHP/MySQL
Awesome Vuetify1,374
8 months ago16mit
🎉 The best resources related to Vuetify
Cordova Hot Code Push9662625 years ago24May 27, 20171mitJava
[DEPRECATED] - This plugin provides functionality to perform automatic updates of the web based content in your application.
Cli83152517a day ago311April 27, 2022303iscJavaScript
Heroku CLI
Extcore756
a month ago20otherC#
Free, open source and cross-platform framework for creating modular and extendable web applications based on ASP.NET Core
Alternatives To Appengine Plugins Core
Select To Compare


Alternative Project Comparisons
Readme

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())...;
Popular Application Projects
Popular Plugin Projects
Popular Applications Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Plugin
Appengine
Asynchronously