{"id":25407683,"url":"https://github.com/azure-samples/spring-petclinic-rest-angular-containers","last_synced_at":"2026-04-05T22:35:58.394Z","repository":{"id":277206975,"uuid":"928591397","full_name":"Azure-Samples/spring-petclinic-rest-angular-containers","owner":"Azure-Samples","description":"Deploy Spring REST API to Azure","archived":false,"fork":false,"pushed_at":"2025-02-12T20:25:08.000Z","size":700,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-13T11:55:18.536Z","etag":null,"topics":["angular","angularjs","appinsights","azure","azurecli","containers","java","kubernetes","paketo-buildpack","rest-api","spring","spring-boot"],"latest_commit_sha":null,"homepage":"https://aka.ms/spring-rest-api","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure-Samples.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-06T22:12:24.000Z","updated_at":"2025-02-12T20:25:11.000Z","dependencies_parsed_at":"2025-02-12T18:36:24.840Z","dependency_job_id":"11631191-94ee-42a5-a05c-8076e3fb62e7","html_url":"https://github.com/Azure-Samples/spring-petclinic-rest-angular-containers","commit_stats":null,"previous_names":["azure-samples/spring-petclinic-rest-angular-containers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fspring-petclinic-rest-angular-containers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fspring-petclinic-rest-angular-containers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fspring-petclinic-rest-angular-containers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fspring-petclinic-rest-angular-containers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure-Samples","download_url":"https://codeload.github.com/Azure-Samples/spring-petclinic-rest-angular-containers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710444,"owners_count":21149188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angularjs","appinsights","azure","azurecli","containers","java","kubernetes","paketo-buildpack","rest-api","spring","spring-boot"],"created_at":"2025-02-16T07:17:56.201Z","updated_at":"2026-04-05T22:35:58.333Z","avatar_url":"https://github.com/Azure-Samples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis project illustrates how to deploy the Spring Pet Clinic Angular application\nand Spring Pet Clinic Spring Boot REST application to the Azure container runtime\nof your choice.\n\n## Getting Started\n\n### Prerequisites\n\n1. WSL2 / Linux / macOS / Cloud Shell / GitHub Codespaces\n1. Java 21\n1. Maven\n\n### Installation\n\nTo get started, we need to apply the necessary patches to the Spring Pet Clinic \nsubmodules by patching their sources so you can easily deploy them to the container\nruntime of your choice. To do so, use the command line below:\n\n```shell\n  git apply containers.patch\n```\n\nThe `containers.patch` file contains the necessary changes to configure the Spring Pet Clinic Angular application and Spring Pet Clinic Spring Boot REST application for deployment to various Azure container runtimes. This includes:\n\n#### Angular App - Configuration Changes\n\n- **.gitignore**: Updates to exclude build directories such as `node/` and `target/`.\n- **angular.json**: Modifications to add new build configurations for local and ACA environments.\n- **pom.xml**: Addition of a Maven POM file in the Angular project to support Maven builds and Docker image creation using Paketo buildpacks.\n- **environment.aca.ts**: New environment configuration file for ACA deployments.\n- **environment.local.ts**: New environment configuration file for local deployments.\n\n#### Spring Boot REST - Configuration Changes\n\n- **pom.xml**: Updates to include a Docker build profile using the `exec-maven-plugin` for building Docker images with Paketo buildpacks.\n- **type**: Addition of a Paketo bindings type file that enables Azure Application Insights.\n\n### Container runtime\n\nPick your desired container runtime below:\n\n1. [Azure Container Apps](ACA.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazure-samples%2Fspring-petclinic-rest-angular-containers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazure-samples%2Fspring-petclinic-rest-angular-containers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazure-samples%2Fspring-petclinic-rest-angular-containers/lists"}