Skip to content

Test mode for Sign sync #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed

Test mode for Sign sync #621

wants to merge 8 commits into from

Conversation

mbonish
Copy link
Contributor

@mbonish mbonish commented Jun 30, 2020

fixes #637
Sign sync to has its own test mode where it will state the changes it plans to make but not execute them. sign_test_mode displays post_sync output without performing any updates. Users and user_groups will not be updated in the Sign Dashboard, but users and user groups to be changed will be displayed.

Updated connector-sign-sync.yml (comments for clarity and default value if sign_test_mode no) to the following:
#Test_mode presents post_sync output without performing any updates of users or user groups to the Sign Dashboard
# sign_test_mode possible values are yes or no. (default no)
# sign_test_mode is independent of user_sync test mode.
# Post Sync option does not run if user_sync tool is in test mode
sign_test_mode: no

Sign_test_mode is independent of user_sync test mode. UST will still need to be run in live mode for this to make sense. The post sync connector is disabled in test mode.

mbonish and others added 8 commits June 29, 2020 18:56
sign test mode
Added comments for explanation of Sign Test mode. Added sign_test_mode key in connector-sign-sync.yml with default value of no.
added default value for sign_test_mode of False, allowing sign_test_mode to work if key is not in config.
If Adobe only user list is used a none type exception was thrown with post sync. Fix was to handle exception  if  adobe-only-users- list used. Fixed to handle exception: "Post-Sync Connectors only support "sync" strategy".
@adorton-adobe
Copy link
Collaborator

@mbonish Please create an issue for this and link it to this PR by adding a "fixes #xxx" line to the description. We need tracking issues for all PRs so we can track and triage bugs appropriately.

@adorton-adobe adorton-adobe added this to the v2.6.2 milestone Sep 29, 2020
@adorton-adobe
Copy link
Collaborator

Addressing this in Sign Phase II

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test mode for Sign sync
3 participants