-
Notifications
You must be signed in to change notification settings - Fork 479
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
Add Facebook Adapter migration #2640
Conversation
Remove unreferenced methods, change type initializations to var, add IDisposable handling, remove this keyword
Pull Request Test Coverage Report for Build 84908
💛 - Coveralls |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
* Add webhook validation * Fix message's signature validation
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
GetAPIAsync method removed from adapter code
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
1 similar comment
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
* Add tests for standby messages and adapter * Used Verify statement to test methods call
Add remaining wrapper tests Fix hash in failing test
…icrosoft/BotBuilder-dotnet into add/facebook-adapter-migration
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.5.3 |
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapter.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapter.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapter.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapter.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapter.cs
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookHelper.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookMessage.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookEvents/FacebookEntry.cs
Outdated
Show resolved
Hide resolved
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookEvents/FacebookEntry.cs
Outdated
Show resolved
Hide resolved
...ies/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookEvents/FacebookResponseEvent.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.
Updated comments following discussions with the team. Please make the changes asap as I would like to get this merged today if possible. TODO comments can be left for the preview package providing the work to remove them can take place over the next couple of weeks ahead of the next release.
Change attachments processing not to throw exceptions on more than one Change methods not to return null but rather an exception on null input Adapter unit tests Changed backslashes to forward slashes (Unix pipeline build problem)
Change README.MD settings variable names Change minor polishing
@matiasroldan6 Thanks for the changes. Please resolve conflicts for this branch and then I can approve. |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.5.3 |
@matiasroldan6 @ceciliaavila Just Facebook remaining now. Will approve / merge once merge conflicts have been resolved. |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.5.3 |
Description
This PR has the migration to .Net of the FacebookAdapter Package from the BotKit repo.
Also, we added a TestBot for testing the current implementation.
Details
We have migrated the following classes:
FacebookAdapter
FacebookAdapterOptions
FacebookClientWrapper
And added some helper classes:
FacebookHelper
FacebookMessage
Message