From 0e1969042e00e083b3bcdb2da9ad83d5edb2275e Mon Sep 17 00:00:00 2001 From: Andrey Kuleshov Date: Wed, 31 Jan 2024 19:07:05 +0300 Subject: [PATCH] Renaming cosv-frontend package (#2918) --- .github/workflows/build_and_test.yml | 16 ++++++++-------- .github/workflows/deploy_images.yml | 4 ++-- .github/workflows/deploy_images_reusable.yml | 2 +- .run/Cosv-Frontend-LocalRun.run.xml | 2 +- {save-cosv-frontend => cosv-frontend}/README.md | 4 ++-- .../build.gradle.kts | 2 +- .../detekt.yml | 0 .../nginx.conf | 0 .../com/saveourtool}/cosv/frontend/App.kt | 12 ++++++------ .../cosv/frontend/components/ErrorBoundary.kt | 4 ++-- .../frontend/components/RequestModalHandler.kt | 4 ++-- .../components/basic/CosvOrganizationType.kt | 2 +- .../basic/VulnerabilityIntroductionComponent.kt | 4 ++-- .../cosv/frontend/components/topbar/TopBar.kt | 2 +- .../frontend/components/topbar/TopBarLinks.kt | 2 +- .../components/topbar/TopBarUrlSplits.kt | 2 +- .../components/topbar/TopBarUserField.kt | 2 +- .../components/views/vuln/CosvSchemaView.kt | 8 ++++---- .../views/vuln/CreateVulnerabilityView.kt | 12 ++++++------ .../views/vuln/UploadVulnerabilityView.kt | 4 ++-- .../components/views/vuln/VulnerabilityBadge.kt | 8 ++++---- .../views/vuln/VulnerabilityChangesTab.kt | 4 ++-- .../views/vuln/VulnerabilityCollectionView.kt | 4 ++-- .../views/vuln/VulnerabilityCommentTab.kt | 2 +- .../views/vuln/VulnerabilityDateModal.kt | 2 +- .../views/vuln/VulnerabilityGeneralInfoProps.kt | 6 +++--- .../views/vuln/VulnerabilityHeader.kt | 2 +- .../views/vuln/VulnerabilityHistoryTab.kt | 2 +- .../views/vuln/VulnerabilityInfoTab.kt | 6 +++--- .../views/vuln/VulnerabilityProjectWindow.kt | 4 ++-- .../views/vuln/VulnerabilityRawDataTab.kt | 2 +- .../views/vuln/VulnerabilityTagsComponent.kt | 2 +- .../components/views/vuln/VulnerabilityView.kt | 2 +- .../vuln/component/CosvFileManagerComponent.kt | 2 +- .../vuln/component/CvssBaseScoreCalculator.kt | 2 +- .../views/vuln/component/TimelineComponent.kt | 2 +- .../vuln/toprating/OrganizationRatingTab.kt | 2 +- .../views/vuln/toprating/RatingUtils.kt | 2 +- .../views/vuln/toprating/TopRatingView.kt | 2 +- .../views/vuln/toprating/UserRatingTab.kt | 2 +- .../views/vuln/utils/CosvDescriptions.kt | 2 +- .../vuln/utils/CosvFieldsToDescriptions.kt | 2 +- .../components/views/vuln/utils/CosvSchema.kt | 2 +- .../components/views/welcome/MarketingTitles.kt | 2 +- .../views/welcome/VulnerabilityWelcomeView.kt | 4 ++-- .../views/welcome/pagers/vuln/WhatIsVuln.kt | 8 ++++---- .../cosv/frontend/routing/BasicRouting.kt | 12 ++++++------ .../src/main/resources/browserconfig.xml | 0 .../main/resources/img/avatar_packs/avatar1.png | Bin .../main/resources/img/avatar_packs/avatar2.png | Bin .../main/resources/img/avatar_packs/avatar3.png | Bin .../main/resources/img/avatar_packs/avatar4.png | Bin .../main/resources/img/avatar_packs/avatar5.png | Bin .../main/resources/img/avatar_packs/avatar6.png | Bin .../main/resources/img/avatar_packs/avatar7.png | Bin .../main/resources/img/avatar_packs/avatar8.png | Bin .../main/resources/img/avatar_packs/avatar9.png | Bin .../main/resources/img/avatar_placeholder.png | Bin .../src/main/resources/img/company.png | Bin .../src/main/resources/img/gitee.svg | 0 .../src/main/resources/img/github.svg | 0 .../src/main/resources/img/google.svg | 0 .../src/main/resources/img/huawei.svg | 0 .../src/main/resources/img/logo-anim.gif | Bin .../src/main/resources/img/logo-bg-p-3.png | Bin .../img/not_publiched_packs/avatar10.png | Bin .../src/main/resources/img/sad_cat.png | Bin .../src/main/resources/img/schema.png | Bin .../src/main/resources/img/settings_icon1.png | Bin .../src/main/resources/img/settings_icon2.png | Bin .../img/undraw_happy_announcement_re_tsm0.svg | 0 .../resources/img/undraw_image_not_found.png | Bin .../src/main/resources/img/undraw_important.svg | 0 .../src/main/resources/img/undraw_profile.svg | 0 .../src/main/resources/img/undraw_question.svg | 0 .../src/main/resources/img/undraw_warning.svg | 0 .../src/main/resources/img/vuln-logo-bg.png | Bin .../src/main/resources/index.html | 0 .../src/main/resources/locales/cn/comments.json | 0 .../src/main/resources/locales/cn/cookies.json | 0 .../src/main/resources/locales/cn/dates.json | 0 .../src/main/resources/locales/cn/index.json | 0 .../main/resources/locales/cn/organization.json | 0 .../src/main/resources/locales/cn/profile.json | 0 .../main/resources/locales/cn/proposing.json | 0 .../resources/locales/cn/table-headers.json | 0 .../locales/cn/thanks-for-registration.json | 0 .../src/main/resources/locales/cn/topbar.json | 0 .../locales/cn/vulnerability-collection.json | 0 .../locales/cn/vulnerability-upload.json | 0 .../resources/locales/cn/vulnerability.json | 0 .../src/main/resources/locales/cn/welcome.json | 0 .../src/main/resources/locales/en/comments.json | 0 .../src/main/resources/locales/en/cookies.json | 0 .../src/main/resources/locales/en/dates.json | 0 .../src/main/resources/locales/en/index.json | 0 .../main/resources/locales/en/organization.json | 0 .../src/main/resources/locales/en/profile.json | 0 .../main/resources/locales/en/proposing.json | 0 .../resources/locales/en/table-headers.json | 0 .../locales/en/thanks-for-registration.json | 0 .../src/main/resources/locales/en/topbar.json | 0 .../locales/en/vulnerability-collection.json | 0 .../locales/en/vulnerability-upload.json | 0 .../resources/locales/en/vulnerability.json | 0 .../src/main/resources/locales/en/welcome.json | 0 .../src/main/resources/locales/ru/comments.json | 0 .../src/main/resources/locales/ru/cookies.json | 0 .../src/main/resources/locales/ru/dates.json | 0 .../src/main/resources/locales/ru/index.json | 0 .../main/resources/locales/ru/organization.json | 0 .../src/main/resources/locales/ru/profile.json | 0 .../main/resources/locales/ru/proposing.json | 0 .../resources/locales/ru/table-headers.json | 0 .../locales/ru/thanks-for-registration.json | 0 .../src/main/resources/locales/ru/topbar.json | 0 .../locales/ru/vulnerability-collection.json | 0 .../locales/ru/vulnerability-upload.json | 0 .../resources/locales/ru/vulnerability.json | 0 .../src/main/resources/locales/ru/welcome.json | 0 .../src/main/resources/particles.json | 0 .../src/main/resources/scss/_buttons.scss | 0 .../src/main/resources/scss/_cards.scss | 0 .../src/main/resources/scss/_charts.scss | 0 .../src/main/resources/scss/_dropdowns.scss | 0 .../src/main/resources/scss/_error.scss | 0 .../src/main/resources/scss/_footer.scss | 0 .../src/main/resources/scss/_global.scss | 0 .../src/main/resources/scss/_glow.scss | 0 .../src/main/resources/scss/_login.scss | 0 .../src/main/resources/scss/_mixins.scss | 0 .../src/main/resources/scss/_navs.scss | 0 .../src/main/resources/scss/_root.scss | 0 .../src/main/resources/scss/_team.scss | 0 .../src/main/resources/scss/_utilities.scss | 0 .../src/main/resources/scss/_variables.scss | 0 .../src/main/resources/scss/cosv-frontend.scss | 0 .../src/main/resources/scss/navs/_global.scss | 0 .../src/main/resources/scss/navs/_sidebar.scss | 0 .../src/main/resources/scss/navs/_topbar.scss | 0 .../scss/utilities/_animated-card.scss | 0 .../resources/scss/utilities/_animation.scss | 0 .../resources/scss/utilities/_background.scss | 0 .../main/resources/scss/utilities/_border.scss | 0 .../main/resources/scss/utilities/_display.scss | 0 .../resources/scss/utilities/_particles.scss | 0 .../resources/scss/utilities/_progress.scss | 0 .../main/resources/scss/utilities/_ribbon.scss | 0 .../main/resources/scss/utilities/_rotate.scss | 0 .../main/resources/scss/utilities/_text.scss | 0 .../resources/scss/utilities/_timeline.scss | 0 .../src/main/resources/site.webmanifest | 0 .../webpack.config.d/css.js | 0 .../webpack.config.d/dev-server.js | 0 .../webpack.config.d/optimizations.js | 0 .../webpack.config.d/plugins.js | 0 diktat-analysis.yml | 2 +- save-cloud-charts/save-cloud/values.yaml | 2 +- .../save/entities/cosv/VulnerabilityExt.kt | 3 +-- .../vulnerability/VulnerabilityDateDto.kt | 3 +-- .../saveourtool/save/utils/CosvSchemaUtils.kt | 5 ++--- .../save/cosv/processor/CosvProcessor.kt | 2 +- .../save/cosv/repository/CosvRepository.kt | 2 +- .../save/cosv/service/CosvService.kt | 4 ++-- .../service/VulnerabilityMetadataService.kt | 4 ++-- settings.gradle.kts | 2 +- 166 files changed, 103 insertions(+), 106 deletions(-) rename {save-cosv-frontend => cosv-frontend}/README.md (62%) rename {save-cosv-frontend => cosv-frontend}/build.gradle.kts (99%) rename {save-cosv-frontend => cosv-frontend}/detekt.yml (100%) rename {save-cosv-frontend => cosv-frontend}/nginx.conf (100%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/App.kt (87%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/ErrorBoundary.kt (93%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/RequestModalHandler.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/basic/CosvOrganizationType.kt (88%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/basic/VulnerabilityIntroductionComponent.kt (92%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/topbar/TopBar.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/topbar/TopBarLinks.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/topbar/TopBarUrlSplits.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/topbar/TopBarUserField.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/CosvSchemaView.kt (95%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/CreateVulnerabilityView.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/UploadVulnerabilityView.kt (92%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityBadge.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityChangesTab.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityCollectionView.kt (93%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityCommentTab.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityDateModal.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityGeneralInfoProps.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityHeader.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityHistoryTab.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityInfoTab.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityProjectWindow.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityRawDataTab.kt (92%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityTagsComponent.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/VulnerabilityView.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/component/CosvFileManagerComponent.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/component/CvssBaseScoreCalculator.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/component/TimelineComponent.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/toprating/OrganizationRatingTab.kt (98%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/toprating/RatingUtils.kt (93%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/toprating/TopRatingView.kt (96%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/toprating/UserRatingTab.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/utils/CosvDescriptions.kt (99%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/utils/CosvFieldsToDescriptions.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/vuln/utils/CosvSchema.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/welcome/MarketingTitles.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/welcome/VulnerabilityWelcomeView.kt (97%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/components/views/welcome/pagers/vuln/WhatIsVuln.kt (93%) rename {save-cosv-frontend/src/main/kotlin/com/saveourtool/save => cosv-frontend/src/main/kotlin/com/saveourtool}/cosv/frontend/routing/BasicRouting.kt (91%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/browserconfig.xml (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar1.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar2.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar3.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar4.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar5.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar6.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar7.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar8.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_packs/avatar9.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/avatar_placeholder.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/company.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/gitee.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/github.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/google.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/huawei.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/logo-anim.gif (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/logo-bg-p-3.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/not_publiched_packs/avatar10.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/sad_cat.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/schema.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/settings_icon1.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/settings_icon2.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/undraw_happy_announcement_re_tsm0.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/undraw_image_not_found.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/undraw_important.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/undraw_profile.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/undraw_question.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/undraw_warning.svg (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/img/vuln-logo-bg.png (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/index.html (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/comments.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/cookies.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/dates.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/index.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/organization.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/profile.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/proposing.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/table-headers.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/thanks-for-registration.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/topbar.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/vulnerability-collection.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/vulnerability-upload.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/vulnerability.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/cn/welcome.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/comments.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/cookies.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/dates.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/index.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/organization.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/profile.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/proposing.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/table-headers.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/thanks-for-registration.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/topbar.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/vulnerability-collection.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/vulnerability-upload.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/vulnerability.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/en/welcome.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/comments.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/cookies.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/dates.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/index.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/organization.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/profile.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/proposing.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/table-headers.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/thanks-for-registration.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/topbar.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/vulnerability-collection.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/vulnerability-upload.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/vulnerability.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/locales/ru/welcome.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/particles.json (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_buttons.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_cards.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_charts.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_dropdowns.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_error.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_footer.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_global.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_glow.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_login.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_mixins.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_navs.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_root.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_team.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_utilities.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/_variables.scss (100%) rename save-cosv-frontend/src/main/resources/scss/save-cosv-frontend.scss => cosv-frontend/src/main/resources/scss/cosv-frontend.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/navs/_global.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/navs/_sidebar.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/navs/_topbar.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_animated-card.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_animation.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_background.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_border.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_display.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_particles.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_progress.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_ribbon.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_rotate.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_text.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/scss/utilities/_timeline.scss (100%) rename {save-cosv-frontend => cosv-frontend}/src/main/resources/site.webmanifest (100%) rename {save-cosv-frontend => cosv-frontend}/webpack.config.d/css.js (100%) rename {save-cosv-frontend => cosv-frontend}/webpack.config.d/dev-server.js (100%) rename {save-cosv-frontend => cosv-frontend}/webpack.config.d/optimizations.js (100%) rename {save-cosv-frontend => cosv-frontend}/webpack.config.d/plugins.js (100%) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3b745ff4f8..aca2f0de0f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -26,7 +26,7 @@ jobs: save-backend: ${{ steps.calculate-dependencies.outputs.save-backend }} save-cloud-common: ${{ steps.calculate-dependencies.outputs.save-cloud-common }} save-cosv: ${{ steps.calculate-dependencies.outputs.save-cosv }} - save-cosv-frontend: ${{ steps.calculate-dependencies.outputs.save-cosv-frontend }} + cosv-frontend: ${{ steps.calculate-dependencies.outputs.cosv-frontend }} save-demo: ${{ steps.calculate-dependencies.outputs.save-demo }} save-demo-agent: ${{ steps.calculate-dependencies.outputs.save-demo-agent }} save-demo-cpg: ${{ steps.calculate-dependencies.outputs.save-demo-cpg }} @@ -68,8 +68,8 @@ jobs: - save-cloud-common/** save-cosv: - save-cosv/** - save-cosv-frontend: - - save-cosv-frontend/** + cosv-frontend: + - cosv-frontend/** save-demo: - save-demo/** save-demo-agent: @@ -108,7 +108,7 @@ jobs: save_agent=$(( $save_cloud_common + ${{ steps.git-changed-files.outputs.save-agent_all_changed_files_count }} )) save_api_cli=$(( $save_cloud_common + $save_api + ${{ steps.git-changed-files.outputs.save-api-cli_all_changed_files_count }} )) save_backend=$(( $save_cloud_common + $authentication_service + $test_analysis_core + $save_cosv + $test_utils + ${{ steps.git-changed-files.outputs.save-backend_all_changed_files_count }} )) - save_cosv_frontend=$(( $save_cloud_common + $save_frontend_common + ${{ steps.git-changed-files.outputs.save-cosv-frontend_all_changed_files_count }} )) + cosv_frontend=$(( $save_cloud_common + $save_frontend_common + ${{ steps.git-changed-files.outputs.cosv-frontend_all_changed_files_count }} )) save_demo=$(( $save_cloud_common + ${{ steps.git-changed-files.outputs.save-demo_all_changed_files_count }} )) save_demo_agent=$(( $save_cloud_common + ${{ steps.git-changed-files.outputs.save-demo-agent_all_changed_files_count }} )) save_demo_cpg=$(( $save_cloud_common + ${{ steps.git-changed-files.outputs.save-demo-cpg_all_changed_files_count }} )) @@ -124,7 +124,7 @@ jobs: echo "save-backend=$save_backend" >> "$GITHUB_OUTPUT" echo "save-cloud-common=$save_cloud_common" >> "$GITHUB_OUTPUT" echo "save-cosv=$save_cosv" >> "$GITHUB_OUTPUT" - echo "save-cosv-frontend=$save_cosv_frontend" >> "$GITHUB_OUTPUT" + echo "cosv-frontend=$cosv_frontend" >> "$GITHUB_OUTPUT" echo "save-demo=$save_demo" >> "$GITHUB_OUTPUT" echo "save-demo-agent=$save_demo_agent" >> "$GITHUB_OUTPUT" echo "save-demo-cpg=$save_demo_cpg" >> "$GITHUB_OUTPUT" @@ -173,7 +173,7 @@ jobs: 'save-api-cli', 'save-backend', 'save-cosv', - 'save-cosv-frontend', + 'cosv-frontend', 'save-demo', 'save-demo-agent', 'save-demo-cpg', @@ -200,8 +200,8 @@ jobs: do-build: ${{ github.event_name == 'push' || needs.calculate_build_flags.outputs.save-backend > 0 }} - module: save-cosv do-build: ${{ github.event_name == 'push' || needs.calculate_build_flags.outputs.save-cosv > 0 }} - - module: save-cosv-frontend - do-build: ${{ github.event_name == 'push' || needs.calculate_build_flags.outputs.save-cosv-frontend > 0 }} + - module: cosv-frontend + do-build: ${{ github.event_name == 'push' || needs.calculate_build_flags.outputs.cosv-frontend > 0 }} - module: save-demo do-build: ${{ github.event_name == 'push' || needs.calculate_build_flags.outputs.save-demo > 0 }} - module: save-demo-agent diff --git a/.github/workflows/deploy_images.yml b/.github/workflows/deploy_images.yml index 377595cfac..fe1c673cdd 100644 --- a/.github/workflows/deploy_images.yml +++ b/.github/workflows/deploy_images.yml @@ -92,7 +92,7 @@ jobs: 'save-cosv', 'api-gateway', 'save-frontend', - 'save-cosv-frontend', + 'cosv-frontend', 'save-orchestrator', 'save-preprocessor', 'save-demo-cpg', @@ -104,7 +104,7 @@ jobs: do-build: ${{ inputs.gateway }} - module: save-frontend do-build: ${{ inputs.frontend }} - - module: save-cosv-frontend + - module: cosv-frontend do-build: ${{ inputs.frontend }} - module: save-orchestrator do-build: ${{ inputs.orchestrator }} diff --git a/.github/workflows/deploy_images_reusable.yml b/.github/workflows/deploy_images_reusable.yml index 076c2e8a15..db17a9defe 100644 --- a/.github/workflows/deploy_images_reusable.yml +++ b/.github/workflows/deploy_images_reusable.yml @@ -41,7 +41,7 @@ jobs: echo SAVE_DEMO_AGENT_GRADLE_OPTS = >> $GITHUB_ENV echo GRADLE_TASKS=:${{ inputs.module}}:bootBuildImage >> $GITHUB_ENV - name: Override gradle command for frontend - if: inputs.module == 'save-frontend' || inputs.module == 'save-cosv-frontend' + if: inputs.module == 'save-frontend' || inputs.module == 'cosv-frontend' run: | echo GRADLE_TASKS=:${{ inputs.module}}:buildImage >> $GITHUB_ENV - name: Override dockerTag diff --git a/.run/Cosv-Frontend-LocalRun.run.xml b/.run/Cosv-Frontend-LocalRun.run.xml index 21f5eb7627..1f3dc9ac9c 100644 --- a/.run/Cosv-Frontend-LocalRun.run.xml +++ b/.run/Cosv-Frontend-LocalRun.run.xml @@ -10,7 +10,7 @@