Skip to content
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

[AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output for webapps with Linux OS #30673

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

dfuenzalida
Copy link
Contributor

@dfuenzalida dfuenzalida commented Jan 18, 2025

Related command

az webapp list-runtimes

Description

App Service Linux uses internal variants of the JBoss EAP runtimes with a _byol suffix in their name and those should be removed from the output to avoid confusion.

Testing Guide

Running az webapp list-runtimes --os linux should not contain any entries which had _byol in their runtime name.

Before:

> az webapp list-runtimes --os linux
[
...(omitted)...
  "JBOSSEAP:8-java17",
  "JBOSSEAP:8-java11",
  "JBOSSEAP:8-java17_byol",
  "JBOSSEAP:8-java11_byol",
  "JBOSSEAP:7-java17",
  "JBOSSEAP:7-java11",
  "JBOSSEAP:7-java8",
  "JBOSSEAP:7-java17_byol",
  "JBOSSEAP:7-java11_byol",
  "JBOSSEAP:7-java8_byol",
...(omitted)...

After:

az webapp list-runtimes --os linux
[
...(omitted)...
  "JBOSSEAP:8-java17",
  "JBOSSEAP:8-java11",
  "JBOSSEAP:7-java17",
  "JBOSSEAP:7-java11",
  "JBOSSEAP:7-java8",
...(omitted)...

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

Copy link

azure-client-tools-bot-prd bot commented Jan 18, 2025

️✔️AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9

Copy link

azure-client-tools-bot-prd bot commented Jan 18, 2025

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 18, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@dfuenzalida
Copy link
Contributor Author

Pinging @jvano for review

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot labels Jan 18, 2025
@dfuenzalida dfuenzalida changed the title Remove the JBoss'_byol' entries from the output for az webapp list-runtimes --os linux Remove the JBoss'_byol' entries from the output of az webapp list-runtimes --os linux Jan 18, 2025
@dfuenzalida dfuenzalida changed the title Remove the JBoss'_byol' entries from the output of az webapp list-runtimes --os linux Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux Jan 18, 2025
@dfuenzalida dfuenzalida changed the title Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux [AppService] Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux Jan 18, 2025
@dfuenzalida dfuenzalida changed the title [AppService] Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux Jan 18, 2025
Copy link

@jvano jvano left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@zhoxing-ms zhoxing-ms changed the title [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux Jan 20, 2025
zhoxing-ms
zhoxing-ms previously approved these changes Jan 20, 2025
@zhoxing-ms
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@dfuenzalida dfuenzalida changed the title [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output of az webapp list-runtimes --os linux [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output of 'az webapp list-runtimes --os linux' Jan 21, 2025
@dfuenzalida
Copy link
Contributor Author

/azp run

Copy link

Commenter does not have sufficient privileges for PR 30673 in repo Azure/azure-cli

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 22, 2025

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@dfuenzalida
Copy link
Contributor Author

@yonzhan all checks passed except the check for Pull Request Title and Content. The error reads:

[AppService] `az webapp list-runtimes`: Remove the JBoss '_byol' entries from the output of 'az webapp list-runtimes --os linux': missing ` around az webapp list-runtimes --os linux'
                                                                                             ↑                                 ↑
[AppService] `az webapp list-runtimes`: Remove the JBoss '_byol' entries from the output of 'az webapp list-runtimes --os linux': missing ` around --os

I'm not sure what's the issue since I've tried variants in between quotes and between backquotes and seemed to have the same issue. Feel free to edit the PR's title. Thanks!

Comment on lines +4136 to +4137
# Remove the JBoss'_byol' entries from the output
runtimes = [(r, v, au) for (r, v, au) in runtimes if r is not None and not r.endswith("_byol")] # pylint: disable=line-too-long
Copy link
Contributor

Choose a reason for hiding this comment

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

May I ask if removing JBoss '_byol' entries will cause a breaking change for the customer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not a breaking change, because the feature they belong to is not live yet and these entries should not be visible to users.

@zhoxing-ms zhoxing-ms changed the title [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output of 'az webapp list-runtimes --os linux' [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output for webapp with Linux OS Jan 23, 2025
@zhoxing-ms zhoxing-ms changed the title [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output for webapp with Linux OS [AppService] az webapp list-runtimes: Remove the JBoss '_byol' entries from the output for webapps with Linux OS Jan 23, 2025
@zhoxing-ms zhoxing-ms merged commit 5d5f833 into Azure:dev Jan 24, 2025
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Web Apps az webapp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants