Skip to content

Commit

Permalink
Change duration time in avro, fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
anien committed Sep 19, 2023
1 parent 04faa0e commit 9e13995
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"doc": "Internal over-the-wire crypto key rotation operation request envelope.",
"fields": [
{
"name": "requestId",
"type": "string",
"doc": "GUID allocated by client to control key rotation."
"name": "requestId",
"type": "string",
"doc": "GUID allocated by client to control key rotation."
},
{
"name": "managedKey",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"doc": "Response for crypto's key rotation operation envelope",
"fields": [
{
"name": "requestId",
"type": "string",
"doc": "GUID allocated by client and passed in StartRotation message."
"name": "requestId",
"type": "string",
"doc": "GUID allocated by client and passed in StartRotation message."
},
{
"name": "managedKey",
"type": {
"type": "enum",
"name": "KeyType",
"symbols": ["MANAGED", "UNMANAGED"]
},
"doc": "Type of the key to be rotated."
"type": {
"type": "enum",
"name": "KeyType",
"symbols": ["MANAGED", "UNMANAGED"]
},
"doc": "Type of the key to be rotated."
},
{
"name": "oldKeyAlias",
Expand Down Expand Up @@ -60,8 +60,11 @@
},
{
"name": "duration",
"type": "int",
"doc": "Time in milliseconds spent processing the rotation."
"type": {
"type": "long",
"logicalType": "timestamp-millis"
},
"doc": "Time ([Instant]) in milliseconds spent processing the rotation."
}
]
}

0 comments on commit 9e13995

Please sign in to comment.