feat(model): Add optional message field to auditstamp (#5611)

* adding messge to audit stamp

* Update AuditStamp.pdl

* Update AuditStamp.pdl
This commit is contained in:
Gabe Lyons 2022-08-11 13:48:49 -07:00 committed by GitHub
parent 2e332d8c09
commit c41f92c8d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 45 additions and 3 deletions

View File

@ -19,4 +19,9 @@ record AuditStamp {
* The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.
*/
impersonator: optional Urn
}
/**
* Additional context around how DataHub was informed of the particular change. For example: was the change created by an automated process, or manually.
*/
message: optional string
}

View File

@ -18,7 +18,8 @@
"lastModified": {
"time": 0,
"actor": "urn:li:corpuser:foobar",
"impersonator": null
"impersonator": null,
"message": null
}
}
}

View File

@ -16,7 +16,8 @@
"lastModified": {
"time": 0,
"actor": "urn:li:corpuser:foobar",
"impersonator": null
"impersonator": null,
"message": null
}
}
}

View File

@ -377,6 +377,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
},
"doc" : "An AuditStamp corresponding to the creation of this resource/association/sub-resource. A value of 0 for time indicates missing data.",

View File

@ -136,6 +136,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
},
"doc" : "An AuditStamp corresponding to the creation of this resource/association/sub-resource. A value of 0 for time indicates missing data.",

View File

@ -29,6 +29,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
}, "com.linkedin.common.Time", "com.linkedin.common.Urn", {
"type" : "record",

View File

@ -29,6 +29,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
}, "com.linkedin.common.Time", "com.linkedin.common.Urn", {
"type" : "typeref",

View File

@ -136,6 +136,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
},
"doc" : "An AuditStamp corresponding to the creation of this resource/association/sub-resource. A value of 0 for time indicates missing data.",

View File

@ -29,6 +29,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
}, {
"type" : "record",

View File

@ -136,6 +136,11 @@
"type" : "Urn",
"doc" : "The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.",
"optional" : true
}, {
"name" : "message",
"type" : "string",
"doc" : "Additional message to keep track of in the event",
"optional" : true
} ]
},
"doc" : "An AuditStamp corresponding to the creation of this resource/association/sub-resource. A value of 0 for time indicates missing data.",