-
Notifications
You must be signed in to change notification settings - Fork 196
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
perf(type-b): update add new api logic to support oauth #11515
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #11515 +/- ##
========================================
Coverage 88.19% 88.19%
========================================
Files 535 536 +1
Lines 32146 32191 +45
Branches 6351 6202 -149
========================================
+ Hits 28350 28392 +42
Misses 1876 1876
- Partials 1920 1923 +3
|
@@ -562,6 +562,7 @@ | |||
"core.summary.createdEnvFile": "Environment file was created at", | |||
"core.copilot.addAPI.success": "%s have(has) been successfully added to %s", | |||
"core.copilot.addAPI.InjectAPIKeyActionFailed": "Inject API key action to teamsapp.yaml file failed, please make sure that file contains teamsApp/create action in provision section.", | |||
"core.copilot.addAPI.InjectOAuthActionFailed": "Inject OAuth action to teamsapp.yaml file failed, please make sure that file contains teamsApp/create action in provision section.", |
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.
Revised: Inject OAuth action to teamsapp.yaml file unsuccessful, make sure the file contains teamsApp/create action in provision section.
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
packages/fx-core/src/core/FxCore.ts
Outdated
@@ -1240,51 +1242,130 @@ export class FxCore { | |||
return await coordinator.publishInDeveloperPortal(context, inputs as InputsWithProjectPath); | |||
} | |||
|
|||
hasActionWithName(provisionNode: any, action: string, name: string): any { |
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.
Yaml file related API should moved into a sub-component in src/configManager
to avoid code bloating in FxCore.
5b19bd1
No description provided.