-
Notifications
You must be signed in to change notification settings - Fork 43
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
base: master
Are you sure you want to change the base?
Conversation
louisbaggins
commented
Oct 14, 2021
- 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
Add: Context for other crm's strategys
…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
src/Take.Blip.Client.UnitTests/Extensions/Configurations/ConfigurationExtensionTests.cs
Show resolved
Hide resolved
src/Take.Blip.Client.UnitTests/Extensions/Configurations/ConfigurationExtensionTests.cs
Outdated
Show resolved
Hide resolved
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
src/Take.Blip.Builder/Utils/SalesForce/Models/SalesForceRoutes.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
src/Take.Blip.Client/Extensions/AdvancedConfig/ConfigurationExtension.cs
Outdated
Show resolved
Hide resolved
src/Take.Blip.Client/Extensions/AdvancedConfig/ConfigurationExtension.cs
Show resolved
Hide resolved
Refac: Remove unused libs
…s always realized on previous function
/// Bool that indicates if lead was created | ||
/// </summary> | ||
[JsonProperty("success")] | ||
public bool Succes { get; set; } |
There was a problem hiding this comment.
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