mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 18:10:11 +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.
|
* 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
|
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": {
|
"lastModified": {
|
||||||
"time": 0,
|
"time": 0,
|
||||||
"actor": "urn:li:corpuser:foobar",
|
"actor": "urn:li:corpuser:foobar",
|
||||||
"impersonator": null
|
"impersonator": null,
|
||||||
|
"message": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
"lastModified": {
|
"lastModified": {
|
||||||
"time": 0,
|
"time": 0,
|
||||||
"actor": "urn:li:corpuser:foobar",
|
"actor": "urn:li:corpuser:foobar",
|
||||||
"impersonator": null
|
"impersonator": null,
|
||||||
|
"message": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -377,6 +377,11 @@
|
|||||||
"type" : "Urn",
|
"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.",
|
"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
|
"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.",
|
"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",
|
"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.",
|
"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
|
"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.",
|
"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",
|
"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.",
|
"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
|
"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", {
|
}, "com.linkedin.common.Time", "com.linkedin.common.Urn", {
|
||||||
"type" : "record",
|
"type" : "record",
|
||||||
|
@ -29,6 +29,11 @@
|
|||||||
"type" : "Urn",
|
"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.",
|
"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
|
"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", {
|
}, "com.linkedin.common.Time", "com.linkedin.common.Urn", {
|
||||||
"type" : "typeref",
|
"type" : "typeref",
|
||||||
|
@ -136,6 +136,11 @@
|
|||||||
"type" : "Urn",
|
"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.",
|
"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
|
"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.",
|
"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",
|
"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.",
|
"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
|
"optional" : true
|
||||||
|
}, {
|
||||||
|
"name" : "message",
|
||||||
|
"type" : "string",
|
||||||
|
"doc" : "Additional message to keep track of in the event",
|
||||||
|
"optional" : true
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"type" : "record",
|
"type" : "record",
|
||||||
|
@ -136,6 +136,11 @@
|
|||||||
"type" : "Urn",
|
"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.",
|
"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
|
"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.",
|
"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