diff --git a/.github/ci/prefetch-images.sh b/.github/ci/prefetch-images.sh index 49ef688663..0f83567d9b 100755 --- a/.github/ci/prefetch-images.sh +++ b/.github/ci/prefetch-images.sh @@ -165,7 +165,7 @@ starts CodeArtifactPypiDockerIntegrationTest && codeartifact_image pypi-image # RDS's engine fixture starts MySQL at the default and explicitly requested versions. # Read both sources rather than duplicating their version pins here. if starts RdsParameterGroupEngineIntegrationTest; then - MYSQL_DEFAULT="$(grep -oE 'DEFAULT_MYSQL_IMAGE *= *"[^"]+"' src/main/java/io/github/hectorvent/floci/config/EmulatorConfig.java | grep -oE '"[^"]+"' | tr -d '"')" + MYSQL_DEFAULT="$(grep -oE 'DEFAULT_MYSQL_IMAGE *= *"[^"]+"' src/main/java/io/floci/aws/config/EmulatorConfig.java | grep -oE '"[^"]+"' | tr -d '"')" [ -n "$MYSQL_DEFAULT" ] && pull "$MYSQL_DEFAULT" MYSQL_TEST="$(find src/test/java -name RdsParameterGroupEngineIntegrationTest.java -print -quit)" MYSQL_VERSIONS="$(awk -F'"' '$2 == "EngineVersion" { print $4 }' "${MYSQL_TEST:-/dev/null}" | sort -u)" diff --git a/AGENTS.md b/AGENTS.md index 7071571cfe..055f142b40 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -71,11 +71,11 @@ Floci follows a layered design: ## Package Layout -- `io.github.hectorvent.floci.config` -- `io.github.hectorvent.floci.core.common` -- `io.github.hectorvent.floci.core.storage` -- `io.github.hectorvent.floci.lifecycle` -- `io.github.hectorvent.floci.services.` +- `io.floci.aws.config` +- `io.floci.aws.core.common` +- `io.floci.aws.core.storage` +- `io.floci.aws.lifecycle` +- `io.floci.aws.services.` Typical service structure: @@ -468,7 +468,7 @@ not a precedent. - JBoss Logging, in a field named `LOG`, using the parameterized `...v()` form. No string concatenation in log calls. - No `printStackTrace`, anywhere. No `System.out` or `System.err` in `src/main`; the - one exception is the CLI entry point `io.github.hectorvent.floci.tools.ami.AmiImageTool`, + one exception is the CLI entry point `io.floci.aws.tools.ami.AmiImageTool`, where stdout is the program's output. A few tests print a failure repro just before failing, which is the only good reason to print from a test: an assertion message usually says it better. diff --git a/compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftRelationalSpectrumTest.java b/compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftRelationalSpectrumTest.java similarity index 99% rename from compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftRelationalSpectrumTest.java rename to compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftRelationalSpectrumTest.java index e47658e153..e559ecc2cb 100644 --- a/compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftRelationalSpectrumTest.java +++ b/compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftRelationalSpectrumTest.java @@ -1,4 +1,4 @@ -package io.github.hectorvent.floci.compat; +package io.floci.aws.compat; import com.floci.test.TestFixtures; import org.junit.jupiter.api.DisplayName; diff --git a/compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftSpectrumTest.java b/compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftSpectrumTest.java similarity index 99% rename from compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftSpectrumTest.java rename to compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftSpectrumTest.java index 8690b8c83f..aa17d72576 100644 --- a/compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftSpectrumTest.java +++ b/compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftSpectrumTest.java @@ -1,4 +1,4 @@ -package io.github.hectorvent.floci.compat; +package io.floci.aws.compat; import com.floci.test.TestFixtures; import org.junit.jupiter.api.DisplayName; diff --git a/compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftTest.java b/compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftTest.java similarity index 99% rename from compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftTest.java rename to compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftTest.java index 759122ac59..34a117006f 100644 --- a/compatibility-tests/sdk-test-java/src/test/java/io/github/hectorvent/floci/compat/RedshiftTest.java +++ b/compatibility-tests/sdk-test-java/src/test/java/io/floci/aws/compat/RedshiftTest.java @@ -1,4 +1,4 @@ -package io.github.hectorvent.floci.compat; +package io.floci.aws.compat; import com.floci.test.TestFixtures; import org.junit.jupiter.api.MethodOrderer; diff --git a/docs/configuration/advanced/application-yml.md b/docs/configuration/advanced/application-yml.md index aa97f7a8fb..5b63adeb79 100644 --- a/docs/configuration/advanced/application-yml.md +++ b/docs/configuration/advanced/application-yml.md @@ -417,10 +417,10 @@ Floci ships with `quarkus.log.min-level: TRACE`, so raising a single category to ```bash # SQS: log SendMessage/ReceiveMessage/DeleteMessage bodies and attributes -QUARKUS_LOG_CATEGORY__IO_GITHUB_HECTORVENT_FLOCI_SERVICES_SQS__LEVEL=TRACE +QUARKUS_LOG_CATEGORY__IO_FLOCI_AWS_SERVICES_SQS__LEVEL=TRACE # DynamoDB: log PutItem/GetItem/UpdateItem/DeleteItem items, Query/Scan counts -QUARKUS_LOG_CATEGORY__IO_GITHUB_HECTORVENT_FLOCI_SERVICES_DYNAMODB__LEVEL=TRACE +QUARKUS_LOG_CATEGORY__IO_FLOCI_AWS_SERVICES_DYNAMODB__LEVEL=TRACE ``` **Or in `application.yml`:** @@ -429,9 +429,9 @@ QUARKUS_LOG_CATEGORY__IO_GITHUB_HECTORVENT_FLOCI_SERVICES_DYNAMODB__LEVEL=TRACE quarkus: log: category: - "io.github.hectorvent.floci.services.sqs": + "io.floci.aws.services.sqs": level: TRACE - "io.github.hectorvent.floci.services.dynamodb": + "io.floci.aws.services.dynamodb": level: TRACE ``` @@ -440,7 +440,7 @@ quarkus: ```java new GenericContainer<>("floci/floci:latest") .withExposedPorts(4566) - .withEnv("QUARKUS_LOG_CATEGORY__IO_GITHUB_HECTORVENT_FLOCI_SERVICES_SQS__LEVEL", "TRACE"); + .withEnv("QUARKUS_LOG_CATEGORY__IO_FLOCI_AWS_SERVICES_SQS__LEVEL", "TRACE"); ``` TRACE output includes the payload alongside the existing DEBUG line: diff --git a/docs/services/ec2.md b/docs/services/ec2.md index d54e3d412a..3b4bf9f215 100644 --- a/docs/services/ec2.md +++ b/docs/services/ec2.md @@ -143,23 +143,23 @@ lifecycle. The cloud-image-derived entry is a separate AMI ID and alias, so old behavior unless they choose `ami-ubuntu2404-cloud-arm64` or the `ami-ubuntu2404-cloud` alias. -The Java metadata-driven builder lives at `io.github.hectorvent.floci.tools.ami.AmiImageTool`. Its recipe is checked in at `docker/ec2/ami-images/image-build-metadata.yaml`, and generated context/provenance defaults to `target/ami-images//`. +The Java metadata-driven builder lives at `io.floci.aws.tools.ami.AmiImageTool`. Its recipe is checked in at `docker/ec2/ami-images/image-build-metadata.yaml`, and generated context/provenance defaults to `target/ami-images//`. ```bash ./mvnw -q -DskipTests compile exec:java \ - -Dexec.mainClass=io.github.hectorvent.floci.tools.ami.AmiImageTool \ + -Dexec.mainClass=io.floci.aws.tools.ami.AmiImageTool \ -Dexec.args="plan --image-id ubuntu-24.04-arm64" ./mvnw -q -DskipTests compile exec:java \ - -Dexec.mainClass=io.github.hectorvent.floci.tools.ami.AmiImageTool \ + -Dexec.mainClass=io.floci.aws.tools.ami.AmiImageTool \ -Dexec.args="generate --image-id ubuntu-24.04-arm64" ./mvnw -q -DskipTests compile exec:java \ - -Dexec.mainClass=io.github.hectorvent.floci.tools.ami.AmiImageTool \ + -Dexec.mainClass=io.floci.aws.tools.ami.AmiImageTool \ -Dexec.args="build --image-id ubuntu-24.04-arm64" ./mvnw -q -DskipTests compile exec:java \ - -Dexec.mainClass=io.github.hectorvent.floci.tools.ami.AmiImageTool \ + -Dexec.mainClass=io.floci.aws.tools.ami.AmiImageTool \ -Dexec.args="smoke --image-id ubuntu-24.04-arm64" ``` diff --git a/pom.xml b/pom.xml index d142de9d88..ee638a1ab0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.github.hectorvent + io.floci floci 2.4.0 jar @@ -763,7 +763,7 @@ 4 4 - true + true