mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-15 02:47:19 +00:00
Update MCE schema and test (#954)
This commit is contained in:
parent
f376789364
commit
5987ab5ed0
@ -77,8 +77,8 @@ public class DatasetComplianceDaoTest {
|
||||
policy.complianceEntities = Arrays.asList(entity);
|
||||
policy.datasetConfidentiality = SecurityClassification.HIGHLY_CONFIDENTIAL;
|
||||
|
||||
String complianceEntityStr = "[{fieldPath: field1, complianceDataType: ADDRESS, fieldFormat: null, "
|
||||
+ "securityClassification: CONFIDENTIAL}]";
|
||||
String complianceEntityStr = "[{fieldPath: field1, complianceDataType: ADDRESS, complianceDataTypeUrn: null, "
|
||||
+ "fieldFormat: null, securityClassification: CONFIDENTIAL}]";
|
||||
|
||||
complianceDao.fillDsComplianceByCompliancePolicy(dsCompliance, policy, datasetUrn2, actor2);
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"name": "ComplianceDataType",
|
||||
"doc": "The business / semantic meaning or data type of data fields. http://go/gdpr-taxonomy",
|
||||
"symbols" : [
|
||||
"doc": "[Deprecated] Please set this to UNUSED and use complianceDataTypeUrn instead.",
|
||||
"symbols": [
|
||||
"NONE",
|
||||
"MEMBER_ID",
|
||||
"SUBJECT_MEMBER_ID",
|
||||
@ -46,9 +46,10 @@
|
||||
"CONTRACT_ID",
|
||||
"SEAT_ID",
|
||||
"ADVERTISER_ID",
|
||||
"SLIDESHARE_USER_ID"
|
||||
"SLIDESHARE_USER_ID",
|
||||
"UNUSED"
|
||||
],
|
||||
"symbolDocs" : {
|
||||
"symbolDocs": {
|
||||
"NONE": "None of the following types apply",
|
||||
"MEMBER_ID": "ID for LinkedIn members",
|
||||
"SUBJECT_MEMBER_ID": "Member ID that are subject owner of the record",
|
||||
@ -79,14 +80,26 @@
|
||||
"CONTRACT_ID": "ID for a contract, a grouping of enterprise users for an LTS product",
|
||||
"SEAT_ID": "ID for a user of an LTS enterprise product",
|
||||
"ADVERTISER_ID": "ID for an LMS advertiser",
|
||||
"SLIDESHARE_USER_ID": "ID for a slideshare user"
|
||||
"SLIDESHARE_USER_ID": "ID for a slideshare user",
|
||||
"UNUSED": "This field is not used. Refer to complianceDataTypeUrn instead."
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "complianceDataTypeUrn",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
],
|
||||
"doc": "[Required] A ComplianceDataType urn, e.g. urn:li:complianceDataType:MEMBER_ID. See the full list at compliance-data-type.",
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "fieldFormat",
|
||||
"doc": "Specify the optional field format",
|
||||
"type": [ "null", {
|
||||
"type": [
|
||||
"null",
|
||||
{
|
||||
"type": "enum",
|
||||
"name": "FieldFormat",
|
||||
"symbols": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user