chore: rename the package to io.floci.aws (#7689)

Move the Java sources from io.github.hectorvent.floci to io.floci.aws, matching io.floci.gcp, io.floci.az and io.floci.oci. Generated by tools/rename/rename_package.py apply on the base commit, with no other edits.

Logger categories and the arn.fail-on-blank-region property move to the io.floci.aws prefix. The pom groupId becomes io.floci; the artifactId stays floci.

Refs #6589

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-11-06 11:07:21 -04:00
1 parent 81ff58630e
commit 7cf443fcee
6703 files changed
+29400 -29400

No files matched your search

@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.compat;
package io.floci.aws.compat;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.compat;
package io.floci.aws.compat;
import com.fasterxml.jackson.databind.JsonNode;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.quarkus.runtime.StartupEvent;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Test;
@@ -1,9 +1,9 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.github.hectorvent.floci.services.lambda.launcher.BootstrapProcess;
import io.floci.aws.core.common.Pem;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.floci.aws.services.lambda.launcher.BootstrapProcess;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.JsonNode;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.restassured.http.ContentType;
@@ -24,9 +24,9 @@ import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import java.util.List;
import static io.github.hectorvent.floci.config.TlsTestSupport.dnsSans;
import static io.github.hectorvent.floci.services.cognito.CognitoRestAssuredUtils.cognitoJson;
import static io.github.hectorvent.floci.testing.RestAssuredJsonUtils.awsActionJson;
import static io.floci.aws.config.TlsTestSupport.dnsSans;
import static io.floci.aws.services.cognito.CognitoRestAssuredUtils.cognitoJson;
import static io.floci.aws.testing.RestAssuredJsonUtils.awsActionJson;
import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.core.common.Digests;
import io.github.hectorvent.floci.testing.SidecarContainersProfile;
import io.floci.aws.core.common.Digests;
import io.floci.aws.testing.SidecarContainersProfile;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.vertx.core.MultiMap;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
@@ -1,11 +1,11 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.sun.net.httpserver.HttpServer;
import io.github.hectorvent.floci.services.acm.CertificateGenerator.GeneratedCertificate;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.github.hectorvent.floci.services.ecr.registry.EcrRegistryManager;
import io.github.hectorvent.floci.services.ecr.registry.RegistryHttpClient;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.services.acm.CertificateGenerator.GeneratedCertificate;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.floci.aws.services.ecr.registry.EcrRegistryManager;
import io.floci.aws.services.ecr.registry.RegistryHttpClient;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.QuarkusTestProfile;
import io.quarkus.test.junit.TestProfile;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
@@ -1,8 +1,8 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.core.common.Pem;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.BasicConstraints;
import org.bouncycastle.asn1.x509.Extension;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.smallrye.config.PropertiesConfigSource;
import io.smallrye.config.SmallRyeConfig;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.smallrye.config.PropertiesConfigSource;
import io.smallrye.config.SmallRyeConfig;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
@@ -1,8 +1,8 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.iot.IotMqttWebSocketIntegrationTest;
import io.github.hectorvent.floci.testing.IotMqttTlsProfile;
import io.github.hectorvent.floci.testutil.FreePorts;
import io.floci.aws.services.iot.IotMqttWebSocketIntegrationTest;
import io.floci.aws.testing.IotMqttTlsProfile;
import io.floci.aws.testutil.FreePorts;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.vertx.core.Vertx;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.smallrye.config.PropertiesConfigSource;
import io.smallrye.config.SmallRyeConfig;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.core.common.AwsPartition;
import io.floci.aws.core.common.AwsPartition;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.quarkus.test.junit.QuarkusTest;
import jakarta.inject.Inject;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.quarkus.test.junit.QuarkusTest;
import jakarta.inject.Inject;
@@ -1,9 +1,9 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.github.hectorvent.floci.testing.SidecarContainersProfile;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.floci.aws.testing.SidecarContainersProfile;
import io.quarkus.test.junit.QuarkusTestProfile;
import java.io.IOException;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.CertificateGenerator;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.quarkus.runtime.StartupEvent;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,10 +1,10 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.hectorvent.floci.core.common.AwsRegions;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.core.common.AwsRegions;
import io.floci.aws.core.common.Pem;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.GeneralName;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
@@ -1,9 +1,9 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.core.common.Pem;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.quarkus.tls.CertificateUpdatedEvent;
import io.quarkus.tls.TlsConfiguration;
import io.quarkus.tls.TlsConfigurationRegistry;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.bouncycastle.asn1.x509.GeneralName;
import org.junit.jupiter.api.Test;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.quarkus.tls.CertificateUpdatedEvent;
import org.junit.jupiter.api.Test;
import org.mockito.ArgumentCaptor;
@@ -21,7 +21,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import static io.github.hectorvent.floci.testing.InlineMocks.inlineSpy;
import static io.floci.aws.testing.InlineMocks.inlineSpy;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.smallrye.config.PropertiesConfigSource;
import io.smallrye.config.SmallRyeConfig;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.floci.aws.core.common.Pem;
import io.floci.aws.services.acm.CertificateGenerator;
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.Extension;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
@@ -1,9 +1,9 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.core.common.Pem;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.junit.jupiter.api.AfterEach;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.AfterEach;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.AfterEach;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
@@ -18,8 +18,8 @@ import java.security.cert.X509Certificate;
import java.util.List;
import java.util.Set;
import static io.github.hectorvent.floci.config.TlsTestSupport.dnsSans;
import static io.github.hectorvent.floci.config.TlsTestSupport.trustOnlyTheCa;
import static io.floci.aws.config.TlsTestSupport.dnsSans;
import static io.floci.aws.config.TlsTestSupport.trustOnlyTheCa;
import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -1,14 +1,14 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.cloudfront.CloudFrontService;
import io.github.hectorvent.floci.services.cloudfront.model.DefaultCacheBehavior;
import io.github.hectorvent.floci.services.cloudfront.model.Distribution;
import io.github.hectorvent.floci.services.cloudfront.model.DistributionConfig;
import io.github.hectorvent.floci.services.cloudfront.model.KeyGroup;
import io.github.hectorvent.floci.services.cloudfront.model.Origin;
import io.github.hectorvent.floci.services.cloudfront.model.PublicKey;
import io.github.hectorvent.floci.services.s3.S3Service;
import io.github.hectorvent.floci.testing.PartitionCleanup;
import io.floci.aws.services.cloudfront.CloudFrontService;
import io.floci.aws.services.cloudfront.model.DefaultCacheBehavior;
import io.floci.aws.services.cloudfront.model.Distribution;
import io.floci.aws.services.cloudfront.model.DistributionConfig;
import io.floci.aws.services.cloudfront.model.KeyGroup;
import io.floci.aws.services.cloudfront.model.Origin;
import io.floci.aws.services.cloudfront.model.PublicKey;
import io.floci.aws.services.s3.S3Service;
import io.floci.aws.testing.PartitionCleanup;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.restassured.http.ContentType;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.QuarkusTestProfile;
import io.quarkus.test.junit.TestProfile;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.QuarkusTestProfile;
import io.quarkus.test.junit.TestProfile;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.smallrye.config.EnvConfigSource;
import io.smallrye.config.PropertiesConfigSource;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.testutil.FreePorts;
import io.floci.aws.testutil.FreePorts;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.vertx.core.Vertx;
@@ -25,8 +25,8 @@ import java.util.Set;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import static io.github.hectorvent.floci.config.TlsTestSupport.dnsSans;
import static io.github.hectorvent.floci.config.TlsTestSupport.trustOnlyTheCa;
import static io.floci.aws.config.TlsTestSupport.dnsSans;
import static io.floci.aws.config.TlsTestSupport.trustOnlyTheCa;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.vertx.core.Future;
import io.vertx.core.Promise;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.testutil.FreePorts;
import io.floci.aws.testutil.FreePorts;
import io.vertx.core.Vertx;
import io.vertx.core.net.NetServer;
import org.junit.jupiter.api.AfterEach;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.testing.TlsTrust;
import io.floci.aws.testing.TlsTrust;
import javax.net.ssl.SSLContext;
import java.nio.file.Path;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.core.common.Pem;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.core.common.Pem;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.restassured.RestAssured;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.config;
package io.floci.aws.config;
import io.github.hectorvent.floci.services.acm.CertificateGenerator;
import io.github.hectorvent.floci.services.acm.model.KeyAlgorithm;
import io.floci.aws.services.acm.CertificateGenerator;
import io.floci.aws.services.acm.model.KeyAlgorithm;
import io.quarkus.test.junit.QuarkusTestProfile;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import jakarta.ws.rs.core.HttpHeaders;
import jakarta.ws.rs.core.Response;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.config.EmulatorConfig;
import io.github.hectorvent.floci.services.s3.S3Controller;
import io.floci.aws.config.EmulatorConfig;
import io.floci.aws.services.s3.S3Controller;
import jakarta.ws.rs.container.ContainerRequestContext;
import jakarta.ws.rs.container.ResourceInfo;
import jakarta.ws.rs.core.MediaType;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.response.ValidatableResponse;
import org.junit.jupiter.api.BeforeAll;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.PartitionMatrix;
import io.github.hectorvent.floci.testing.PartitionMatrix.PartitionCase;
import io.floci.aws.testing.PartitionMatrix;
import io.floci.aws.testing.PartitionMatrix.PartitionCase;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
@@ -183,7 +183,7 @@ class AwsArnUtilsTest {
}
@ParameterizedTest
@MethodSource("io.github.hectorvent.floci.testing.PartitionMatrix#cases")
@MethodSource("io.floci.aws.testing.PartitionMatrix#cases")
void aGlobalArnCarriesTheGivenPartitionAndNoRegion(PartitionCase partitionCase) {
AwsArnUtils.Arn arn = AwsArnUtils.Arn.global(partitionCase.partition(), "iam", "000000000000", "role/r");
assertEquals("arn:" + partitionCase.partition() + ":iam::000000000000:role/r", arn.toString());
@@ -191,7 +191,7 @@ class AwsArnUtilsTest {
}
@ParameterizedTest
@MethodSource("io.github.hectorvent.floci.testing.PartitionMatrix#cases")
@MethodSource("io.floci.aws.testing.PartitionMatrix#cases")
void resourceIfArnForYieldsTheResourceTailInEveryPartition(PartitionCase partitionCase) {
String prefix = "arn:" + partitionCase.partition() + ":s3:::";
assertEquals("bucket/key", AwsArnUtils.resourceIfArnFor(prefix + "bucket/key", "s3").orElseThrow());
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.PartitionMatrix;
import io.github.hectorvent.floci.testing.PartitionMatrix.PartitionCase;
import io.floci.aws.testing.PartitionMatrix;
import io.floci.aws.testing.PartitionMatrix.PartitionCase;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
@@ -17,7 +17,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
class AwsEndpointsTest {
@ParameterizedTest
@MethodSource("io.github.hectorvent.floci.testing.PartitionMatrix#cases")
@MethodSource("io.floci.aws.testing.PartitionMatrix#cases")
void regionalHostsCarryThePartitionSuffix(PartitionCase partitionCase) {
String region = partitionCase.region();
PartitionMatrix.assertHostIn(partitionCase, AwsEndpoints.host("ec2", region));
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,8 +1,8 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.hectorvent.floci.services.sqs.SqsJsonHandler;
import io.floci.aws.services.sqs.SqsJsonHandler;
import jakarta.ws.rs.core.HttpHeaders;
import jakarta.ws.rs.core.Response;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.PartitionMatrix;
import io.github.hectorvent.floci.testing.PartitionMatrix.PartitionCase;
import io.floci.aws.testing.PartitionMatrix;
import io.floci.aws.testing.PartitionMatrix.PartitionCase;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
@@ -38,7 +38,7 @@ class AwsPartitionsTest {
}
@ParameterizedTest
@MethodSource("io.github.hectorvent.floci.testing.PartitionMatrix#cases")
@MethodSource("io.floci.aws.testing.PartitionMatrix#cases")
void everyMatrixRegionResolvesToItsPartitionWithItsDnsSuffix(PartitionCase partitionCase) {
AwsPartition partition = AwsPartitions.forRegion(partitionCase.region()).orElseThrow();
assertEquals(partitionCase.partition(), partition.id());
@@ -1,13 +1,13 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.cbor.CBORFactory;
import io.github.hectorvent.floci.services.sqs.SqsService;
import io.github.hectorvent.floci.testing.FourWorkerThreadsProfile;
import io.github.hectorvent.floci.testing.HeldWorkerProbes;
import io.github.hectorvent.floci.testing.HeldWorkerProbes.Probe;
import io.github.hectorvent.floci.testing.HeldWorkerProbes.Scope;
import io.floci.aws.services.sqs.SqsService;
import io.floci.aws.testing.FourWorkerThreadsProfile;
import io.floci.aws.testing.HeldWorkerProbes;
import io.floci.aws.testing.HeldWorkerProbes.Probe;
import io.floci.aws.testing.HeldWorkerProbes.Scope;
import io.quarkus.test.common.http.TestHTTPResource;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
@@ -33,9 +33,9 @@ import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import static io.github.hectorvent.floci.testing.HeldWorkerProbes.SCOPES;
import static io.github.hectorvent.floci.testing.HeldWorkerProbes.served;
import static io.github.hectorvent.floci.testing.HeldWorkerProbes.signed;
import static io.floci.aws.testing.HeldWorkerProbes.SCOPES;
import static io.floci.aws.testing.HeldWorkerProbes.served;
import static io.floci.aws.testing.HeldWorkerProbes.signed;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.MainSources;
import io.floci.aws.testing.MainSources;
import org.junit.jupiter.api.Test;
import java.io.IOException;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.PartitionCleanup;
import io.floci.aws.testing.PartitionCleanup;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.response.ValidatableResponse;
import org.junit.jupiter.api.Test;
@@ -1,9 +1,9 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.EnforcementFixtures;
import io.github.hectorvent.floci.testing.IamEnforcementProfile;
import io.github.hectorvent.floci.testing.PartitionCleanup;
import io.github.hectorvent.floci.testutil.AwsRequestSigner;
import io.floci.aws.testing.EnforcementFixtures;
import io.floci.aws.testing.IamEnforcementProfile;
import io.floci.aws.testing.PartitionCleanup;
import io.floci.aws.testutil.AwsRequestSigner;
import io.quarkus.test.common.http.TestHTTPResource;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
@@ -16,7 +16,7 @@ import java.net.URI;
import java.util.Map;
import java.util.UUID;
import static io.github.hectorvent.floci.testing.EnforcementFixtures.auth;
import static io.floci.aws.testing.EnforcementFixtures.auth;
import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.equalTo;
@@ -1,7 +1,7 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.PartitionCleanup;
import io.github.hectorvent.floci.testutil.AwsRequestSigner;
import io.floci.aws.testing.PartitionCleanup;
import io.floci.aws.testutil.AwsRequestSigner;
import io.quarkus.test.common.http.TestHTTPResource;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.response.ValidatableResponse;
@@ -16,7 +16,7 @@ import java.net.URI;
import java.util.Map;
import java.util.UUID;
import static io.github.hectorvent.floci.testing.EnforcementFixtures.auth;
import static io.floci.aws.testing.EnforcementFixtures.auth;
import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.equalTo;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.services.iam.IamService;
import io.floci.aws.services.iam.IamService;
import io.quarkus.test.InjectMock;
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import jakarta.ws.rs.core.MultivaluedHashMap;
import jakarta.ws.rs.core.MultivaluedMap;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.restassured.path.xml.XmlPath;
import jakarta.ws.rs.core.Response;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.response.Response;
import org.junit.jupiter.api.BeforeAll;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import jakarta.enterprise.inject.IllegalProductException;
import jakarta.ws.rs.container.ContainerRequestContext;
@@ -6,7 +6,7 @@ import jakarta.ws.rs.container.ContainerResponseContext;
import jakarta.ws.rs.container.ResourceInfo;
import org.junit.jupiter.api.Test;
import static io.github.hectorvent.floci.testing.InlineMocks.inlineMock;
import static io.floci.aws.testing.InlineMocks.inlineMock;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,15 +1,15 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.cbor.CBORFactory;
import io.github.hectorvent.floci.services.cloudwatch.logs.CloudWatchLogsService;
import io.github.hectorvent.floci.services.cloudwatch.metrics.CloudWatchMetricsService;
import io.github.hectorvent.floci.services.s3.S3Service;
import io.github.hectorvent.floci.services.sqs.SqsService;
import io.github.hectorvent.floci.testing.PartitionCleanup;
import io.github.hectorvent.floci.testing.PartitionMatrix;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.services.cloudwatch.logs.CloudWatchLogsService;
import io.floci.aws.services.cloudwatch.metrics.CloudWatchMetricsService;
import io.floci.aws.services.s3.S3Service;
import io.floci.aws.services.sqs.SqsService;
import io.floci.aws.testing.PartitionCleanup;
import io.floci.aws.testing.PartitionMatrix;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.restassured.specification.RequestSpecification;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import jakarta.enterprise.inject.Instance;
import org.jboss.logging.Logger;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.services.iam.IamActionRegistry;
import io.floci.aws.services.iam.IamActionRegistry;
import io.quarkus.test.junit.QuarkusTest;
import jakarta.inject.Inject;
import jakarta.ws.rs.container.ContainerRequestContext;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,6 +1,6 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import io.github.hectorvent.floci.testing.RestAssuredJsonUtils;
import io.floci.aws.testing.RestAssuredJsonUtils;
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
@@ -1,4 +1,4 @@
package io.github.hectorvent.floci.core.common;
package io.floci.aws.core.common;
import org.junit.jupiter.api.Test;
Loaded 100 of 6703 files, more files were not shown because too many files have changed in this diff. Show more