-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add questionnaire view driven from example yaml
Signed-off-by: ibolton336 <[email protected]>
- Loading branch information
1 parent
5e9a715
commit 3d08047
Showing
8 changed files
with
508 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
name: Cloud Native | ||
description: | | ||
Questionnaire that includes the Twelve Factor Application principles. | ||
sections: | ||
- name: Application technologies 1 | ||
questions: | ||
- formulation: What is the main technology in your application? | ||
explanation: What would you describe as the main framework used to build your application. | ||
answers: | ||
- choice: Unknown | ||
rationale: This is a problem because of the uncertainty. | ||
mitigation: Gathering more information about this is required. | ||
risk: unknown | ||
- choice: Quarkus | ||
risk: green | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: Quarkus | ||
autotag: | ||
- category: Technology | ||
tag: Quarkus | ||
- choice: Spring Boot | ||
risk: green | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: Spring Boot | ||
autotag: | ||
- category: Technology | ||
tag: Spring Boot | ||
- choice: Java EE | ||
rationale: This might not be the most cloud friendly technology. | ||
mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. | ||
risk: yellow | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: Java EE | ||
autotag: | ||
- category: Technology | ||
tag: Java EE | ||
- choice: J2EE | ||
rationale: This is obsolete. | ||
mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. | ||
risk: red | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: J2EE | ||
autotag: | ||
- category: Technology | ||
tag: J2EE | ||
- formulation: "What version of Java EE does the application use?" | ||
explanation: "What version of the Java EE specification is your application using?" | ||
answers: | ||
- choice: Below 5. | ||
rationale: This technology stack is obsolete. | ||
mitigation: Consider migrating to at least Java EE 7. | ||
risk: red | ||
- choice: 5 or 6 | ||
rationale: This is a mostly outdated stack. | ||
mitigation: Consider migrating to at least Java EE 7. | ||
risk: yellow | ||
- choice: "7" | ||
risk: green | ||
include_if_tags_present: | ||
- category: Technology | ||
tag: Java EE | ||
- formulation: Does your application use any caching mechanism? | ||
answers: | ||
- choice: Yes | ||
rationale: This could be problematic in containers and Kubernetes. | ||
mitigation: Review the clustering mechanism to check compatibility and support for container environments. | ||
risk: yellow | ||
autoanswer_if_tags_present: | ||
- category: Caching | ||
tag: Infinispan | ||
- category: Caching | ||
tag: Datagrid | ||
- category: Caching | ||
tag: eXtreme Scale | ||
- category: Caching | ||
tag: Coherence | ||
- choice: No | ||
risk: green | ||
- choice: Unknown | ||
rationale: This is a problem because of the uncertainty. | ||
mitigation: Gathering more information about this is required. | ||
risk: unknown | ||
- formulation: What implementation of JAX-WS does your application use? | ||
answers: | ||
- choice: Apache Axis | ||
rationale: This version is obsolete | ||
mitigation: Consider migrating to Apache CXF | ||
risk: red | ||
- choice: Apache CXF | ||
risk: green | ||
- choice: Unknown | ||
rationale: This is a problem because of the uncertainty. | ||
mitigation: Gathering more information about this is required. | ||
risk: unknown | ||
skip_if_tags_present: | ||
- category: Technology | ||
tag: Spring Boot | ||
- category: Technology | ||
tag: Quarkus | ||
- name: Application technologies | ||
questions: | ||
- formulation: What is the main technology in your application? | ||
explanation: What would you describe as the main framework used to build your application. | ||
answers: | ||
- choice: Unknown | ||
rationale: This is a problem because of the uncertainty. | ||
mitigation: Gathering more information about this is required. | ||
risk: unknown | ||
- choice: Quarkus | ||
risk: green | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: Quarkus | ||
autotag: | ||
- category: Technology | ||
tag: Quarkus | ||
- choice: Spring Boot | ||
risk: green | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: Spring Boot | ||
autotag: | ||
- category: Technology | ||
tag: Spring Boot | ||
- choice: Java EE | ||
rationale: This might not be the most cloud friendly technology. | ||
mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. | ||
risk: yellow | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: Java EE | ||
autotag: | ||
- category: Technology | ||
tag: Java EE | ||
- choice: J2EE | ||
rationale: This is obsolete. | ||
mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. | ||
risk: red | ||
autoanswer_if_tags_present: | ||
- category: Technology | ||
tag: J2EE | ||
autotag: | ||
- category: Technology | ||
tag: J2EE | ||
- formulation: "What version of Java EE does the application use?" | ||
explanation: "What version of the Java EE specification is your application using?" | ||
answers: | ||
- choice: Below 5. | ||
rationale: This technology stack is obsolete. | ||
mitigation: Consider migrating to at least Java EE 7. | ||
risk: red | ||
- choice: 5 or 6 | ||
rationale: This is a mostly outdated stack. | ||
mitigation: Consider migrating to at least Java EE 7. | ||
risk: yellow | ||
- choice: "7" | ||
risk: green | ||
include_if_tags_present: | ||
- category: Technology | ||
tag: Java EE | ||
- formulation: Does your application use any caching mechanism? | ||
answers: | ||
- choice: Yes | ||
rationale: This could be problematic in containers and Kubernetes. | ||
mitigation: Review the clustering mechanism to check compatibility and support for container environments. | ||
risk: yellow | ||
autoanswer_if_tags_present: | ||
- category: Caching | ||
tag: Infinispan | ||
- category: Caching | ||
tag: Datagrid | ||
- category: Caching | ||
tag: eXtreme Scale | ||
- category: Caching | ||
tag: Coherence | ||
- choice: No | ||
risk: green | ||
- choice: Unknown | ||
rationale: This is a problem because of the uncertainty. | ||
mitigation: Gathering more information about this is required. | ||
risk: unknown | ||
- formulation: What implementation of JAX-WS does your application use? | ||
answers: | ||
- choice: Apache Axis | ||
rationale: This version is obsolete | ||
mitigation: Consider migrating to Apache CXF | ||
risk: red | ||
- choice: Apache CXF | ||
risk: green | ||
- choice: Unknown | ||
rationale: This is a problem because of the uncertainty. | ||
mitigation: Gathering more information about this is required. | ||
risk: unknown | ||
skip_if_tags_present: | ||
- category: Technology | ||
tag: Spring Boot | ||
- category: Technology | ||
tag: Quarkus | ||
thresholds: | ||
red: 1% | ||
yellow: 30% | ||
unknown: 15% | ||
risk_messages: | ||
red: Application requires deep changes in architecture or lifecycle | ||
yellow: Application is Cloud friendly but requires some minor changes | ||
green: Application is Cloud Native | ||
unknown: More information about the application is required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
client/src/app/pages/assessment-management/questionnaire/questionnaire-page.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.tabs-vertical-container { | ||
width: 20em; | ||
} | ||
.tab-content-container { | ||
width: 80em; | ||
} |
Oops, something went wrong.