Skip to content
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

Feature/sales force lead #116

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Conversation

louisbaggins
Copy link

  • Add: Crm register and get lead base class;
  • Add :SalesForce integration;
  • Add: Register lead on salesforce;
  • Add: Register lead on salesforce tests;
  • Add: Get lead on SalesForce;
  • Add: Get lead on salesforce tests;
  • Add: Advanced Config extension;
  • Add: Advanced ConfigExtension tests;

Refac: unnecessary casting in configuration extension test
…the reorganize CRM integration

Add:  CRM Enum with list of integrated enums
Add: Register lead action tests
Add: New configuration extension method with generic type return
Add: Add new configuration test to typed method values
Refac: Remove client and strategie from create lead action folder to facilitate addition of new related actions
Add: Get lead action
Refac: Add action type analysis on CrmContext
Refac: Change Crm settings validation message
Add: Get lead action tests
Refac: New base interface ICrmClient, SalesForceClient now will inherit from CrmClient to facilitate the add on of new crm's
Refac: Change action type enum name to CrmActionType
Refac: Remove empty spaces
Refac: Action type name
Add: Fail on getting lead test
Refac: Add treatment on salesforce client to non successful responses
Refac: Add salesforce base url on ConventionsConfiguration to allow use as a cd variable
Copy link
Contributor

@caiopsouza caiopsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a lot of suggestions, only real issue I found is using the HttpClient class directly which can have serious performance impact.

Take a look at https://docs.microsoft.com/pt-br/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests for more info.

/// Bool that indicates if lead was created
/// </summary>
[JsonProperty("success")]
public bool Succes { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo here

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.

4 participants