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

Add a separate module for spring-cloud-azure-native-reachability #33055

Conversation

saragluna
Copy link
Member

Description

The Spring AOT support was removed in #32742 because we have yet to be ready to GA the AOT support. This PR will introduce another module, the spring-cloud-azure-native-reachabitity to host the support for Spring AOT. This module won't be GA in the feature because once we are ready for the Spring AOT support, these codes will be incorporated into each module.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@ghost ghost added the azure-spring All azure-spring related issues label Jan 18, 2023
Copy link
Member Author

@saragluna saragluna left a comment

Choose a reason for hiding this comment

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

Two improvements need to address:

  • There should only be an entry for Spring readme files in the cspell.json
  • To improve the custom.security configuration for Maven and Gradle, for right now the two are not in the same folder.

sdk/spring/ci.yml Outdated Show resolved Hide resolved
Comment on lines +103 to +113
graalvmNative {
binaries {
main {
buildArgs('-Djava.security.properties=' + file("src/main/resources/custom.security").absolutePath)
}
}
}
bootRun {
systemProperty("java.security.properties", file("src/main/resources/custom.security").absolutePath)
systemProperty('spring.aot.enabled', 'true')
}
Copy link
Member Author

Choose a reason for hiding this comment

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

@moarychan could you help verify the correctness of this?

Copy link
Member

Choose a reason for hiding this comment

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

OK, will test it later.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

spring-cloud-azure-native-reachability

@saragluna saragluna merged commit 431883a into Azure:feature/spring-boot-3 Jan 18, 2023
@saragluna saragluna deleted the feature/spring-boot-3-aot-separate-module branch January 18, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants