Skip to content

docs(alm): add ui samples - #14459

Open
QMeng wants to merge 8 commits into
GoogleCloudPlatform:mainfrom
QMeng:alm-ui-integration
Open

docs(alm): add ui samples#14459
QMeng wants to merge 8 commits into
GoogleCloudPlatform:mainfrom
QMeng:alm-ui-integration

Conversation

@QMeng

@QMeng QMeng commented Jul 24, 2026

Copy link
Copy Markdown

Description

Fixes #

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@QMeng
QMeng requested review from a team as code owners July 24, 2026 21:41
@snippet-bot

snippet-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

Here is the summary of possible violations 😱

Details

There is a possible violation for not having product prefix.

The end of the violation section. All the stuff below is FYI purposes only.


Here is the summary of changes.

You are about to add 1 region tag.

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

@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jul 24, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a Flask-based UI example for Apigee API generation and deployment, along with its Docker configuration and static assets. Feedback highlights a critical command injection vulnerability in app.py due to unsafe shell execution of user-controlled input. Additionally, several files contain redundant or entirely commented-out code—including active_app_backup.py, app2.py, and sections within app.py and the Dockerfile—which should be removed to maintain code cleanliness.

Comment thread alm/ui-examples/app.py Outdated
Comment thread alm/ui-examples/app.py Outdated
Comment thread alm/ui-examples/Dockerfile Outdated
Comment thread alm/ui-examples/active_app_backup.py Outdated
Comment thread alm/ui-examples/app2.py Outdated
@QMeng

QMeng commented Jul 24, 2026

Copy link
Copy Markdown
Author

ALM isn't in Snippet-Bot's official product list yet, but alm_ui_sample is the correct intended tag for this product snippet.

@QMeng

QMeng commented Jul 27, 2026

Copy link
Copy Markdown
Author

Can a maintainer please add the snippet-bot:no-prefix-req label? ALM isn't registered as a product prefix yet.

@QMeng
QMeng requested a review from a team as a code owner July 27, 2026 13:12
@QMeng

QMeng commented Jul 27, 2026

Copy link
Copy Markdown
Author

@GoogleCloudPlatform/python-samples-reviewers Could someone please take a look? I've addressed the formatting, security, and license feedback from the automated bots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant