Upgrade Spring PetClinic from AngularJS 1.6.4 to Angular 17#2
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
Co-authored-by: yortch <4576246+yortch@users.noreply.github.com>
… theme Co-authored-by: yortch <4576246+yortch@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] # Spring PetClinic Client AngularJS to Angular upgrade
Upgrade
Upgrade Spring PetClinic from AngularJS 1.6.4 to Angular 17
Aug 8, 2025
spring-petclinic-client to a recent Angular version upgrading any dependencies to ensure compatibility and avoiding known vulnerabilities
* Ensure the upgraded spring-petclinic-angular pr...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR successfully upgrades the Spring PetClinic client application from the legacy AngularJS 1.6.4 framework to modern Angular 17, addressing security vulnerabilities and providing a robust, maintainable frontend architecture.
Key Changes
Framework Upgrade
Architecture Improvements
Build Integration
frontend-maven-pluginto work with Angular CLIUI/UX Preservation
API Compatibility
/owners/listand/vetsendpointsScreenshot
The screenshot demonstrates:
Build & Run
The application can now be built and run with:
./mvnw clean install cd spring-petclinic-server ../mvnw spring-boot:runAccess the application at
http://localhost:8080Benefits
This upgrade ensures the Spring PetClinic application remains secure, maintainable, and aligned with modern web development standards while preserving the familiar user experience.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
http://registry.npmjs.org:80/npm/-/npm-6.14.12.tgzREDACTED, pid is -1(http block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.