GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Postgres & CloudSQL update for flex by lesv · Pull Request #738 · GoogleCloudPlatform/java-docs-samples

Conversation

@lesv

@lesv lesv commented Jun 29, 2017

Copy link
Copy Markdown
Contributor
  1. update cloudSql to latest plugin and make the sample a bit cleaner.
  2. add postgresql sample.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Les Vogel
Postgres & CloudSQL update for flex
dc8e24f
1. update cloudSql to latest plugin and make the sample a bit cleaner.
2. add postgresql sample.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 29, 2017
@lesv
lesv requested a review from jabubake June 29, 2017 18:20
@lesv

lesv commented Jun 29, 2017

Copy link
Copy Markdown
Contributor Author

I'm going to merge, but I'd rather the init method threw all the things I catch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lesv

lesv commented Jun 29, 2017

Copy link
Copy Markdown
Contributor Author

Well, I can't change init() to add the other types, so I'm going to keep this.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lesv
lesv merged commit 03d504c into master Jun 29, 2017
@lesv
lesv deleted the postgre-cloudsql branch June 29, 2017 18:26
jabubake
jabubake reviewed Jun 29, 2017
View reviewed changes

@jabubake jabubake left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread flexible/cloudsql/src/main/java/com/example/cloudsql/CloudSqlServlet.java
log("connecting to: " + url);
try {
Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection(url);

@jabubake jabubake Jun 29, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(optional/future) instead of DriverManager.getConnection,
connection pooling with commons-bcp : https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread flexible/postgres/src/main/appengine/app.yaml
@@ -0,0 +1,24 @@
# Copyright 2016 Google Inc.

@jabubake jabubake Jun 29, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2017

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread flexible/postgres/src/main/java/com/example/postgres/PostgresSqlServlet.java
@@ -0,0 +1,127 @@
/**
* Copyright 2016 Google Inc.

@jabubake jabubake Jun 29, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2017

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Shabirmean pushed a commit that referenced this pull request Nov 14, 2022
@galdawave
samples: added region tags (#738)
3b317cb
* Tag fix

* rerun conventional commit
@Shabirmean Shabirmean mentioned this pull request Nov 15, 2022
samples: migrate code from googleapis/java-dialogflow #7420
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@galdawave @Shabirmean
samples: added region tags (#738)
8bb5f0b
* Tag fix

* rerun conventional commit
Shabirmean pushed a commit that referenced this pull request Nov 17, 2022
@Neenu1995
chore: migrate to owlbot (#738)
edd5830
@Shabirmean Shabirmean mentioned this pull request Nov 17, 2022
samples: migrate code from googleapis/java-automl #7444
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 18, 2022
@Neenu1995 @Shabirmean
chore: migrate to owlbot (#738)
935a9f0
anguillanneuf pushed a commit that referenced this pull request Dec 5, 2022
@Neenu1995 @anguillanneuf
chore: migrate to owlbot (#738)
e7aecb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@jabubake jabubake jabubake left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@lesv @jabubake @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.