-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension Codestarts are now "really" meant to start coding with an extension #16692
Conversation
f6361c1
to
4780e55
Compare
15f0f3c
to
74a6857
Compare
In the case of Qute, there's also the template file, right? In the case of YAML, there's also the YAML config file, right? Otherwise, looks like the right move :) |
Yes and yes! :) <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello {name ?: "Qute"}</title>
<style>
body {
background-color: #000;
color: #fff;
}
h1 {
color: #4695EB;
font-size: 6vw;
}
h1 b {
color: #be9100;
}
p {
font-size: 2vw;
}
</style>
</head>
<body>
<h1>Hello <b>{name ?: "Qute"}</b></h1>
<p>Create your web page using Quarkus RESTEasy & Qute</p>
</body>
</html> and greeting:
message: "hello"
|
8a0ade6
to
392f012
Compare
8ad17c9
to
3655b97
Compare
...-codestarts/src/test/java/io/quarkus/devtools/codestarts/quarkus/FunqyHttpCodestartTest.java
Show resolved
Hide resolved
...cts/tools/devtools-testing/src/main/java/io/quarkus/devtools/testing/RegistryClientTest.java
Show resolved
Hide resolved
660da8a
to
c8d3a8c
Compare
@@ -46,10 +46,22 @@ public static void deepMerge(Map left, Map right) { | |||
c.addAll((Collection) leftValue); | |||
c.addAll((Collection) rightValue); | |||
left.put(key, c); | |||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aloubyansky I found this nasty bug (from myself) while using a static codestart catalog from the tests 😱 the codestart catalog data was muted when generating a project (luckily in prod it's read at each generation).. This is not very optimized, at some point I will probably cache it. So better it be fixed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI in this deepMerge
, it's ok to mutate left, but not right so I added some safety..
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building c8d3a8c
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 11 #📦 extensions/jdbc/jdbc-mysql/deployment✖ |
c8d3a8c
to
b632482
Compare
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building b632482
Full information is available in the Build summary check run. Test Failures⚙️ Gradle Tests - JDK 11 Windows #📦 integration-tests/gradle✖ ⚙️ JVM Tests - JDK 11 #📦 extensions/jdbc/jdbc-mysql/deployment✖ |
@gsmet each new rebase, I get some new CI errors... I think it's time to do another pass like we did a few months ago, it's been a while the CI haven't been stable.. wdyt? |
b632482
to
c635100
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some concerns using 999-SNAPSHOT
in the tests that don't actually rely on the actual Quarkus version being built. It'd be good to change it to some unrelated version in a subsequent PR.
--no-examples
to--no-code
in Create command for Maven Plugin and CLI--examples
to--example
in Create command for Maven Plugin and CLI (only one example can be selected at a time)example
are moved toextension-codestarts
and rewritten to be starters (almost no logic): funqy-http, resteasy-qute, picocli, config-yaml and resteasy, resteasy-reactive, spring-websingleton-example
becomeexample
, only one can be activated for an app, they disableextension-codestarts
providesExample
becomesprovidesCode
inExtensionProcessor
resteasy-jackson
andlogging-json
examples which are not really useful for nowTHIS IS MEANT FOR 2.0 AS IT BREAKS COMPAT
Fixes #15997 (config-yaml is not using resteasy anymore, it just creates a
GreetingConfig
)Generated code:
resteasy, resteasy-reactive and spring-web are not changed.
RESTEasy Qute
YAML Config
You have to bind it yourself somewhere to actually use it (command line, resteasy, resteasy-reactive)
picocli
Funqy HTTP