{"id":16178969,"url":"https://github.com/spencergibb/spring-cloud-gateway-mvc-sample","last_synced_at":"2025-03-19T01:30:52.938Z","repository":{"id":189802097,"uuid":"674382122","full_name":"spencergibb/spring-cloud-gateway-mvc-sample","owner":"spencergibb","description":"Spring Cloud Gateway MVC Sample","archived":false,"fork":false,"pushed_at":"2024-04-11T00:01:46.000Z","size":121,"stargazers_count":9,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-14T02:21:43.239Z","etag":null,"topics":["java","spring-boot","spring-cloud","spring-cloud-gateway"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spencergibb.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-08-03T20:10:01.000Z","updated_at":"2024-04-09T11:53:28.000Z","dependencies_parsed_at":"2024-10-10T05:33:03.016Z","dependency_job_id":"11d17e4b-ffa6-4cf0-8ec0-37c7afa77f1b","html_url":"https://github.com/spencergibb/spring-cloud-gateway-mvc-sample","commit_stats":null,"previous_names":["spencergibb/spring-cloud-gateway-mvc-sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-gateway-mvc-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-gateway-mvc-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-gateway-mvc-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-gateway-mvc-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spencergibb","download_url":"https://codeload.github.com/spencergibb/spring-cloud-gateway-mvc-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244336129,"owners_count":20436773,"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":["java","spring-boot","spring-cloud","spring-cloud-gateway"],"created_at":"2024-10-10T05:25:03.063Z","updated_at":"2025-03-19T01:30:52.932Z","avatar_url":"https://github.com/spencergibb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Cloud Gateway MVC Sample\n\nExamples are in their own configuration file in [src/main/java/com/example/gatewaymvcsample](https://github.com/spencergibb/spring-cloud-gateway-mvc-sample/tree/main/src/main/java/com/example/gatewaymvcsample)/`Route*.java`. The name of the class describes the predicate and/or filter being showcased.\n\nThere are also two routes, `/hello` and `/hi`, defined purely in Webmvc.fn in [`GatewayMvcApplication`](https://github.com/spencergibb/spring-cloud-gateway-mvc-sample/blob/6fb2b7964cbf50a45ea3cdca6b0148e32193516e/src/main/java/com/example/gatewaymvcsample/GatewayMvcApplication.java#L14-L30).\n\nRun [TestGatewayMvcApplication](https://github.com/spencergibb/spring-cloud-gateway-mvc-sample/blob/main/src/test/java/com/example/gatewaymvcsample/TestGatewayMvcApplication.java) which uses Testcontainers to run a local httpbin.org.\n\nEach file has some [httpie](https://httpie.io/cli) commands to run to see it in action, such as: \n\nhttps://github.com/spencergibb/spring-cloud-gateway-mvc-sample/blob/becb979eb175abe0565723320074aca997a7c118/src/main/java/com/example/gatewaymvcsample/Route1FirstRoute.java#L14\n\nor\n\nhttps://github.com/spencergibb/spring-cloud-gateway-mvc-sample/blob/4db2a6714dcd2ab24e59cfb2637e7d192af34d36/src/main/java/com/example/gatewaymvcsample/Route12Bucket4jFilter.java#L23\n\nThanks for visiting!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencergibb%2Fspring-cloud-gateway-mvc-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspencergibb%2Fspring-cloud-gateway-mvc-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencergibb%2Fspring-cloud-gateway-mvc-sample/lists"}