Skip to content

Add XAP registrar flag and drop DB defaults - #3222

Merged
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:xap-registrar-flag
Aug 31, 2026
Merged

Add XAP registrar flag and drop DB defaults#3222
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:xap-registrar-flag

Conversation

@CydeWeys

@CydeWeys CydeWeys commented Aug 28, 2026

Copy link
Copy Markdown
Member

Expose the --expiry_access_period_enabled CLI flag on registrar mutation commands and drop temporary database-level default constraints for XAP.

Specifically:

  • Expose the --expiry_access_period_enabled parameter in CreateOrUpdateRegistrarCommand and pass it to Registrar.Builder.setExpiryAccessPeriodEnabled.
  • Add expiryAccessPeriodTransitions with default DISABLED to example.yaml.
  • Add unit tests for --expiry_access_period_enabled in CreateRegistrarCommandTest and UpdateRegistrarCommandTest.
  • Add Flyway migrations V229 and V230 to drop the temporary database-level DEFAULT constraints on Tld.expiry_access_period_transitions and Registrar.expiry_access_period_enabled per db/README.md.
  • Regenerate flyway.txt, nomulus.golden.sql, and ER diagrams.

TAG=agy
BUG=http://b/437398822


This change is Reviewable

Expose the --expiry_access_period_enabled CLI flag on registrar mutation
commands and drop temporary database-level default constraints for XAP.

Specifically:
- Expose the --expiry_access_period_enabled parameter in
  CreateOrUpdateRegistrarCommand and pass it to
  Registrar.Builder.setExpiryAccessPeriodEnabled.
- Add expiryAccessPeriodTransitions with default DISABLED to example.yaml.
- Add unit tests for --expiry_access_period_enabled in
  CreateRegistrarCommandTest and UpdateRegistrarCommandTest.
- Add Flyway migrations V229 and V230 to drop the temporary database-level
  DEFAULT constraints on Tld.expiry_access_period_transitions and
  Registrar.expiry_access_period_enabled per db/README.md.
- Regenerate flyway.txt, nomulus.golden.sql, and ER diagrams.

TAG=agy
BUG=http://b/437398822
@CydeWeys
CydeWeys requested a review from gbrodman August 28, 2026 00:58

@gbrodman gbrodman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gbrodman reviewed 10 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on CydeWeys).

@CydeWeys
CydeWeys added this pull request to the merge queue Aug 31, 2026
Merged via the queue into google:master with commit 36dd7fb Aug 31, 2026
16 checks passed
@CydeWeys
CydeWeys deleted the xap-registrar-flag branch August 31, 2026 17:32
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.

2 participants