mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
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>
25 lines
1.3 KiB
YAML
25 lines
1.3 KiB
YAML
# Literals partition_literals.py must not count. Every entry needs a reason a reviewer can
|
|
# check; the audit prints how many occurrences each entry excuses.
|
|
#
|
|
# files: the whole file is exempt (path relative to the repo root)
|
|
# patterns: a Python regex matched against the full source line of the literal
|
|
|
|
files:
|
|
- path: src/main/java/io/floci/aws/services/route53/Route53VpcRegions.java
|
|
reason: the VPCRegion enum transcribed verbatim from the Route 53 model.
|
|
- path: src/main/java/io/floci/aws/core/common/AwsNamespaces.java
|
|
reason: XML namespace URIs (http://s3.amazonaws.com/doc/2006-03-01/ and the Query
|
|
namespaces) are identifiers, not hosts, and are byte-identical in every partition;
|
|
minio and the China/GovCloud SDKs emit the same strings.
|
|
|
|
patterns:
|
|
- regex: amazonaws\.com/doc/\d{4}-\d{2}-\d{2}/
|
|
reason: an XML namespace URI outside AwsNamespaces (CloudFormation keeps its own);
|
|
the same partition-invariant identifier class as that file.
|
|
- regex: acs\.amazonaws\.com/groups/
|
|
reason: S3 canned-ACL grantee URIs (AllUsers, AuthenticatedUsers, LogDelivery) are
|
|
partition-invariant identifiers in the S3 model.
|
|
- regex: \bPARTITION_REGEX\b
|
|
reason: the line builds its regex from AwsArnUtils.PARTITION_REGEX, which is the
|
|
sanctioned way to recognise an ARN in any partition.
|