Skip to content

chore: Rename AtomicPrimitives Dafny module name#589

Merged
lucasmcdonald3 merged 7 commits into
mainfrom
primitives-name
Oct 2, 2024
Merged

chore: Rename AtomicPrimitives Dafny module name#589
lucasmcdonald3 merged 7 commits into
mainfrom
primitives-name

Conversation

@lucasmcdonald3
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

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