-
Notifications
You must be signed in to change notification settings - Fork 630
Convert jpa apps to use Azure Cosmos DB #187
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
Conversation
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.
Pull Request Overview
This PR adds a comprehensive instruction file for converting Spring JPA applications to use Azure Cosmos DB instead of traditional relational databases. The instruction provides a systematic, step-by-step guide covering dependency management, entity transformation, repository conversion, service layer creation, test updates, and critical runtime considerations.
Key Changes
- Adds detailed migration instructions with emphasis on authentication serialization requirements
- Provides comprehensive troubleshooting for common compilation and runtime issues
- Includes specific patterns for maintaining template compatibility during conversion
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…esome-copilot into jpa-to-cosmos-db
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.
The README does not match with what is generated with the update script.
Ensure you merge main
in and run the update script.
Thanks @aaronpowell, I've done as requested. |
Pull Request Checklist
node update-readme.js
and verified thatREADME.md
is up to date.Description
This is an instructions.md for guiding GitHub Copilot in agent mode on converting Java projects written in JPA to use Azure Cosmos DB instead. It has been tested extensively and successfully with two complex JPA projects:
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.