Skip to content
Snippets Groups Projects
  1. Mar 08, 2017
  2. Mar 07, 2017
  3. Mar 06, 2017
    • Alexander Rhodes's avatar
      12345678901234567890123456789012345678901234567890123456789012345678901234567890 · eb36ec84
      Alexander Rhodes authored
      Completes intelligent Drupal entity ID upsert code in PullBase
      
      If the SF API cannot be reached while trying to save the entity ID in SF, the queue processing is
      halted and the current queue item and remaining queue items are kept to process on a future pass.
      A check has been added on PullBase::updateEntity() to send the Entity ID to SF if none exists and
      the ID is configured to sync.
      Adds PullException to facilitate throwing expected Exception up to Cron to tell Cron to suspend
      queue processing but keep current and remaining queue items.
      eb36ec84
  4. Mar 01, 2017
  5. Feb 28, 2017
  6. Feb 24, 2017
  7. Feb 23, 2017
  8. Feb 22, 2017
  9. Feb 21, 2017
  10. Feb 20, 2017
  11. Feb 17, 2017
    • git's avatar
    • Aaron Bauman's avatar
      Merge branch '8.x-3.x' into examples · b10fd7f1
      Aaron Bauman authored
      * 8.x-3.x: (36 commits)
        Merged RestClient-tests into 8.x-3.x: test coverage for RestClient methods
        Fixes non-existent callback URL in SF Auth process
        fixes $$this typo; adds getRequestTime wrapper for testability
        alpha-sort use statements across a few classes
        Adds initial coverage for mappedobject::pull
        Fixes PullBase and PullBaseTest Cleans up PullBase
        Cleans up all salesforce_pull tests
        RestClientTest - basic setup and stubs
        Almost have PullBaseTest working
        remove unneccesary mocks and wrappers
        initial unit test coverage for MappedObject
        Fixes various issues causing unit tests to fail
        PullBase not in a good state, still needs major attention, but moving to lower-level tests for entities before proceeding there MappedObjectTest setUp method implemented; stubs for push, pushDelete, and pull tests
        Cleans up SalesForceMappingInterface
        interim commit
        still plugging away on tests
        end of day commit. not working
        End of week commit Adds DeleteHandlerTest (not quite working yet) Removes injected Url object in RestClient. There is no @url service in core.services.yml and we’re not supposed to use UrlGenerator. Since Url is only used once in RestClient::getAuthCallbackUrl(), Url is used directly and that method can be easily mocked under test. Cleans up salesforce_pull_cron() Cleans up DeleteHandler’s use statements Adds Request object to DeleteHandler’s constructor to handle REQUEST_TIME server global Adds boolean returns to DeleteHandler methods for unit testing purposes Fixes camel casing in MappedObjectStorage::loadBySfid() call in DeleteHandler Converts try/catch pairs in DeleteHandler to non-exception based conditional logic to make logic testable Cleans up PullBase’s use statements Adds event dispatcher service to PullBase’s constructor Removes some property reference discrepancies in PullBase Removes unnecessary code from PullBaseTest Removes unnecessary code from QueueHandlerTest Adds back in missing properties in a loadByProperties call in salesforce_push.module Adds logger.factory service to PushQueue’s service definition in salesforce_push.services.yml Changes logger service injection in PushQueue’s constructor to logger.factory service (there is no logger service defined in core.services.yml) Fixes all logger service references in PushQueue Cleans up SalesforcePushQueueProcessor/Rest’s use statements Removes EntityManager service injection in SalesforcePushQueueProcessor/Rest’s constructor in favor of already existing EntityTypeManager service
        "continue" should have been "return"
        Cleans up PullBaseTest::testProcessItemCreate()
        ...
      
      Conflicts:
      	modules/salesforce_mapping/src/Entity/MappedObject.php
      	modules/salesforce_push/src/Plugin/SalesforcePushQueueProcessor/Rest.php
      b10fd7f1
    • Aaron Bauman's avatar
Loading