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

perf(type-b): update add new api logic to support oauth #11515

Merged
merged 5 commits into from
May 6, 2024
Merged

Conversation

SLdragon
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

Attention: Patch coverage is 96.73913% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 88.19%. Comparing base (8da24c1) to head (8ebfea1).
Report is 9 commits behind head on dev.

Additional details and impacted files

Impacted file tree graph

@@           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     
Files Coverage Δ
packages/fx-core/src/error/common.ts 91.50% <100.00%> (+0.16%) ⬆️
packages/fx-core/src/core/FxCore.ts 88.69% <96.29%> (-0.43%) ⬇️
...core/src/component/configManager/actionInjector.ts 96.77% <96.77%> (ø)

... and 1 file with indirect coverage changes

@SLdragon SLdragon requested a review from KennethBWSong April 30, 2024 02:42
KennethBWSong
KennethBWSong previously approved these changes Apr 30, 2024
@@ -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.",
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

xzf0587
xzf0587 previously approved these changes Apr 30, 2024
@SLdragon SLdragon changed the title perf(type-b): update add new api logic perf(type-b): update add new api logic to support oauth Apr 30, 2024
KennethBWSong
KennethBWSong previously approved these changes Apr 30, 2024
supkasar
supkasar previously approved these changes Apr 30, 2024
@@ -1240,51 +1242,130 @@ export class FxCore {
return await coordinator.publishInDeveloperPortal(context, inputs as InputsWithProjectPath);
}

hasActionWithName(provisionNode: any, action: string, name: string): any {
Copy link
Member

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.

jayzhang
jayzhang previously approved these changes Apr 30, 2024
@SLdragon SLdragon merged commit 0d4f61e into dev May 6, 2024
19 checks passed
@SLdragon SLdragon deleted the rentu-update430 branch May 6, 2024 03:10
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.

7 participants