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

Feature angular upgrade edwardpei #885

Merged
merged 4 commits into from
Nov 10, 2022

Conversation

KpeiVM
Copy link
Contributor

@KpeiVM KpeiVM commented Aug 22, 2022

upgrade angular from 10 to 13

Signed-off-by: kuo Pei <kpei@vmware.com>
Signed-off-by: kuo Pei <kpei@vmware.com>
Signed-off-by: kuo Pei <kpei@vmware.com>
@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #885 (0f1bb71) into master (1011c28) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #885      +/-   ##
============================================
+ Coverage     41.74%   41.78%   +0.04%     
+ Complexity     1580     1533      -47     
============================================
  Files           233      233              
  Lines         12891    12878      -13     
  Branches       1727     1721       -6     
============================================
  Hits           5381     5381              
+ Misses         6823     6817       -6     
+ Partials        687      680       -7     
Flag Coverage Δ
aggregator 28.11% <ø> (ø)
api 65.00% <ø> (+0.20%) ⬆️
infoblox 54.04% <ø> (ø)
labsdb 24.84% <ø> (ø)
management 5.67% <ø> (ø)
nlyte 30.88% <ø> (ø)
openmanage 42.05% <ø> (+0.03%) ⬆️
poweriq 42.21% <ø> (ø)
vc 41.42% <ø> (-0.04%) ⬇️
vro 5.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...com/vmware/flowgate/controller/JobsController.java 36.36% <0.00%> (-0.85%) ⬇️
...ava/com/vmware/flowgate/util/FlowgateKeystore.java 43.39% <0.00%> (-0.25%) ⬇️
...flowgate/vcworker/scheduler/job/VCDataService.java 48.09% <0.00%> (-0.19%) ⬇️
...are/flowgate/vcworker/client/InventoryService.java 0.00% <0.00%> (ø)
.../flowgate/openmanage/job/OpenManageJobService.java 52.53% <0.00%> (+0.11%) ⬆️
...main/java/com/vmware/flowgate/auth/AuthVcUser.java 8.92% <0.00%> (+0.15%) ⬆️
...java/com/vmware/flowgate/service/AssetService.java 81.10% <0.00%> (+0.39%) ⬆️
...a/com/vmware/flowgate/util/Pkcs12KeystoreUtil.java 35.71% <0.00%> (+2.38%) ⬆️
...java/com/vmware/flowgate/util/EncryptionGuard.java 78.57% <0.00%> (+2.70%) ⬆️

@@ -11,7 +11,6 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason we remove this flag?

]
],
"vendorChunk": true,
"extractLicenses": false,
Copy link
Contributor

Choose a reason for hiding this comment

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

We should include the licenses of third part project.

],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you share the reason to set this flag as false?

@@ -11,4 +11,4 @@ export const ROUTES: Routes = [
{path:'ui/nav', loadChildren: () => import('app/pages/nav/nav.module').then(m => m.NavModule),canActivate: [CanActivateAuthGuard]}
];

export const ROUTING: ModuleWithProviders<RouterModule> = RouterModule.forRoot(ROUTES,{ useHash: false });
export const ROUTING: ModuleWithProviders<RouterModule> = RouterModule.forRoot(ROUTES,{ useHash: false, relativeLinkResolution: 'legacy' });
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you estimate the effort needed to use relativeLinkResolution=correct ?

@yixingjia
Copy link
Contributor

ui/package-lock.json

We remove this file a few months before.
As:

  • It will generate automatically.
  • It will fixed when we create a release build.
  • When in the main branch, we would prefer always use the latest build for security.

Will add lock file later/or when we create a release.
@vmwclabot
Copy link
Member

@KpeiVM, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

@yixingjia yixingjia merged commit 67cd434 into vmware:master Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants