Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Rename AtomicPrimitives Dafny module name #589

Merged
merged 7 commits into from
Oct 2, 2024

Conversation

lucasmcdonald3
Copy link
Contributor

@lucasmcdonald3 lucasmcdonald3 commented Aug 12, 2024

Issue #, if available:

Description of changes:

Change the Dafny name for this client to AtomicPrimitives.

Both Go and Python will reference every Local Service client module name as the localService trait's sdkId value.
The client module name is the same as the sdkId in almost all cases, except Primitives.
This changes Primitives' Dafny name to align with its localService trait sdkId value.
(There is no change for Java/NET compiled code here because this module is an extern in those languages.)

Downstream builds:
This verifies that with ESDK/DBESDK can build with these changes. (Downstream libraries need to make similar changes, but we can't merge these into the respective main branches yet, and we should only pin those libraries to released versions of the MPL.)

Squash/merge commit message, if applicable:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ajewellamz
ajewellamz previously approved these changes Aug 13, 2024
Copy link
Contributor

@ajewellamz ajewellamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cd /workplace/aws-database-encryption-sdk-dynamodb-java/DynamoDbEncryption
grep "Aws.Cryptography.Primitives" runtimes/java/src/main/dafny-generated/**/*.java
# no hits
grep "software.amazon.cryptography.primitives" runtimes/java/src/main/dafny-generated/**/*.java
# many hits, but they all reflect the "extern" name, not the Modules name, so this non-breaking.

@lucasmcdonald3 lucasmcdonald3 merged commit 4f7e715 into main Oct 2, 2024
71 checks passed
@lucasmcdonald3 lucasmcdonald3 deleted the primitives-name branch October 2, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants