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

Update Spring Cloud Azure Support File #32400

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -23,14 +23,19 @@ def change_to_repo_root_dir():

def get_spring_cloud_version(filepath):
spring_boot_version = get_args().spring_boot_dependencies_version
spring_cloud_version = ""
spring_cloud_version = None
with open(filepath, 'r') as file:
data = json.load(file)

# Only find the Spring Cloud Version that matches the special Spring Boot version first
for entry in data:
for key in entry:
if spring_boot_version == entry[key]:
spring_cloud_version = entry["spring-cloud-version"]
break

if spring_cloud_version is not None:
break
print(spring_cloud_version)


Expand Down
16 changes: 8 additions & 8 deletions sdk/spring/spring-cloud-azure-supported-spring.json
@@ -1,17 +1,17 @@
[
{
"current" : false,
"releaseStatus" : "SNAPSHOT",
"snapshot" : true,
"supportStatus" : "TODO",
"spring-boot-version" : "3.0.0-SNAPSHOT",
"spring-cloud-version" : "2022.0.0-RC2"
},
{
"current" : true,
"releaseStatus" : "PRERELEASE",
"snapshot" : false,
"supportStatus" : "SUPPORTED",
"spring-boot-version" : "3.0.0",
"spring-cloud-version" : "2022.0.0-RC3"
},
{
"current" : false,
"releaseStatus" : "GENERAL_AVAILABILITY",
"snapshot" : false,
"supportStatus" : "END_OF_LIFE",
"spring-boot-version" : "3.0.0-RC2",
"spring-cloud-version" : "2022.0.0-RC2"
},
Expand Down