Skip to content

Add cloudsql gen2 managed vms sample #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 8, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix formatting and versions in managed vms cloudsql
  • Loading branch information
Shun Fan committed Jun 8, 2016
commit 067a1f2705e8db0c9503642798679f5a9935657b
2 changes: 1 addition & 1 deletion managed_vms/cloudsql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Copyright 2016 Google Inc. All Rights Reserved.
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>gcloud-maven-plugin</artifactId>
<version>2.0.9.106.v20160420</version>
<version>${maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion managed_vms/cloudsql/src/main/appengine/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ handlers:
env_variables:
SQL_REMOTE_URL: jdbc:mysql://google/YOUR-DB-NAME?cloudSqlInstance=YOUR-INSTANCE-NAME&socketFactory=com.google.cloud.sql.mysql.SocketFactory&user=USERNAME&password=PASSWORD
SQL_LOCAL_URL: jdbc:mysql://localhost/YOUR-DB-NAME?user=YOUR-USERNAME&password=PASSWORD&useSSL=false
# [END env_variables]
# [END env_variables]
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<project.oauth.version>1.19.0</project.oauth.version>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.plugin.version>2.0.9.111.v20160525</maven.plugin.version>
</properties>

<prerequisites>
Expand Down