Skip to content

Bug: --user-filter and invocation default #379

Closed
@bhunut-adobe

Description

@bhunut-adobe

Set --user-filter via cmd argument only:

2018-08-06 10:52:08 48490 INFO main - -c /Users/bhunut/Documents/Python/Code/user-sync-configs-v2/user-sync-config1.yml --process-groups --users mapped --user-filter jadobe3@adobeccetest.com -t
2018-08-06 10:52:08 48490 DEBUG main - -------- Resulting invocation options --------
2018-08-06 10:52:08 48490 DEBUG main - adobe_only_user_action: ['preserve']
2018-08-06 10:52:08 48490 DEBUG main - adobe_only_user_list: None
2018-08-06 10:52:08 48490 DEBUG main - connector: ['ldap']
2018-08-06 10:52:08 48490 DEBUG main - process_groups: True
2018-08-06 10:52:08 48490 DEBUG main - strategy: sync
2018-08-06 10:52:08 48490 DEBUG main - test_mode: True
2018-08-06 10:52:08 48490 DEBUG main - update_user_info: False
2018-08-06 10:52:08 48490 DEBUG main - user_filter: None
2018-08-06 10:52:08 48490 DEBUG main - users: ['mapped']
2018-08-06 10:52:08 48490 DEBUG main - directory_connector_type: ldap
2018-08-06 10:52:08 48490 DEBUG main - directory_group_mapped: True
2018-08-06 10:52:08 48490 DEBUG main - username_filter_regex: re.compile('\Ajadobe3@adobeccetest.com\Z', re.IGNORECASE)

Set via cmd and config file.

2018-08-06 10:53:11 48539 INFO main - -c /Users/bhunut/Documents/Python/Code/user-sync-configs-v2/user-sync-config1.yml --process-groups --users mapped --user-filter jadobe3@adobeccetest.com -t
2018-08-06 10:53:11 48539 DEBUG main - -------- Resulting invocation options --------
2018-08-06 10:53:11 48539 DEBUG main - adobe_only_user_action: ['preserve']
2018-08-06 10:53:11 48539 DEBUG main - adobe_only_user_list: None
2018-08-06 10:53:11 48539 DEBUG main - connector: ['ldap']
2018-08-06 10:53:11 48539 DEBUG main - process_groups: True
2018-08-06 10:53:11 48539 DEBUG main - strategy: sync
2018-08-06 10:53:11 48539 DEBUG main - test_mode: True
2018-08-06 10:53:11 48539 DEBUG main - update_user_info: False
2018-08-06 10:53:11 48539 DEBUG main - user_filter: jadobe4@adobeccetest.com
2018-08-06 10:53:11 48539 DEBUG main - users: ['mapped']
2018-08-06 10:53:11 48539 DEBUG main - directory_connector_type: ldap
2018-08-06 10:53:11 48539 DEBUG main - directory_group_mapped: True
2018-08-06 10:53:11 48539 DEBUG main - username_filter_regex: re.compile('\Ajadobe3@adobeccetest.com\Z', re.IGNORECASE)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions