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

SA: store and return certificate profile name #7352

Merged
merged 15 commits into from
Mar 20, 2024

Conversation

pgporada
Copy link
Member

@pgporada pgporada commented Mar 5, 2024

Adds certificateProfileName to the orders database table. The maximum length of a profile name matches the //issuance package.

Adds a MultipleCertificateProfiles feature flag that, when enabled, will store the certificate profile name from a NewOrderRequest. The certificate profile name is allowed to be empty and the database will treat that row as NULL. When the SA retrieves this potentially NULL row, it will be cast as the golang string zero value "".

SRE ticket IN-10145 has been filed to perform the database migration and enable the new feature flag. The migration must be performed before enabling the feature flag.

Part of #7324
Part of #7309

@pgporada pgporada requested a review from a team as a code owner March 5, 2024 15:21
@pgporada pgporada requested review from aarongable and removed request for a team March 5, 2024 15:21
@pgporada pgporada changed the base branch from 6966-unique-ca-certprofiles to main March 5, 2024 19:06
Copy link
Contributor

@aarongable aarongable left a comment

Choose a reason for hiding this comment

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

This change needs to be rebased to only contain the SA changes. Also, the SA (well, //core, really) changes seem so small that I think they can be done in the same PR as adding actual SA support.

This change is also going to need to add the profile name to sapb.NewOrderRequest.

@pgporada pgporada changed the title SA: gRPC plumbing for multiple certificate profile names SA: store and return certificate profile name Mar 7, 2024
Copy link
Contributor

github-actions bot commented Mar 7, 2024

@pgporada, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

@pgporada pgporada force-pushed the 7324-add-certprofilename-to-order-protobuf-message branch from 3e878bf to fcdd44b Compare March 7, 2024 22:21
sa/sa.go Outdated Show resolved Hide resolved
@pgporada
Copy link
Member Author

SRE ticket IN-10145 has been filed to perform the database migration and enable the new feature flag.

@pgporada pgporada requested review from aarongable and a team March 14, 2024 18:16
sa/model.go Show resolved Hide resolved
sa/model_test.go Outdated Show resolved Hide resolved
sa/sa.go Outdated Show resolved Hide resolved
sa/sa.go Outdated Show resolved Hide resolved
@pgporada pgporada requested review from aarongable and a team March 18, 2024 21:04
sa/saro.go Outdated Show resolved Hide resolved
sa/saro.go Outdated Show resolved Hide resolved
@pgporada pgporada requested review from aarongable and a team March 19, 2024 14:15
@pgporada pgporada merged commit 8556eae into main Mar 20, 2024
20 checks passed
@pgporada pgporada deleted the 7324-add-certprofilename-to-order-protobuf-message branch March 20, 2024 17:08
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