-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: main
Are you sure you want to change the base?
Wildfly mini serie client service #4
Conversation
@bstansberry can you assign a reviewer? |
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.
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.
<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> |
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.
There is no need to add this one.
<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> |
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.
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> |
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.
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> |
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.
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> |
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.
5.11.3 is the latest.
|
||
<dependency> | ||
<groupId>org.wildfly.bom</groupId> | ||
<artifactId>wildfly-microprofile</artifactId> |
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.
This should be wildfly-expansion for version 34.0.0.Final+
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.
Thank you @jamezp ... I missed that
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.
This is missing the copyright.
@RegisterClientHeaders | ||
@RegisterRestClient(configKey="simple-microservice-server") | ||
@Path("/hello") | ||
public interface GettingStartedEndpointInterface { |
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.
IMO we should just name this GettingStartedEndpointClient
.
@jamezp Thank you for your review! |
@jamezp Thank you again for your review, I hope I have fixed everything you pointed out |
04d56fb
to
1999754
Compare
1999754
to
d9fb804
Compare
Source code for guides in wildfly/wildfly.org#671