Salesforce Push module exposes a "standalone" mechanism, so that push queue can be processed outside of cron.
Would be cool to have similar for pull.

In this patch:

  • new "pull_standalone" property on mapping schema
  • new PullController class and new routes to expose standalone pull endpoints
  • new methods on MappingStorage to load standalone pull mappings
  • new method in QueueHandler to facilitate force-pull of a single record
  • updated test

Comments

aaronbauman created an issue. See original summary.

aaronbauman’s picture

Assigned: Unassigned » aaronbauman
aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new23.19 KB

Status: Needs review » Needs work

The last submitted patch, 3: salesforce-standalone_pull_queue_processing-3033925.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

aaronbauman’s picture

Status: Needs work » Needs review
StatusFileSize
new23.9 KB

Fixes the failing test

aaronbauman’s picture

Issue summary: View changes
aaronbauman’s picture

StatusFileSize
new24.37 KB

Adding redirect/destination handling

aaronbauman’s picture

StatusFileSize
new25.21 KB

Add hook_update to set standalon_pull property on mappings and re-roll against HEAD

  • AaronBauman committed 7b9cefd on 8.x-3.x
    Issue #3033925 by AaronBauman: Expose standalone pull mechanism,...
  • AaronBauman committed 27d251b on 8.x-4.x
    Issue #3033925 by AaronBauman: Expose standalone pull mechanism,...
aaronbauman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.