Skip to content

Instantly share code, notes, and snippets.

View ramesh-lingappan's full-sized avatar
🎯
Focusing

Ramesh Lingappan ramesh-lingappan

🎯
Focusing
View GitHub Profile
@ramesh-lingappan
ramesh-lingappan / gae-modules-intellij-demo_webapp_build.gradle
Last active October 9, 2017 12:53
WebApp Module build.gradle configuration
group 'com.rameshl.demos'
version '1.0'
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
// latest App Engine Gradle tasks
@ramesh-lingappan
ramesh-lingappan / DatastoreBackupService.java
Last active May 7, 2019 08:00
Cloud Datastore Backup Helper Service
/*
* Service class to trigger datastore backup request to new Cloud Datastore Export Service
* @see <a href="https://cloud.google.com/datastore/docs/schedule-export">Scheduled Export</a>
* This class dependents on Jackson for serialization
*/
public class DatastoreBackupService {
private static final String BACKUP_ENDPOINT = "https://datastore.googleapis.com/v1/projects/%s:export";
private static final String DATASTORE_SCOPE = "https://www.googleapis.com/auth/datastore";