mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
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:
parent
2e332d8c09
commit
c41f92c8d0
@ -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
|
||||
}
|
||||
|
@ -18,7 +18,8 @@
|
||||
"lastModified": {
|
||||
"time": 0,
|
||||
"actor": "urn:li:corpuser:foobar",
|
||||
"impersonator": null
|
||||
"impersonator": null,
|
||||
"message": null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,8 @@
|
||||
"lastModified": {
|
||||
"time": 0,
|
||||
"actor": "urn:li:corpuser:foobar",
|
||||
"impersonator": null
|
||||
"impersonator": null,
|
||||
"message": null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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.",
|
||||
|
@ -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.",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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.",
|
||||
|
@ -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",
|
||||
|
@ -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.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user