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 — Update folder structure for flex java 8 by kappratiksha · Pull Request #7741 · GoogleCloudPlatform/java-docs-samples

Conversation

@kappratiksha

@kappratiksha kappratiksha commented Mar 14, 2023

Copy link
Copy Markdown
Contributor

We need to update the structure of flexible folder to reflect apps as per the java version. We need to copy the java8 apps under flexible/java-8.
P.S. Not deleting the files under flexible/ right now as we need to update the documentation to use the flexible/java-8/ apps. There will be a followup PR for cleanup.

Sorry, something went wrong.

Uh oh!

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

All reactions
@kappratiksha
Update folder structure for flex java 8
5e8ba43
@kappratiksha
kappratiksha requested review from a team and yoshi-approver as code owners March 14, 2023 00:22
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. labels Mar 14, 2023
@snippet-bot

snippet-bot Bot commented Mar 14, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 35 region tags.
  • flexible/java-11/springboot-helloworld/src/main/appengine/app.yaml:14, tag gae_flex_java11_yaml
  • flexible/java-17/micronaut-helloworld/src/main/appengine/app.yaml:14, tag gae_flex_java17_yaml
  • flexible/java-8/analytics/src/main/appengine/app.yaml:22, tag gae_flex_analytics_env_variables
  • flexible/java-8/analytics/src/main/java/com/example/analytics/AnalyticsServlet.java:32, tag gae_flex_analytics_track_event
  • flexible/java-8/cloudsql/pom.xml:33, tag gae_flex_mysql_properties
  • flexible/java-8/cloudsql/pom.xml:78, tag gae_flex_mysql_dependencies
  • flexible/java-8/cloudsql/pom.xml:92, tag gae_flex_mysql_resources
  • flexible/java-8/cloudsql/src/main/java/com/example/cloudsql/CloudSqlServlet.java:40, tag gae_flex_mysql_app
  • flexible/java-8/cloudsql/src/main/resources/config.properties:15, tag gae_flex_mysql_config_properties
  • flexible/java-8/cloudstorage/pom.xml:43, tag gae_flex_storage_dependencies
  • flexible/java-8/cloudstorage/pom.xml:71, tag gae_flex_storage_dependencies
  • flexible/java-8/cloudstorage/src/main/java/com/example/cloudstorage/UploadServlet.java:35, tag gae_flex_storage_app
  • flexible/java-8/datastore/pom.xml:43, tag gae_flex_datastore_config
  • flexible/java-8/datastore/pom.xml:71, tag gae_flex_datastore_config
  • flexible/java-8/datastore/src/main/java/com/example/datastore/DatastoreServlet.java:40, tag gae_flex_datastore_app
  • flexible/java-8/errorreporting/src/main/java/com/example/flexible/errorreporting/ErrorReportingExample.java:34, tag error_reporting_setup_java_appengine_flex
  • flexible/java-8/helloworld/build.gradle:14, tag gae_flex_gradle
  • flexible/java-8/helloworld/build.gradle:43, tag gae_flex_gretty
  • flexible/java-8/helloworld/build.gradle:49, tag gae_flex_model
  • flexible/java-8/helloworld/pom.xml:43, tag gae_flex_libraries_dependencies
  • flexible/java-8/helloworld/src/main/appengine/app.yaml:14, tag gae_flex_quickstart_yaml
  • flexible/java-8/helloworld/src/main/java/com/example/flexible/helloworld/HelloServlet.java:19, tag gae_flex_servlet
  • flexible/java-8/postgres/pom.xml:33, tag gae_flex_postgres_properties
  • flexible/java-8/postgres/pom.xml:78, tag gae_flex_postgres_dependencies
  • flexible/java-8/postgres/pom.xml:93, tag gae_flex_postgres_resources
  • flexible/java-8/postgres/src/main/java/com/example/postgres/PostgresSqlServlet.java:40, tag gae_flex_postgres_app
  • flexible/java-8/postgres/src/main/resources/config.properties:15, tag gae_flex_postgres_config_properties
  • flexible/java-8/pubsub/src/main/appengine/app.yaml:21, tag gae_flex_pubsub_yaml
  • flexible/java-8/pubsub/src/main/java/com/example/flexible/pubsub/PubSubPublish.java:32, tag gae_flex_pubsub_publish
  • flexible/java-8/pubsub/src/main/java/com/example/flexible/pubsub/PubSubPush.java:31, tag gae_flex_pubsub_push
  • flexible/java-8/twilio/pom.xml:44, tag gae_flex_twilio_dependencies
  • flexible/java-8/twilio/src/main/appengine/app.yaml:22, tag gae_flex_twilio_env
  • flexible/java-8/twilio/src/main/java/com/example/twilio/ReceiveCallServlet.java:29, tag gae_flex_twilio_receive_call
  • flexible/java-8/twilio/src/main/java/com/example/twilio/ReceiveSmsServlet.java:29, tag gae_flex_twilio_receive_sms
  • flexible/java-8/twilio/src/main/java/com/example/twilio/SendSmsServlet.java:35, tag gae_flex_twilio_send_sms

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

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

