2017 © Pedro Peláez
 

library module-cyclops

A module for retrieving and sending data to Cyclops

image

gcdtech/module-cyclops

A module for retrieving and sending data to Cyclops

  • Tuesday, July 3, 2018
  • by samnotsowise
  • Repository
  • 6 Watchers
  • 0 Stars
  • 40 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 74 % Grown

The README.md

Module.Cyclops

Module for retrieving and sending data to cyclops, (*1)

Commands

  • PushStateToCyclopsCommand.php Abstract Custard Command for pushing the state of Cyclops Customers., (*2)

  • PushDeletedToCyclopsCommand.php Deletes a list of Cyclops Customers., (*3)

  • PushStaleToCyclopsCommand.php Updates a list of Cyclops Customers' brand opt ins that have failed before., (*4)

  • PullChangesFromCyclopsCommand.php Retrieves a list of updates made to Cyclops Customers' brand opt ins, allowing us to update project specific members to the same status., (*5)

Entities

  • CustomerEntity.php Used for most of our use cases, this combines a CyclopsIdentityEntity with their BrandOptIn value., (*6)

  • CyclopsIdentityEntity.php How we identify a Cyclops Customer - made up of email, id, forename and surname., (*7)

  • CyclopsCustomerListEntity.php Made up of an array of CustomerEntities, used in our "Push to Cyclops" use cases., (*8)

Exceptions

Cyclops API has a few exceptions it throws for specific end points. The ones we handle are:, (*9)

  • ConflictException.php Thrown if the parameters we send are invalid., (*10)

  • CustomerNotFoundException.php Thrown if the customer we are updating or deleting is not found in Cyclops API., (*11)

  • CyclopsException.php Base exception that all others extend., (*12)

  • UserForbiddenException.php Thrown if the user we access Cyclops API as does not have read or write permissions., (*13)

Settings

The url, username and password we use to access the Cyclops API are set in CyclopsSettings.php, (*14)

Use Cases

  • DeleteCustomerUseCase.php, (*15)

  • GetBrandOptInStatusChangesUseCase.php, (*16)

  • GetBrandOptInUseCase.php, (*17)

  • PullChangesFromCyclopsUseCase.php, (*18)

  • PushDeletedToCyclopsUseCase.php, (*19)

  • PushStaleToCyclopsUseCase.php, (*20)

The Versions

03/07 2018

dev-master

9999999-dev

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

03/07 2018

1.0.6

1.0.6.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

16/04 2018

1.0.5

1.0.5.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

16/04 2018

1.0.4

1.0.4.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

23/03 2018

1.0.3

1.0.3.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

21/03 2018

1.0.2

1.0.2.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

21/03 2018

1.0.1

1.0.1.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache 2.0

The Requires

 

The Development Requires

21/03 2018

1.0.0

1.0.0.0

A module for retrieving and sending data to Cyclops

  Sources   Download

Apache 2.0

The Requires

 

The Development Requires