3.4 KiB
Contributing to Floci
Thank you for your interest in contributing! Floci is a community-driven project and all contributions are welcome.
Ways to Contribute
- Bug reports — open an issue with a minimal reproduction
- Feature requests — open an issue describing the AWS behavior you need
- Pull requests — bug fixes, new service implementations, or improvements
- Compatibility tests — add cases to
../floci-compatibility-tests
Getting Started
Prerequisites
- Java 25+
- Maven 3.9+
- Docker (for integration tests that spin up Lambda/RDS/ElastiCache)
Any Java 25+ distribution will work. If you need to install it, SDKMAN is a convenient option:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 25-open
Build & Run
This project includes a Maven wrapper, so you don't need to install Maven separately:
git clone https://github.com/hectorvent/floci.git
cd floci
./mvnw quarkus:dev # hot reload on port 4566
If you prefer to use your own Maven installation (3.9+), you can use mvn instead of ./mvnw.
Run Tests
./mvnw test # all tests
./mvnw test -Dtest=SsmIntegrationTest # single class
./mvnw test -Dtest=SsmIntegrationTest#putParameter # single method
Commit Message Format
This project uses Conventional Commits — semantic-release reads these to generate the changelog and version bumps automatically.
| Prefix | When to use | Version bump |
|---|---|---|
feat: |
New AWS API action or service | minor |
fix: |
Bug fix or AWS compatibility correction | patch |
perf: |
Performance improvement | patch |
docs: |
Documentation only | none |
chore: |
Build, CI, dependencies | none |
BREAKING CHANGE: |
Footer or ! suffix — incompatible change |
major |
Examples:
feat: add SQS SendMessageBatch action
fix: correct DynamoDB QueryFilter comparison operators
feat!: change default storage mode to persistent
Architecture
See CLAUDE.md for a detailed description of the three-layer architecture (Controller → Service → Storage), the AWS wire protocol mapping, and conventions for adding new services.
Adding a New AWS Service
- Create a package under
src/main/java/.../services/<service>/ - Add a Controller (follow the correct protocol — Query, JSON 1.1, REST JSON, or REST XML)
- Add a Service (
@ApplicationScoped) and model POJOs - Register in
ServiceRegistry - Add config entries in
EmulatorConfig.javaandapplication.yml - Add integration tests in
*IntegrationTest.java
Always implement the real AWS wire protocol — never invent custom endpoints. The AWS SDK must work against Floci without modification.
Pull Request Guidelines
- Keep PRs focused — one feature or fix per PR
- Add or update tests for any changed behavior
- Ensure
./mvnw testpasses before opening the PR - Reference any related issues in the PR description
Reporting Security Issues
Please do not open public issues for security vulnerabilities. Report them privately by emailing the maintainer or using GitHub private vulnerability reporting.