@@ -16,30 +16,30 @@ public class OfferingPlatformOverride implements PlatformOverride {
1616 public static final List <Preset > IBM_PRESETS = List .of (
1717 // Some presets are duplicated to support platforms before and after the Big Reactive Renaming
1818 new Preset ("rest-service" , "REST service" ,
19- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg/network--services .svg" ,
19+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets/rest-service .svg" ,
2020 List .of ("io.quarkus:quarkus-rest" )),
2121 new Preset ("db-service" , "REST service with database" ,
22- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg/database .svg" ,
22+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets/db-service .svg" ,
2323 List .of ("io.quarkus:quarkus-rest" , "io.quarkus:quarkus-rest-jackson" ,
2424 "io.quarkus:quarkus-hibernate-orm-panache" , "io.quarkus:quarkus-jdbc-postgresql" )),
2525 new Preset ("event-driven-kafka" , "Event driven service with Kafka" ,
26- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg /event-driven.svg" ,
26+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets /event-driven.svg" ,
2727 List .of ("io.quarkus:quarkus-messaging-kafka" )),
2828 new Preset ("cli" , "Command-line tool" ,
29- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg/systems-devops--code .svg" ,
29+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets/cli .svg" ,
3030 List .of ("io.quarkus:quarkus-picocli" )),
3131 new Preset ("webapp-mvc" , "Web app with Model-View-Controller" ,
32- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg/controls-framework .svg" ,
32+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets/webapp-mvc .svg" ,
3333 List .of ("io.quarkiverse.renarde:quarkus-renarde" , "io.quarkiverse.web-bundler:quarkus-web-bundler" )),
3434 new Preset ("webapp-npm" , "Web app with NPM UI" ,
35- "https://raw.githubusercontent.com/carbon-design-system/carbon/main/packages/pictograms/src/svg /ibm--z-os-package-manager .svg" ,
35+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com/refs/heads/main/assets/icons /ibm-presets/webapp-npm .svg" ,
3636 List .of ("io.quarkus:quarkus-rest" , "io.quarkus:quarkus-rest-jackson" ,
3737 "io.quarkiverse.quinoa:quarkus-quinoa" )),
3838 new Preset ("webapp-qute" , "Web app with ServerSide Rendering" ,
39- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg/active--server .svg" ,
39+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets/webapp-qute .svg" ,
4040 List .of ("io.quarkiverse.qute.web:quarkus-qute-web" , "io.quarkiverse.web-bundler:quarkus-web-bundler" )),
4141 new Preset ("ai-infused" , "AI Infused service" ,
42- "https://raw.githubusercontent.com/carbon-design-system/carbon /refs/heads/main/packages/pictograms/src/svg/machine--learning--06 .svg" ,
42+ "https://raw.githubusercontent.com/redhat-developer/code.quarkus.redhat.com /refs/heads/main/assets/icons/ibm-presets/ai-infused .svg" ,
4343 List .of ("io.quarkiverse.langchain4j:quarkus-langchain4j-openai" ,
4444 "io.quarkiverse.langchain4j:quarkus-langchain4j-easy-rag" )));
4545
@@ -62,7 +62,9 @@ public List<Preset> presets() {
6262 case "ibm" :
6363 return IBM_PRESETS ;
6464 default :
65- return PlatformService .DEFAULT_PRESETS ;
65+ return PlatformService .DEFAULT_PRESETS .stream ()
66+ .map (p -> new Preset (p .key (), p .title (), p .icon ().replace ("_neg" , "_pos" ), p .extensions ()))
67+ .toList ();
6668 }
6769 }
6870
0 commit comments