mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
* feat(cloudhsmv2): implement CloudHSM v2 service * refactor(cloudhsmv2): delete HSM parameters and docs * feat(cloudhsmv2): implement AWS CloudHSM v2 service (phased) * fix: greptile bot reviews * refactor(cloudhsmv2): delete HSM parameters and docs * feat(cloudhsmv2): implement AWS CloudHSM v2 service (phased) * fix: greptile bot reviews * fix(cloudhsmv2): fix backup retention policy parsing and SDK test cert usage * fix(cloudhsmv2): fix CreateHsm IP generation, ModifyCluster validation, and duplicate test Order * docs(cloudhsmv2): add service to mkdocs, readme, and index matrices * fix(rds): preserve configured database images (#2035) * fix(cloudhsmv2): resolve remaining AWS-compatibility edge cases * feat(stepfunctions): run Map iterations concurrently honoring MaxConcurrency (#1810) * feat(stepfunctions): run Map iterations concurrently honoring MaxConcurrency A Map state ran its iterations one after another. AWS runs them concurrently up to MaxConcurrency (default 0 = unlimited), which is a correctness requirement, not just a speed-up: a Map whose iterations coordinate — e.g. a dependency-ordered fan-out where one child blocks until a sibling completes — deadlocks when the iterations are serialised. Run each iteration on the shared executor under the execution's account, gated by a Semaphore sized to MaxConcurrency (unlimited when 0). Results are written into per-index slots so the output array preserves input order regardless of completion order, MaxConcurrency=1 stays strictly sequential, and a failed iteration cancels the rest and fails the Map (fail-fast, matching the default ToleratedFailureCount of 0). * fix(stepfunctions): cap Map worker threads with a bounded pool + handle interruption Address review: submitting every iteration to the shared cached pool behind a Semaphore spawned one thread per item (a 1000-item Map with MaxConcurrency=5 created ~1000 threads, ~995 parked). Run iterations on a fixed-size per-Map ThreadPoolExecutor sized to MaxConcurrency so live threads are capped and the rest queue. shutdownNow() in finally stops the iterations on any exit, and an InterruptedException from the driver now preserves the interrupt status. * fix(stepfunctions): make Map concurrency bounded and fail-fast * docs(stepfunctions): document map concurrency * test(dynamodb): retain Quarkus port for cleanup * chore: rerun CI after OpenTofu registry flake * test(stepfunctions): pin Map item selection order * perf(lambda): reuse a populated code volume across restarts via a completion marker (#1827) * perf(lambda): reuse populated code volumes across restarts * test(dynamodb): retain Quarkus port for cleanup * chore: rerun CI after download outage * ci: retry transient gosu downloads --------- Co-authored-by: Alexander Banna <abanna@users.noreply.github.com> * fix(apigateway): apply MOCK integration response headers (#1822) * fix(apigateway): apply mock response headers for OPTIONS * refactor(apigateway): drop the OPTIONS route in favour of #1955 Both this PR and #1955 added an @OPTIONS method on the same @Path in ApiGatewayExecuteController and ApiGatewayUserRequestController, so whichever merged second would not have compiled. #1955's version is the more complete one: it covers ApiGatewayAwsExecuteController (the /_aws/execute-api path) as well, forwards the request body, and skips GlobalCorsFilter for deployed-API paths -- without which a real browser preflight is short-circuited before it ever reaches the route. This PR keeps only its own contribution: invokeMock returned early on the empty-response-template path and dropped static method.response.header.* mappings. ApiGatewayMockCorsHeadersTest now exercises that over GET, since the dropped-header bug is verb-agnostic, leaving the two PRs independently mergeable in either order. * test(dynamodb): retain Quarkus port for cleanup * chore: rerun CI after autoscaling test flake --------- Co-authored-by: abanna <abanna@users.noreply.github.com> * fix(cloudwatch): return logStreamName on FilterLogEvents results (#2259) FilterLogEvents is the cross-stream search API, so a match is only attributable if the response names the stream that emitted it. Floci served FilterLogEvents and GetLogEvents from one serializer emitting eventId, timestamp, message and ingestionTime, so a caller searching a whole log group could tell which group a hit came from but not which stream, and tooling written against real AWS lost that attribution without any error. Derive the stream from the event's storage key rather than persisting it on the event. Keys are already <region>::<group>::<stream>::<timestamp>::<uuid>, so the key is an authoritative record of the emitter for every event in the store, including ones written before this change. Storing the name on LogEvent instead would leave every already-persisted event with a null logStreamName and need a backfill pass to repair it. The stream is read back between the group prefix and the trailing timestamp and uuid, both generated here, so a stream name is recovered whole even though nothing stops a caller from creating one that holds a ':'. filterLogEvents walks the keyset once and pairs each event with its stream, which also collapses the stream-restricted branch: it previously ran one full keyset scan per requested stream, since a scan walks every key regardless of the prefix it filters on. GetLogEvents keeps its existing shape. Real AWS returns OutputLogEvent there, which carries no logStreamName, because the caller named the stream in the request. Closes #2210 * fix(ec2): start sshd even when run-instances omits a key pair (#2245) * fix(ec2): start sshd even when run-instances omits a key pair Reported in #2184: run-instances without --key-name left every container with no SSH daemon listening at all, "connection refused" regardless of image (alpine, Amazon Linux 2023, Ubuntu all affected). The cause: startSshd() only ran inside the same conditional as injectSshKey(), so no key pair meant sshd never started. Real AWS AMIs run sshd as part of normal boot regardless of whether a key pair is attached - the daemon is always there, it just has nothing to authenticate an unattached client with. Floci's behavior diverged by not running the daemon at all in that case, rather than running it and correctly having no way in. Splits the two: injectSshKey still only runs when a key was actually provided (nothing to inject otherwise), but startSshd now always runs. It's fully self-contained already (installs openssh-server if absent, generates host keys, starts the daemon) and never depended on anything injectSshKey sets up, so making it unconditional needed no other changes. Verified: new test launches an instance with no public key and asserts sshd still starts (and confirms nothing gets written to authorized_keys, since there's no key to inject). Confirmed it fails with the fix reverted (no /usr/sbin/sshd invocation happens without a key) and passes with it restored. Full ec2 package regression is green (268 tests) - including the several existing tests that already launched with no key pair and needed no changes to keep passing. * fix(ec2): stop silently claiming sshd started when it never actually did Follow-up on a comment from duytanisme on #2245: sshd not starting even when an SSH key IS provided, requiring a manual exec-in or a custom user-data script to work around it. Root cause: startSshd() ran every step through execInContainer(), which discards the exec's exit code entirely and only throws if the Docker API call itself fails. The install step's shell script is an if/elif chain with no matching branch, or whose install command itself failed (no network yet, apt lock held, etc.) - and a bash if/elif with no matching branch and no else clause exits 0 by convention. So a container without a package manager, or one where the install call failed for any reason, still reported success, ssh-keygen and sshd then both ran anyway against a daemon that was never installed, and "Started sshd in EC2 instance" got logged regardless. Switches every step to execInContainerForResult and checks its exit code explicitly, following the exact pattern already used by configureLinkLocalMetadataEndpoint for the same class of problem: bail out and log a specific warning with the actual command output at whichever step actually failed, instead of silently proceeding. Also adds an explicit "command -v sshd" as the last statement of the install script, so its own exit code is the real source of truth for whether sshd is actually available afterward, and switches the start command from a hardcoded /usr/sbin/sshd to a bare "sshd" resolved via PATH (matching how ssh-keygen is already invoked two lines above), since not every image installs it to that exact path. Verified: new test forces the install probe to fail and asserts ssh-keygen and the start command are never even attempted. Confirmed it fails (proceeds anyway) with the exit-code check disabled and passes with it restored. Updated the existing no-key-pair test for the new bare "sshd" command. Full ec2 package regression is green (269 tests). * feat(stepfunctions): add UpdateStateMachine and update in place on stack updates (#1867) * feat(stepfunctions): add UpdateStateMachine and update in place on stack updates * test(dynamodb): retain Quarkus port for cleanup * chore: rerun CI after download outage * fix(cloudformation): preserve log group on failed rename * fix(cloudformation): scope update rollback to attempted resources * fix(cloudformation): delete resources after stack updates * test(cloudformation): wire cloudfront fixture dependency * fix: include Step Functions update date in describe response * fix: preserve Step Functions describe response shape * fix: preserve generated Step Functions names * fix(s3): derive S3 host suffix matching from DNS config (#1843) * fix(s3): derive S3 host suffix matching from DNS config S3VirtualHostFilter hardcoded the wildcard-DNS suffixes (localhost.floci.io, localhost.localstack.cloud) in two places: the bare service-host check (isS3ServiceEndpointHost) and the virtual-hosted bucket fallback (isAwsS3Domain). Both now derive their suffix set from the embedded DNS source of truth plus any configured floci.dns.extra-suffixes, so a custom DNS suffix is recognised the same way the builtins are. Why: the two literal lists duplicated what the DNS server already knows and could drift from it silently. Deriving from EmbeddedDnsServer.BUILTIN_SUFFIXES keeps them in lockstep, and folding in extra-suffixes means a user migrating from LocalStack via a custom suffix gets consistent S3 host handling (bucket routing and service endpoint detection), not just the DNS resolution they get today. How: - buildServiceHostSuffixes() computes {localhost} + BUILTIN_SUFFIXES + extra-suffixes once per instance; isS3ServiceEndpointHost() checks membership instead of literals. - matchesConfiguredSuffixHost() routes the virtual-hosted forms bucket.<suffix>, bucket.s3.<suffix> and bucket.s3.<region>.<suffix> for every configured suffix, replacing the hardcoded localstack/floci branches in isAwsS3Domain. - EmbeddedDnsServer.BUILTIN_SUFFIXES widened to public so the filter reuses the list. The virtual-host match now requires the full builtin suffix (.localhost.localstack.cloud) rather than the bare parent domain (.localstack.cloud), matching LocalStack's actual wildcard DNS (*.localhost.localstack.cloud). * test(s3): derive DEFAULT_SUFFIXES from the production factory The test constant hardcoded a copy of the builtin suffix set, which would silently drift if a new builtin were added to EmbeddedDnsServer.BUILTIN_SUFFIXES. Widen buildServiceHostSuffixes() to package-private and reuse it in the test so the two stay in sync automatically. * fix(s3): include the configured hostname in the derived suffix set EmbeddedDnsServer resolves builtins + floci.hostname + floci.dns.extra-suffixes, but the derived service-host set carried only two of the three. The configured hostname reaches the filter as baseHostname, and matchesEndpointHost excludes the bare s3.<host> remainder by design, so the bucket form one level down (bucket.s3.<hostname>) matched nothing. DNS still resolves that host, so the request reached Floci and was then handled path-style, binding the first path segment as the bucket, rather than being refused. Carry the hostname into buildServiceHostSuffixes so all three DNS inputs are mirrored and a host that resolves by wildcard DNS routes under the same rules. * fix(ec2): assign a public IP only when the subnet opts in via MapPublicIpOnLaunch (#2023) * fix(ec2): assign a public IP only when the subnet opts in via MapPublicIpOnLaunch (#1984) Every instance was given PublicIpAddress 127.0.0.1 unconditionally in Ec2ContainerManager, so a private-subnet instance wrongly reported an internet-facing address (breaks the ssh-reachability / public-vs-private distinction). runInstances now flags the instance (associatePublicIp) from its subnet's MapPublicIpOnLaunch, and the container manager exposes a public address only when that flag is set. Private-subnet instances get no PublicIpAddress — DescribeInstances omits the element (XmlBuilder skips nulls), matching real EC2. The value for public instances stays the host-reachable 127.0.0.1 (unchanged). Unit test covers the public-vs-private flag. Supports the aws-bench project: un-excludes the ssh-reachability scenario. * fix(ec2): honor the launch-time AssociatePublicIpAddress override * fix(ec2): honor the top-level AssociatePublicIpAddress and an explicit-false launch configuration Two gaps left by the previous commit, both flagged in review. RunInstances only read the override off the primary network-interface spec (NetworkInterface.1.AssociatePublicIpAddress), so the legacy top-level AssociatePublicIpAddress parameter — what the CLI and older SDKs send — was silently dropped and the subnet default decided instead. It is now read as a fallback; AWS rejects both shapes at once, so the interface spec wins when present. The launch-configuration path was worse than before. LaunchConfiguration stored a primitive boolean, so an absent flag and an explicit false were indistinguishable, and the reconciler could only forward an explicit true. An LC that set AssociatePublicIpAddress=false in a MapPublicIpOnLaunch subnet still got a public address. The field is now a nullable Boolean the whole way through (service, query handler, CFN provisioner), so false overrides the subnet and only null falls back to it. DescribeLaunchConfigurations omits the element when it was never set, as AWS does. Tests: a handler-level test pins all four parse cases (top-level, interface spec, both present, absent), and the reconciler test pins true/false/null reaching runInstances unchanged. * feat(cloudfront): enforce signed private content (#1831) * feat(cloudfront): serve distribution requests from S3 and custom origins * feat(cloudfront): enforce signed private content * chore: re-run CI The Build and Test failure on the previous head was RuntimeApiServerTest's extension/stop race, a pre-existing flake unrelated to this change — it also failed on #1820, #1823 and on #2131's own branch (the PR that tried to de-flake it). Reproduced locally under `--cpus=1` and fixed separately. * fix(cloudfront): wildcard aliases match exactly one subdomain level wildcardAliasMatches did a plain suffix check, so "*.example.com" also matched a.b.example.com. AWS is explicit that a wildcard alternate domain name replaces the wildcard at that level only: "you can't add alternate domain names that are at levels higher or lower than the wildcard. For example, you can't add the alternate domain names example.com or marketing.product.example.com." https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html Practical effect: a distribution owning "*.example.com" would answer for a.b.example.com, which on AWS belongs to whoever owns "*.b.example.com" — or to nobody. Require the label standing in for the wildcard to contain no dot. wildcardAliasesMatchSubdomainsAndPreferMoreSpecificNames asserted the old behaviour (a.b.example.test resolving to the *.example.test distribution); it now asserts no match, plus the same for a deeper wildcard. * test(dynamodb): retain Quarkus port for cleanup * fix(cloudfront): isolate mocked storage backends * fix(cloudfront): match wildcards in signed policy queries * feat(cloudhsmv2): implement AWS CloudHSM v2 service (phased) - Fix malformed dummy certificate in sdk-test-java by generating a self-signed X.509 cert programmatically using BouncyCastle - Apply fixes for tag operations targeting backups - Escape backslashes in regex - Resolve compilation issues * fix(test): Add CloudFrontClient to TestFixtures to resolve merge conflict * revert(test): revert CloudFrontClient addition to TestFixtures * fix(cloudhsmv2): fix CSR public key mismatch in SDK tests by signing properly extracted CSR * test(ec2): fix Ec2PublicIpOnLaunchTest compilation after StorageBackend changes * fix(cloudhsmv2): remove explicit BouncyCastle JCA provider to fix native image certificate validation * fix(cloudhsmv2): add null check for DestinationRegion in copy backup * fix(test): correct storage imports in Ec2PublicIpOnLaunchTest after rebase * fix(cloudhsmv2): resolve code review comments including AZ lookup and validation * style(cloudhsmv2): remove trailing whitespace in CloudHsmV2Test --------- Signed-off-by: NAMAN JAIN <naman.049259@tmu.ac.in> Co-authored-by: Aniket Shukla <aniketshukla619@gmail.com> Co-authored-by: Alex Banna <alexanderbanna@gmail.com> Co-authored-by: Alexander Banna <abanna@users.noreply.github.com> Co-authored-by: TiM <tim@nuimarkets.com> Co-authored-by: Olamide Kosile <64154023+Mide69@users.noreply.github.com> Co-authored-by: lex00 <121451605+lex00@users.noreply.github.com>
474 lines
17 KiB
XML
474 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.floci</groupId>
|
|
<artifactId>sdk-test-java</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Floci SDK Test</name>
|
|
<description>Test AWS SDK v2 against Floci emulator</description>
|
|
|
|
<properties>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<aws.sdk.version>2.52.0</aws.sdk.version>
|
|
<awsjavasdk.version>2.52.0</awsjavasdk.version>
|
|
<jackson.version>2.18.8</jackson.version>
|
|
<kafka.clients.version>3.9.2</kafka.clients.version>
|
|
<netty.version>4.1.135.Final</netty.version>
|
|
<wire.version>6.3.0</wire.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>bom</artifactId>
|
|
<version>${aws.sdk.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- Force consistent Netty version across AWS SDK and Lettuce -->
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-bom</artifactId>
|
|
<version>${netty.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson</groupId>
|
|
<artifactId>jackson-bom</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.wire</groupId>
|
|
<artifactId>wire-runtime</artifactId>
|
|
<version>${wire.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.wire</groupId>
|
|
<artifactId>wire-runtime-jvm</artifactId>
|
|
<version>${wire.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.18.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
<version>${kafka.clients.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>acm</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>sqs</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>s3</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>s3control</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>ssm</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>sns</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>dynamodb</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>dynamodb-enhanced</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>lambda</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>apigateway</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>apigatewayv2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>apigatewaymanagementapi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>kms</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cognitoidentityprovider</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>sfn</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>swf</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>iam</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>kafka</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>mq</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>kinesisanalyticsv2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>athena</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>glue</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>resourcegroupstaggingapi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.glue</groupId>
|
|
<artifactId>schema-registry-serde</artifactId>
|
|
<version>1.1.27</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>firehose</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>ec2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>sts</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>elasticache</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>elasticbeanstalk</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.lettuce</groupId>
|
|
<artifactId>lettuce-core</artifactId>
|
|
<version>6.3.2.RELEASE</version>
|
|
</dependency>
|
|
<!-- RDS management client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>rds</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>neptune</artifactId>
|
|
</dependency>
|
|
<!-- EventBridge client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>eventbridge</artifactId>
|
|
</dependency>
|
|
<!-- CloudHSM v2 client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudhsmv2</artifactId>
|
|
</dependency>
|
|
<!-- Cloud Map (servicediscovery) client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>servicediscovery</artifactId>
|
|
</dependency>
|
|
<!-- CloudTrail client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudtrail</artifactId>
|
|
</dependency>
|
|
<!-- EMR client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>emr</artifactId>
|
|
</dependency>
|
|
<!-- WAF v2 client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>wafv2</artifactId>
|
|
</dependency>
|
|
<!-- Kinesis client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>kinesis</artifactId>
|
|
</dependency>
|
|
<!-- Netty async HTTP client — required for KinesisAsyncClient (SubscribeToShard) -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>netty-nio-client</artifactId>
|
|
</dependency>
|
|
<!-- CloudWatch Logs client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudwatchlogs</artifactId>
|
|
</dependency>
|
|
<!-- CloudWatch Metrics client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudwatch</artifactId>
|
|
</dependency>
|
|
<!-- CloudWatch RUM client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>rum</artifactId>
|
|
</dependency>
|
|
<!-- Secrets Manager client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>secretsmanager</artifactId>
|
|
</dependency>
|
|
<!-- SES client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>ses</artifactId>
|
|
</dependency>
|
|
<!-- SES V2 client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>sesv2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>route53</artifactId>
|
|
</dependency>
|
|
<!-- OpenSearch Service management client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>opensearch</artifactId>
|
|
</dependency>
|
|
<!-- ECS client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>ecs</artifactId>
|
|
</dependency>
|
|
<!-- ECR client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>ecr</artifactId>
|
|
</dependency>
|
|
<!-- EventBridge Pipes client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>pipes</artifactId>
|
|
</dependency>
|
|
<!-- Bedrock AgentCore control-plane client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>bedrockagentcorecontrol</artifactId>
|
|
</dependency>
|
|
<!-- Bedrock AgentCore data-plane client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>bedrockagentcore</artifactId>
|
|
</dependency>
|
|
<!-- AWS IoT client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>iot</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>iotdataplane</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>iotjobsdataplane</artifactId>
|
|
</dependency>
|
|
<!-- EKS client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>eks</artifactId>
|
|
</dependency>
|
|
<!-- ELBv2 client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>elasticloadbalancingv2</artifactId>
|
|
</dependency>
|
|
<!-- EventBridge Scheduler client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>scheduler</artifactId>
|
|
</dependency>
|
|
<!-- Auto Scaling client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>autoscaling</artifactId>
|
|
</dependency>
|
|
<!-- CloudFormation client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudformation</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudfront</artifactId>
|
|
</dependency>
|
|
<!-- CodeBuild client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>codebuild</artifactId>
|
|
</dependency>
|
|
<!-- CodeDeploy client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>codedeploy</artifactId>
|
|
</dependency>
|
|
<!-- CodePipeline client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>codepipeline</artifactId>
|
|
</dependency>
|
|
<!-- AWS Backup client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>backup</artifactId>
|
|
</dependency>
|
|
<!-- AppSync client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>appsync</artifactId>
|
|
</dependency>
|
|
<!-- Lightsail client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>lightsail</artifactId>
|
|
</dependency>
|
|
<!-- S3 Vectors client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>s3vectors</artifactId>
|
|
</dependency>
|
|
<!-- S3 Tables client -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>s3tables</artifactId>
|
|
</dependency>
|
|
<!-- AppConfig and AppConfigData clients -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>appconfig</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>appconfigdata</artifactId>
|
|
</dependency>
|
|
<!-- JDBC drivers for RDS data-plane tests -->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.7.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<version>8.3.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>3.3.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
<!-- JUnit 5 -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.10.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- AssertJ for fluent assertions -->
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.25.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpkix-jdk18on</artifactId>
|
|
<version>1.84</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.2.5</version>
|
|
<configuration>
|
|
<!-- Include *Tests.java to also run DynamoDbScanConditionTests, EcsTests,
|
|
Ec2Tests, etc. that were silently skipped by the original pattern -->
|
|
<includes>
|
|
<include>**/*Test.java</include>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<environmentVariables>
|
|
<FLOCI_ENDPOINT>${env.FLOCI_ENDPOINT}</FLOCI_ENDPOINT>
|
|
</environmentVariables>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.12.1</version>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|