@blunderbuss-gcf blunderbuss-gcf Bot assigned averikitsch Mar 14, 2023
@kappratiksha
kappratiksha requested a review from jinglundong March 14, 2023 00:22
jinglundong
jinglundong approved these changes Mar 14, 2023
View reviewed changes

@jinglundong jinglundong left a comment

Copy link
Copy Markdown

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. I verified that all of the changes are under flexible/java-8. https://screenshot.googleplex.com/AhGRVYsVRPkXUAa. There's no feasible way for me to check if they are identical to the existing samples. I would assume you copied them by cp. To be super cautious, you could compare the directory size or number of files/words between the old and new copy.

Sorry, something went wrong.

Uh oh!

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

All reactions
@kappratiksha

kappratiksha commented Mar 14, 2023

Copy link
Copy Markdown
Contributor Author

LGTM. I verified that all of the changes are under flexible/java-8. https://screenshot.googleplex.com/AhGRVYsVRPkXUAa. There's no feasible way for me to check if they are identical to the existing samples. I would assume you copied them by cp. To be super cautious, you could compare the directory size or number of files/words between the old and new copy.

I used diff to check for the differences: https://screenshot.googleplex.com/7ux9TwYRfFkGySj

All reactions

Sorry, something went wrong.

Uh oh!

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

@kappratiksha
add tags for java 11 and 17
8b44893
@jinglundong

jinglundong commented Mar 14, 2023

Copy link
Copy Markdown

Great! Thanks for sharing the diff result.

All reactions

Sorry, something went wrong.

Uh oh!

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

averikitsch
averikitsch requested changes Mar 14, 2023
View reviewed changes

@averikitsch averikitsch 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.

For problematic region tags, if used in the docs please add the gae_flex_ prefix or remove them completely:

There are 7 possible violations for not having product prefix.
flexible/java-8/errorreporting/src/main/java/com/example/flexible/errorreporting/ErrorReportingExample.java:34, tag flex_error_reporting
flexible/java-8/helloworld/build.gradle:14, tag gradle
flexible/java-8/helloworld/build.gradle:43, tag gretty
flexible/java-8/helloworld/build.gradle:49, tag model
flexible/java-8/memcache/pom.xml:52, tag dependencies
flexible/java-8/memcache/src/main/appengine/app.yaml:8, tag config
flexible/java-8/memcache/src/main/java/com/example/memcache/MemcacheServlet.java:32, tag example

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread flexible/java-8/async-rest/LICENSE Resolved

Uh oh!

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

Comment thread flexible/java-8/analytics/src/main/appengine/app.yaml Resolved

Uh oh!

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

Comment thread flexible/java-8/async-rest/src/main/docker/Dockerfile Resolved

Uh oh!

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

Comment thread flexible/java-8/cloudstorage/src/main/appengine/app.yaml Resolved

Uh oh!

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

Comment thread flexible/java-8/postgres/.gitignore Resolved

Uh oh!

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

Comment thread flexible/java-8/sparkjava/jenkins.sh
# limitations under the License.

# Fail on non-zero return and print command to stdout
set -xe

@averikitsch averikitsch Mar 14, 2023

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.

Is this file needed?

Sorry, something went wrong.

Uh oh!

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

All reactions

@kappratiksha kappratiksha Mar 14, 2023

Copy link
Copy Markdown
Contributor Author

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.

I have just copied over the existing projects from the flexible/ folder to flexible/java-8 and this file was already there as a part of #538. I think it is okay to leave it as is since this repository is for samples. wdyt?

Sorry, something went wrong.

Uh oh!

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

All reactions
@kappratiksha
add copyright info and modify region tags
6493d33
@kappratiksha
kappratiksha requested a review from averikitsch March 14, 2023 20:42
@jinglundong

jinglundong commented Mar 14, 2023

Copy link
Copy Markdown

I would suggest you double check or at least notify the Docs team before changing the region tags. They might be used by the docs to locate the code blocks.

kappratiksha reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@averikitsch

averikitsch commented Mar 15, 2023

Copy link
Copy Markdown
Contributor

I would suggest you double check or at least notify the Docs team before changing the region tags. They might be used by the docs to locate the code blocks.

Since this is a copy to a new directory, this shouldn't be an issue until you delete the old duplicates.

All reactions

Sorry, something went wrong.

Uh oh!

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

averikitsch
averikitsch approved these changes Mar 15, 2023
View reviewed changes
@kappratiksha
kappratiksha merged commit 2e4b5f5 into GoogleCloudPlatform:main Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jinglundong jinglundong jinglundong approved these changes
@averikitsch averikitsch averikitsch approved these changes
@yoshi-approver yoshi-approver Awaiting requested review from yoshi-approver yoshi-approver is a code owner

Uh oh!

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

Assignees

@averikitsch averikitsch

Labels

api: appengine Issues related to the App Engine Admin API API. samples Issues that are directly related to samples.

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

@kappratiksha @jinglundong @averikitsch
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.