Page MenuHomePhabricator

Update upload task to have action = OPT OUT if it is an opt out file
Closed, ResolvedPublic

Description

See https://developer.goacoustic.com/acoustic-campaign/reference/importlist - if we tweak the xml for the opt out then we can change the silverpop_daily job from

name: Silverpop build and export
command:

  • /usr/bin/run-job --job silverpop_emails_build_export_files
  • /usr/bin/run-job --job silverpop_emails_upload_data_file
  • /usr/bin/run-job --job silverpop_emails_upload_files

to

  • /usr/bin/run-job --job silverpop_emails_build_export_files
  • /usr/bin/run-job --job silverpop_emails_upload_data_file
  • /usr/bin/run-job --job silverpop_emails_upload_opt_out_file
  • /usr/bin/run-job --job silverpop_emails_suppression_file
  • /usr/bin/run-job --job silverpop_emails_upload_files
  • the last one still has the checksum so that would also need testing & converting.

Event Timeline

Change #1207462 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Add opt-in capability to omnicontact.upload

https://gerrit.wikimedia.org/r/1207462

Change #1207462 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add opt-in capability to omnicontact.create & opt out to Omnicontact.Upload

https://gerrit.wikimedia.org/r/1207462

This was deployed but I had to roll it back. Maybe we can look at it again on our respective Mondays.

Change #1210699 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/tools@master] Fix sort column

https://gerrit.wikimedia.org/r/1210699

Change #1210700 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/tools@master] Utf should no longer matter

https://gerrit.wikimedia.org/r/1210700

Change #1210699 merged by jenkins-bot:

[wikimedia/fundraising/tools@master] Fix sort column

https://gerrit.wikimedia.org/r/1210699

Change #1210700 merged by jenkins-bot:

[wikimedia/fundraising/tools@master] Utf should no longer matter

https://gerrit.wikimedia.org/r/1210700

I pushed out the fixes & ran the new job - it was OK for the Checksum but for the opt out the action was missing - resulting in it doing the default create+update action

It created a bunch of contacts - these will all be on the MSL but this adds confusion - they could be deleted again?

https://cloud.goacoustic.com/campaign-automation/Data/Data_jobs?cuiOverrideSrc=https%253A%252F%252Fcampaign-us-4.goacoustic.com%252FdataJobs.do%253FisShellUser%253D1%2526action%253DdataJobsDetail%2526triggerId%253D253751014

image.png (572×202 px, 39 KB)

XenoRyet set Final Story Points to 2.