Update MCE compliance and fix build (#1116)

This commit is contained in:
Yi (Alan) Wang 2018-04-24 09:40:21 -07:00 committed by GitHub
parent d59d88b6a7
commit 19ff87dee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class DatasetComplianceDaoTest {
+ "enterpriseProduct: false, accountStatus: false, addressBookImports: false, microsoftData: false, " + "enterpriseProduct: false, accountStatus: false, addressBookImports: false, microsoftData: false, "
+ "subsidiaryData: false, otherThirdPartyIntegrations: false, device: false, searchHistory: false, " + "subsidiaryData: false, otherThirdPartyIntegrations: false, device: false, searchHistory: false, "
+ "courseViewingHistory: false, whoViewedMyProfile: false, profileViewsByMe: false, advertising: false, " + "courseViewingHistory: false, whoViewedMyProfile: false, profileViewsByMe: false, advertising: false, "
+ "usageOrErrorOrConnectivity: false, otherClickstreamOrBrowsingData: false}"; + "usageOrErrorOrConnectivity: false, otherClickstreamOrBrowsingData: false, employeeData: null}";
assertEquals(dsCompliance.getCompliancePurgeType(), purgeType.toString()); assertEquals(dsCompliance.getCompliancePurgeType(), purgeType.toString());
assertEquals(dsCompliance.getCompliancePurgeNote(), purgeNote); assertEquals(dsCompliance.getCompliancePurgeNote(), purgeNote);

View File

@ -108,6 +108,12 @@
"name": "otherClickstreamOrBrowsingData", "name": "otherClickstreamOrBrowsingData",
"type": "boolean", "type": "boolean",
"doc": "Dataset contains other click-related data that doesn't fit into a bucket above." "doc": "Dataset contains other click-related data that doesn't fit into a bucket above."
},
{
"name": "employeeData",
"type": ["null", "boolean"],
"default": null,
"doc": "Dataset contains only employee data."
} }
] ]
} }

View File

@ -59,7 +59,7 @@
"UNUSED": "Always use this value as the field is now deprecated" "UNUSED": "Always use this value as the field is now deprecated"
} }
}, },
"doc": "Deprecated. New clients should set this to UNUSED and use actor field in changeAuditStamp instead." "doc": "[Deprecated] New clients should set this to UNUSED and use actor field in changeAuditStamp instead."
}, },
{ {
"name": "name", "name": "name",