{"id":21674849,"url":"https://github.com/dashaun-com/com.dashaun.service.gateway","last_synced_at":"2025-05-08T23:11:09.903Z","repository":{"id":124404775,"uuid":"475433703","full_name":"dashaun-com/com.dashaun.service.gateway","owner":"dashaun-com","description":"Spring Cloud Gateway example using Testcontainers to validate GraalVM native image","archived":false,"fork":false,"pushed_at":"2023-12-03T03:16:36.000Z","size":158,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-06T20:15:47.969Z","etag":null,"topics":["graalvm-native-image","spring-boot-3-0-0","spring-cloud-gateway","testcontainers"],"latest_commit_sha":null,"homepage":"https://dashaun.com/posts/spring-cloud-gateway-4-0-0-rc2-native-example-with-testcontainers/","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/dashaun-com.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":"2022-03-29T12:31:23.000Z","updated_at":"2024-05-02T09:00:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"934ad9f6-f21d-49e9-9397-9819d09453b9","html_url":"https://github.com/dashaun-com/com.dashaun.service.gateway","commit_stats":null,"previous_names":["dashaun-com/com.dashaun.service.gateway"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun-com%2Fcom.dashaun.service.gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun-com%2Fcom.dashaun.service.gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun-com%2Fcom.dashaun.service.gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun-com%2Fcom.dashaun.service.gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashaun-com","download_url":"https://codeload.github.com/dashaun-com/com.dashaun.service.gateway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160776,"owners_count":21863630,"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":["graalvm-native-image","spring-boot-3-0-0","spring-cloud-gateway","testcontainers"],"created_at":"2024-11-25T13:49:45.798Z","updated_at":"2025-05-08T23:11:09.882Z","avatar_url":"https://github.com/dashaun-com.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![License][license-shield]][license-url]\n\n# Spring Cloud Gateway and GraalVM native image example\n\n[![arm64-native](https://circleci.com/gh/dashaun/dev.dashaun.service.gateway.svg?style=shield)](https://app.circleci.com/pipelines/github/dashaun/dev.dashaun.service.gateway) |\n[![amd64-native](https://github.com/dashaun/dev.dashaun.service.gateway/actions/workflows/amd64-native.yml/badge.svg)](https://github.com/dashaun/dev.dashaun.service.gateway/actions/workflows/amd64-native.yml)\n\n- [Spring Boot Gateway](https://spring.io/projects/spring-cloud-gateway)\n- [Spring Cloud 2022.0.1](https://spring.io/projects/spring-cloud)\n- [Spring Boot 3.0.3](https://spring.io/projects/spring-boot)\n- [Testcontainers](https://testcontainers.org)\n\n## | [Prerequisites](#prerequisites) | [Quick Start](#quick-start) | [Build Native Image](#build-native-image) | [Native Image Test](#native-image-test) | [See Also](#see-also) | [Contributing](#contributing) | [License](#license) |\n\n## Prerequisites\n\n- Java 17 or above\n- [GraalVM](https://graalvm.org) 22.3 or above\n\n## Quick Start\n\n```bash\ngit clone https://github.com/dashaun/dev.dashaun.service.gateway\ncd dev.dashaun.service.gateway\n./gradlew bootRun\n```\n\n## Build Native Image\n\n```bash\n./gradlew bootBuildImage\n```\n\n## Native Image Test\n\nUses [Testcontainers](https://testcontainers.org) to build a `native` image with [GraalVM](https://graalvm.org), and run tests against it.\n\n```bash\n./gradlew integrationTest\n```\n\n## Multi-architecture buildpack\n\nThis repository uses [dashaun/java-native-builder-multiarch:7.4.1](https://hub.docker.com/r/dashaun/java-native-builder-multiarch)\nwhich allows you to create `native` images for both AMD64 and ARM64 architectures.\nI'm trying to take the `ARM64` support upstream to [Paketo](https://paketo.io), so any feedback you have from using this buildpack, with this project or any other is greatly appreciated!\n\n## See Also\n\n- [Spring Cloud Gateway 4.0.0-rc2 native example with Testcontainers](https://dashaun.com/posts/spring-cloud-gateway-4-0-0-rc2-native-example-with-testcontainers/)\n- [Cloud Native Buildpack for ARM64 and AMD64](https://dashaun.com/posts/java-native-builder-multiarch-7-41-0/)\n- [First attempt at a multi-architecture buildpack](https://dashaun.com/posts/multiarch-builder-poc/)\n- [K3s Knative Ubuntu Raspberry Pi](https://dashaun.com/posts/k3s-knative-ubuntu-raspberry-pi/)\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\n### Release\n\n- git tag v#.#.#\n- git push origin v#.#.#\n\nPull-requests are welcomed!\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the Apache License, Version 2.0. See `LICENSE` for more information.\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[contributors-shield]: https://img.shields.io/github/contributors/dashaun/dev.dashaun.service.gateway.svg?style=for-the-badge\n[contributors-url]: https://github.com/dashaun/dev.dashaun.service.gateway/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/dashaun/dev.dashaun.service.gateway.svg?style=for-the-badge\n[forks-url]: https://github.com/dashaun/dev.dashaun.service.gateway/network/members\n[stars-shield]: https://img.shields.io/github/stars/dashaun/dev.dashaun.service.gateway.svg?style=for-the-badge\n[stars-url]: https://github.com/dashaun/dev.dashaun.service.gateway/stargazers\n[issues-shield]: https://img.shields.io/github/issues/dashaun/dev.dashaun.service.gateway.svg?style=for-the-badge\n[issues-url]: https://github.com/dashaun/dev.dashaun.service.gateway/issues\n[license-shield]: https://img.shields.io/github/license/dashaun/dev.dashaun.service.gateway.svg?style=for-the-badge\n[license-url]: https://github.com/dashaun/dev.dashaun.service.gateway/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashaun-com%2Fcom.dashaun.service.gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashaun-com%2Fcom.dashaun.service.gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashaun-com%2Fcom.dashaun.service.gateway/lists"}