{"id":16813749,"url":"https://github.com/albertoimpl/spring-cloud-gateway-accelerator","last_synced_at":"2025-03-17T11:42:42.042Z","repository":{"id":86216923,"uuid":"602493441","full_name":"Albertoimpl/spring-cloud-gateway-accelerator","owner":"Albertoimpl","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-16T12:12:31.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T21:28:41.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Albertoimpl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2023-02-16T10:28:00.000Z","updated_at":"2023-02-16T10:30:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"7eeb1837-35cc-46d6-9612-550a4e14ef94","html_url":"https://github.com/Albertoimpl/spring-cloud-gateway-accelerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fspring-cloud-gateway-accelerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fspring-cloud-gateway-accelerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fspring-cloud-gateway-accelerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fspring-cloud-gateway-accelerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albertoimpl","download_url":"https://codeload.github.com/Albertoimpl/spring-cloud-gateway-accelerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244029586,"owners_count":20386441,"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":[],"created_at":"2024-10-13T10:27:44.916Z","updated_at":"2025-03-17T11:42:42.036Z","avatar_url":"https://github.com/Albertoimpl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Cloud Gateway for Kubernetes\n\nThis is a sample of a Java Spring app that works with Spring Cloud Gateway and the Tanzu Application Platform.\n\n## Dependencies\n\n1. [kubectl CLI](https://kubernetes.io/docs/tasks/tools/)\n2. Tanzu CLI and the apps plugin [Tanzu Application Platform](https://network.tanzu.vmware.com/products/tanzu-application-platform)\n3. A cluster with Tanzu Application Platform, and the \"Default Supply Chain\", plus its dependencies. This supply chains\n   is part of [Tanzu Application Platform](https://network.tanzu.vmware.com/products/tanzu-application-platform).\n\n## Running the sample\n\nSpring Cloud Gateway for Kubernetes is an optional component, so it has to be installed with:\n\n```bash\ntanzu package install spring-cloud-gateway --namespace tap-install --package-name spring-cloud-gateway.tanzu.vmware.com --version 1.2.6\n```\n\nWe are going to deploy a simple service that returns hello:\n\n```bash\ntanzu app workload apply -f config/workload.yaml\n```\n\nAnd create our Spring Cloud Gateway instance with a route that points to the hello-service:\n\n```bash\nkubectl apply -f gateway/\n```\n\nOn this example, we have chosen for the Gateway to create a Service with type LoadBalancer:\n```bash\nGATEWAY_LOADBALANCER_IP=$(kubectl get svc hello-gateway -o=jsonpath='{.status.loadBalancer.ingress[0].ip}')\ncurl \"${GATEWAY_LOADBALANCER_IP}/gateway/hello\"\n```\n\nShould output:\n```text\nGreetings from Spring Boot + Tanzu!%\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fspring-cloud-gateway-accelerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoimpl%2Fspring-cloud-gateway-accelerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fspring-cloud-gateway-accelerator/lists"}