-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ingestion): add groups to ldap users (#5470)
- Loading branch information
1 parent
2163d75
commit c182fe7
Showing
5 changed files
with
311 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
metadata-ingestion/tests/integration/ldap/ldap_memberof_mces_golden.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[ | ||
{ | ||
"auditHeader": null, | ||
"proposedSnapshot": { | ||
"com.linkedin.pegasus2avro.metadata.snapshot.CorpUserSnapshot": { | ||
"urn": "urn:li:corpuser:hbevan", | ||
"aspects": [ | ||
{ | ||
"com.linkedin.pegasus2avro.identity.CorpUserInfo": { | ||
"active": true, | ||
"displayName": "Hester Bevan", | ||
"email": "hbevan", | ||
"title": null, | ||
"managerUrn": null, | ||
"departmentId": null, | ||
"departmentName": null, | ||
"firstName": "Hester", | ||
"lastName": "Bevan", | ||
"fullName": "Hester Bevan", | ||
"countryCode": null | ||
} | ||
}, | ||
{ | ||
"com.linkedin.pegasus2avro.identity.GroupMembership": { | ||
"groups": [ | ||
"urn:li:corpGroup:HR Department" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"proposedDelta": null, | ||
"systemMetadata": { | ||
"lastObserved": 1615443388097, | ||
"runId": "ldap-test", | ||
"registryName": null, | ||
"registryVersion": null, | ||
"properties": null | ||
} | ||
}, | ||
{ | ||
"auditHeader": null, | ||
"proposedSnapshot": { | ||
"com.linkedin.pegasus2avro.metadata.snapshot.CorpUserSnapshot": { | ||
"urn": "urn:li:corpuser:ehaas", | ||
"aspects": [ | ||
{ | ||
"com.linkedin.pegasus2avro.identity.CorpUserInfo": { | ||
"active": true, | ||
"displayName": "Evalyn Haas", | ||
"email": "ehaas", | ||
"title": null, | ||
"managerUrn": null, | ||
"departmentId": null, | ||
"departmentName": null, | ||
"firstName": "Evalyn", | ||
"lastName": "Haas", | ||
"fullName": "Evalyn Haas", | ||
"countryCode": null | ||
} | ||
}, | ||
{ | ||
"com.linkedin.pegasus2avro.identity.GroupMembership": { | ||
"groups": [ | ||
"urn:li:corpGroup:HR Department" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"proposedDelta": null, | ||
"systemMetadata": { | ||
"lastObserved": 1615443388097, | ||
"runId": "ldap-test", | ||
"registryName": null, | ||
"registryVersion": null, | ||
"properties": null | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.