Skip to content

Commit

Permalink
Joind MTR and MTA transformation cards
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Sep 15, 2022
1 parent 9eafc47 commit c16d4d4
Showing 1 changed file with 22 additions and 38 deletions.
60 changes: 22 additions & 38 deletions ui-pf4/src/main/webapp/src/layout/ThemeUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,26 @@ import {
TransformationPathOption,
} from "./TransformationPaths";

const MTA_MTR_TRANSFORMATION_PATHS = [
EAP7,
CONTAINERIZATION,
QUARKUS,
ORACLE_TO_OPENJDK,
OPENJDK,
LINUX,
JAKARTA9,
RH_RUNTIMES,
OPEN_LIBERTY,
{
label: "Azure",
description:
"Upgrade your Java application so that it can be deployed on Azure App Service.",
options: "azure-appservice",
iconSrc: virtualServer,
},
CAMEL,
];

//

export const PFTheme: "light" | "dark" = "dark";
Expand Down Expand Up @@ -64,25 +84,7 @@ const themeList: ThemeListType = {
websiteURL: "https://developers.redhat.com/products/mta/overview/",
documentationURL:
"https://access.redhat.com/documentation/en-us/migration_toolkit_for_applications/",
transformationPaths: [
EAP7,
CONTAINERIZATION,
QUARKUS,
ORACLE_TO_OPENJDK,
OPENJDK,
LINUX,
JAKARTA9,
RH_RUNTIMES,
OPEN_LIBERTY,
{
label: "Azure",
description:
"Upgrade your Java application so that it can be deployed on Azure App Service.",
options: "azure-appservice",
iconSrc: virtualServer,
},
CAMEL,
],
transformationPaths: [...MTA_MTR_TRANSFORMATION_PATHS],
},
tackle: {
name: "Tackle Analysis",
Expand All @@ -101,25 +103,7 @@ const themeList: ThemeListType = {
websiteURL: "https://developers.redhat.com/products/mtr/overview/",
documentationURL:
"https://access.redhat.com/documentation/en-us/migration_toolkit_for_runtimes/",
transformationPaths: [
EAP7,
CONTAINERIZATION,
QUARKUS,
ORACLE_TO_OPENJDK,
OPENJDK,
LINUX,
JAKARTA9,
RH_RUNTIMES,
OPEN_LIBERTY,
{
label: "Azure",
description:
"Upgrade your Java application so that it can be deployed on Azure App Service.",
options: "azure-appservice",
iconSrc: virtualServer,
},
CAMEL,
],
transformationPaths: [...MTA_MTR_TRANSFORMATION_PATHS],
},
};

Expand Down

0 comments on commit c16d4d4

Please sign in to comment.