Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Martin Battaglino 104b7e820a
[Linter] Upgrade Checkstyle plugin to 3.1.2 supporting Checkstyle version up to 8.41 (#1226)
* Upgrade checkstyle plugin to latest version 3.1.2

* Update rules to support Checkstyle 8.41

* Fix linter issue
2021-06-09 09:58:39 -05:00
Lee Parrish 4dd06e088f
Skills implementation and Samples 80. Bot to Bot and 81. Dialog to Dialog (#1050)
* Push for backup

* One more file.

* SkillDialog complete

* Skills updates to other areas.

* Http Clients

* Unit tests complete

* Root bot and bug fixes

* Corrected token issues for skill to skill

* Skills fixes

* Remove proxy setup.

* Refactor SimpleRootBot

* Refactor EchoSkillBot

* Update readme.md files

* Commit before merge with main.

* Working DialogRootBot

* Fixes for unit tests.

* Initial DialogSkillBot

* Sample 81 and skills fixes.
2021-03-11 13:42:24 -06:00
Martin Battaglino 7b2d3a47c1
[SDK] Add bot-ai-qna library (#907)
* Add Utils folder

* Copy schemas

* Add icon from C#

* Add Models folder

* Add Dialogs folder

* Add root files

* Add README document

* Add mock Test folder

* Apply requested feedback, fix checkstyle and build issues

* Delete QnAMakerComponentRegistration class

* Delete schema folder

* Fix ref to AdaptiveExpressions in QnAMakerDialog

* Fix ref adaptiveExpressions in QnAMakerRecognizer

* Apply internal feedback

* Add dialogs library, fix references

* Fix PMD and checkstyles errors

* Add description in javadocs for IOException

* Apply internal feedback

* Add QnA unit tests

* Add files into the TestData folder

* Add QnAMakerTraceInfoTests

* Add MyTurnContext class

* Change tests location

* Add MyTurnContext class

* Add returns in set and get Locale methods

* Fix consistency multi-line methods

* Add default inputHint

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

* Add QnAMakerCardEqualityComparer

* Change tests location

* Add QnAMakerCardEqualityComparer class

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

* Move location of QnAMakerTraceInfoTests

* Remove TestData

* Add testData

* Add QnAMakerTest class

* Add files into the TestData folder

* Change location of tests

* Add Mockito dependency

* Add more test to QnAMakerTests class

* Migrate more tests

* Remove TestData

* Add testData

* Add QnAMakerTraceInfoTests

* Add MyTurnContext class

* Change tests location

* Add MyTurnContext class

* Add returns in set and get Locale methods

* Fix consistency multi-line methods

* Add default inputHint

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

* Add QnAMakerCardEqualityComparer

* Change tests location

* Add QnAMakerCardEqualityComparer class

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

* Add private methods in QnAMakerTests

* Fix issues

* Add MockWebServer to tests

* replace ref to interceptHttp

* Add try/catch/finally

* Replace thenApply with thenAccept

* Add mocked OkHttpClient

* Fix errors

* Fix delta

* Remove merge files

* Fix QnAMakerTest

* Clean-up pom, remove QnAMakerDialogTest, update QnAMakerTests

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

Co-authored-by: Franco Alvarez <51216149+fran893@users.noreply.github.com>

* Add QnAMakerRecognizer, QnAMakerRecognizerTests and fix issues

* Add QnAMakerRecognizer, tests and fix some issues

* Apply internal feedback

* Fix QnA Unit Tests

* Fix QnAMakerRecognizerTests unit tests

* Fix mock issues and internal issues

* Fix QnAMakerRecognizerTests unit tests

* Rollback unused changes

* Add body in http execution

* Fix tests execution adding the correct Test import

* Apply internal feedback

* Fix QnA unit tests

* Fix generate answer utils

* Fix errors

* Fix mock issues and internal issues

* Fix issues with the url

* Add remaining join

* Fix qnaMakerTestUnsuccessfulResponse test

* Refactor of QnAMakerTests

* Import correct json and fix string format

* Fix qnaMakerTraceActivity test

* Fix tests with request object

* Fix qnaMakerLowScoreVariation

* Fix qnaMakerTestThresholdInQueryOption test

* Fix telemetryOverride test

* Enable qnaMakerTestOptionsHydration failing test

* Fix qnaMakerTestOptionsHydration test

* Fix telemetry tests

* Fix disparity in GenerateAnswerUtils

* Fix remaining unit tests

* Change jupiter to junit

* Remove mockito-junit-jupiter dependency

* Fix checkstyle errors

* Apply internal feedback

Co-authored-by: Franco Alvarez <franco.alvarez@southworks.com>
Co-authored-by: Federico Bernal <64086728+FedericoBernal@users.noreply.github.com>

* Rollback id to Id

* Improve readFileContent method and remove comments

Co-authored-by: Franco Alvarez <franco.alvarez@southworks.com>
Co-authored-by: Federico Bernal <64086728+FedericoBernal@users.noreply.github.com>

* Apply requested feedback

* Remove I from ITelemetryQnAMaker IQnAMakerClient

* Remove kind property

* Drop unused constructor in QnAMakerDialog

* Remove resources/icon.png

* Replace getType with isType

* Replace == comparison

* Fix unchecked assignment warning in fillQnAEvent

* Add StringLiteralEquality

* Remove sourceFilePath and sourceLineNumber

* Use activity.getType in tests

* Remove unnecesary whitespace

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

Co-authored-by: Franco Alvarez <51216149+fran893@users.noreply.github.com>
Co-authored-by: Franco Alvarez <franco.alvarez@southworks.com>
Co-authored-by: Federico Bernal <64086728+FedericoBernal@users.noreply.github.com>
2021-02-23 12:24:25 -06:00
tracyboehrer 71c5b29566
Fixed O365ConnectorCardHttpPOST setBody (#997)
Co-authored-by: Lee Parrish <30470292+LeeParrishMSFT@users.noreply.github.com>
2021-02-17 08:36:48 -06:00
Lee Parrish 5e1ca81cef
Lparrish/dialog (#922)
* dialogs.choices

* bot-dialogs: periodic push (mostly functional ObjectPath)

* Dialog Updates

* Interim commit and push to protect work in progress

* Pushing to protect work in progress

* Safety Checkin

* Setting up unit tests for Dialogs

* Updates to get VS Code test runner working

* Completed DialogManager and DialogStateManager

* Updates to match namespaces and file structure.

* First unit test for DialogStateManager now working.

* Addin DialogStateManager unit tests and fixes.

* Waterfall dialogs and Prompts

* Fixes and unit tests

* Choice Prompt unit tests

* Additional unit tests and fixes

* Unit tests and fixes.

* ComponentDialog tests and fixes

* DialogContainerTests and fixes to Dialog

* Additional tests and fixes

* Final unit tests

* Correct failing unit test.

* Fixes for merge issues.

* Update to new exception handling pattern.

* Remove uneeded unit test inports.

* Added copyright notices.

* Update DialogContext

* Added recognizer libraries

Co-authored-by: tracyboehrer <tracyboehrer@users.noreply.github.com>
2021-01-29 08:16:18 -06:00
tracyboehrer 904321e700 BotFrameworkAdapter auth flow/CallerId 2020-04-21 09:43:44 -05:00
tracyboehrer e055be7927 Code formatting changes - No logic changes 2020-04-12 16:00:31 -05:00
Tracy Boehrer 3dea4bd106 Cleared all CheckStyle errors in bot-builder. 2019-10-11 08:41:24 -05:00
Tracy Boehrer 412a3ce1a3 Added AppCredentials base class. 2019-10-01 10:11:15 -07:00
Tracy Boehrer 1cbe46b81c bot-schema recfactor (periodic push) 2019-08-26 21:04:11 -05:00
Tracy Boehrer 32960b9f8d Switched to using our own checkstyle file. 2019-08-22 15:27:27 -05:00