diff --git a/client/public/locales/en/translation.json b/client/public/locales/en/translation.json index f97c91fc29..01fd411fcc 100644 --- a/client/public/locales/en/translation.json +++ b/client/public/locales/en/translation.json @@ -486,6 +486,12 @@ "required": "This field is required." }, "wizard": { + "alert": { + "sourceMode": { + "title": "Source Code Mode", + "description": "This mode focuses on analyzing the source code. Language-specific dependency configurations, like in Java's POM files, are not the primary focus and may not be fully analyzed." + } + }, "composed": { "enable": "Enable {{what}}", "excluded": "Excluded {{what}}", diff --git a/client/public/templates/questionnaire-template.yaml b/client/public/templates/questionnaire-template.yaml index 4163e6edc5..b7f6913645 100644 --- a/client/public/templates/questionnaire-template.yaml +++ b/client/public/templates/questionnaire-template.yaml @@ -58,7 +58,6 @@ sections: risk: unknown rationale: Lack of clarity on architecture can lead to unplanned issues. mitigation: Conduct an architectural review. - - order: 3 text: Is your application's data storage cloud-optimized? explanation: Evaluate if the data storage solution is optimized for cloud usage. @@ -81,6 +80,30 @@ sections: risk: yellow rationale: Hybrid solutions may have integration complexities. mitigation: Evaluate and optimize cloud integration points. + - order: 4 + text: Are you currently using any form of container orchestration? + explanation: Determine if the application utilizes container orchestration tools like Kubernetes, Docker Swarm, etc. + excludeFor: + - category: Deployment + tag: Serverless + - category: Architecture + tag: Monolith + answers: + - order: 1 + text: Kubernetes + risk: green + rationale: Kubernetes is a robust orchestrator for container management. + mitigation: Ensure Kubernetes configurations are optimized for cloud. + - order: 2 + text: Docker Swarm + risk: green + rationale: Docker Swarm provides a simpler, yet effective, orchestration. + mitigation: Validate that Docker Swarm meets all cloud scalability requirements. + - order: 3 + text: No Container Orchestration + risk: yellow + rationale: Lack of container orchestration can hinder cloud adaptability. + mitigation: Explore container orchestration options for better cloud integration. thresholds: red: 1 yellow: 30 diff --git a/client/src/app/pages/applications/analysis-wizard/set-mode.tsx b/client/src/app/pages/applications/analysis-wizard/set-mode.tsx index 20c837ce87..d3294d44aa 100644 --- a/client/src/app/pages/applications/analysis-wizard/set-mode.tsx +++ b/client/src/app/pages/applications/analysis-wizard/set-mode.tsx @@ -85,6 +85,15 @@ export const SetMode: React.FC = ({ isSingleApp, isModeValid }) => {

{t("wizard.label.notAllAnalyzableDetails")}

)} + {mode === "source-code" && ( + +

{t("wizard.alert.sourceMode.description")}

+
+ )} {mode === "binary-upload" && } ); diff --git a/client/src/app/pages/applications/applications-table/applications-table.tsx b/client/src/app/pages/applications/applications-table/applications-table.tsx index de45d031ae..c13ac32e57 100644 --- a/client/src/app/pages/applications/applications-table/applications-table.tsx +++ b/client/src/app/pages/applications/applications-table/applications-table.tsx @@ -17,6 +17,7 @@ import { MenuToggle, MenuToggleElement, Modal, + Tooltip, } from "@patternfly/react-core"; import { PencilAltIcon, TagIcon, EllipsisVIcon } from "@patternfly/react-icons"; import { @@ -359,9 +360,8 @@ export const ApplicationsTable: React.FC = () => { selectOptions: [ ...new Set( applications - .flatMap( - (application) => - application?.archetypes?.map((archetype) => archetype.name) + .flatMap((application) => + application?.archetypes?.map((archetype) => archetype.name) ) .filter(Boolean) ), @@ -948,13 +948,15 @@ export const ApplicationsTable: React.FC = () => { {applicationWriteAccess && ( -