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

Wildfly mini serie client service #4

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tommaso-borgato
Copy link
Contributor

@tommaso-borgato tommaso-borgato commented Oct 17, 2024

Source code for guides in wildfly/wildfly.org#671

@tommaso-borgato
Copy link
Contributor Author

@bstansberry can you assign a reviewer?

@jamezp jamezp self-requested a review November 12, 2024 22:58
Copy link

@jamezp jamezp left a comment

Choose a reason for hiding this comment

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

Just a few comments as it looks like they were copy/pasted to each example. Once we agree and the changes have been propagated to the other examples, I'll have a look again.

Comment on lines 47 to 60
<repository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
Copy link

Choose a reason for hiding this comment

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

There is no need to add this one.

Comment on lines 75 to 87
<pluginRepository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
Copy link

Choose a reason for hiding this comment

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

There is no need to add this one.


<packaging>war</packaging>
<name>simple-microservice-client-secured</name>
<description>Insert description for your project here.</description>
Copy link

Choose a reason for hiding this comment

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

Seems like we should just delete the description.


<!-- JBoss dependency versions -->
<version.wildfly.maven.plugin>5.0.0.Final</version.wildfly.maven.plugin>
<version.wildfly.bom>33.0.2.Final</version.wildfly.bom>
Copy link

Choose a reason for hiding this comment

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

We should use 34.0.0.Final

<version.wildfly.bom>33.0.2.Final</version.wildfly.bom>

<!--Use JUnit 5 here - the WildFly bom still brings 4.x -->
<version.junit5>5.10.1</version.junit5>
Copy link

Choose a reason for hiding this comment

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

5.11.3 is the latest.


<dependency>
<groupId>org.wildfly.bom</groupId>
<artifactId>wildfly-microprofile</artifactId>
Copy link

Choose a reason for hiding this comment

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

This should be wildfly-expansion for version 34.0.0.Final+

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you @jamezp ... I missed that

Copy link

Choose a reason for hiding this comment

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

This is missing the copyright.

@RegisterClientHeaders
@RegisterRestClient(configKey="simple-microservice-server")
@Path("/hello")
public interface GettingStartedEndpointInterface {
Copy link

Choose a reason for hiding this comment

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

IMO we should just name this GettingStartedEndpointClient.

@tommaso-borgato
Copy link
Contributor Author

@jamezp Thank you for your review!

@tommaso-borgato
Copy link
Contributor Author

@jamezp Thank you again for your review, I hope I have fixed everything you pointed out

@tommaso-borgato tommaso-borgato force-pushed the wildfly-mini-serie-client-service branch 4 times, most recently from 04d56fb to 1999754 Compare November 29, 2024 14:26
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.

2 participants