Skip to content
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

Improve user experience for samples #500

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Conversation

geoand
Copy link
Collaborator

@geoand geoand commented Apr 24, 2024

  • Convert samples to standalone applications
  • Vastly improve the chatbot samples

This is done to allow users to copy and paste them
without worrying about bringing in a ton of Maven
configuration
These samples use the WebSockets Next integration
which streamlines both the websockets part and
the memory management part

Closes: #432
@geoand geoand requested a review from a team as a code owner April 24, 2024 14:54
@geoand geoand requested review from jmartisk and cescoffier and removed request for a team April 24, 2024 14:54
@maxandersen
Copy link
Member

Awesome. I was working on exact same standaloness. +100

<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to not have it use the platform as is recommended for user apps?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only reason is that I can easily switch to snapshot Quarkus when needed 😎

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, I tackle this problem often, having to also build a snapshot of the platform would be painful

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Quarkus quick start it's a property so easy to override. Snapshot/Quarkus can be in a profile.

Just that it would be nice the samples works as defacto standard Quarkus app and allow quarkus ext add work like every other default app.

Copy link
Collaborator

@jmartisk jmartisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

@jmartisk jmartisk merged commit 3369e45 into main Apr 25, 2024
12 checks passed
@jmartisk jmartisk deleted the samples-specific-version branch April 25, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants