mirror of
https://github.com/google/nomulus
synced 2026-09-19 14:34:18 +00:00
Create a Dataflow pipeline to resave EPP resources (#1553)
* Create a Dataflow pipeline to resave EPP resources This has two modes. If `fast` is false, then we will just load all EPP resources, project them to the current time, and save them. If `fast` is true, we will attempt to intelligently load and save only resources that we expect to have changes applied when we project them to the current time. This means resources with pending transfers that have expired, domains with expired grace periods, and non-deleted domains that have expired (we expect that they autorenewed).
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "Resave all EPP Resources",
|
||||
"description": "An Apache Beam pipeline that resaves all (or potentially only changed) EPP resources",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "registryEnvironment",
|
||||
"label": "The Registry environment.",
|
||||
"helpText": "The Registry environment.",
|
||||
"is_optional": false,
|
||||
"regexes": [
|
||||
"^PRODUCTION|SANDBOX|CRASH|QA|ALPHA$"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "isolationOverride",
|
||||
"label": "The desired SQL transaction isolation level.",
|
||||
"helpText": "The desired SQL transaction isolation level.",
|
||||
"is_optional": true,
|
||||
"regexes": [
|
||||
"^[0-9A-Z_]+$"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "fast",
|
||||
"label": "Whether or not to attempt to only save changed resources",
|
||||
"helpText": "If true, we will attempt to only save resources that possibly have expired transfers, grace periods, etc",
|
||||
"is_optional": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user