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

[WFLY-12802] Quickstart for MP Config 1.4 #375

Merged
merged 1 commit into from Mar 19, 2020

Conversation

xstefank
Copy link
Member

@xstefank xstefank commented Feb 5, 2020

@xstefank
Copy link
Member Author

@emmartins I believe this is ready for review. Only OpenShift tests are missing which are not a part of this PR.

Copy link

@marekkopecky marekkopecky left a comment

Choose a reason for hiding this comment

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

LGTM

@xstefank xstefank changed the title [WFLY-12802] Quickstart for MP Config 1.3 [WFLY-12802] Quickstart for MP Config 1.4 Feb 21, 2020
Comment on lines +54 to +55
-DarchetypeGroupId=org.apache.maven.archetypes \
-DarchetypeArtifactId=maven-archetype-webapp
Copy link
Member

Choose a reason for hiding this comment

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

Just wondering, why not use the wildfly archetype?

Copy link
Member Author

Choose a reason for hiding this comment

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

@rhusar is there any without Java/Jakarta mentions? I think that is why I chose to stick with default maven ones.

Copy link
Contributor

Choose a reason for hiding this comment

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

If we could use any WildFly archetypes we should have merged Stefano's archetype - the problem is none of them are presently available to us once we use the quickstarts with EAP.

* Simple tests for MicroProfile Config quickstart. Arquillian deploys an @AR archive to the application server, which
* contains several endpoints exposing injected configuration values and verifies that they are correctly invoked.
*
* @author <a href="mstefank@redhat.com>Martin Stefanko</a>
Copy link
Member

Choose a reason for hiding this comment

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

Missing ending "

import java.nio.file.Paths;

/**
* Simple tests for MicroProfile Config quickstart. Arquillian deploys an @AR archive to the application server, which
Copy link
Member

Choose a reason for hiding this comment

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

s/@AR/WAR

.addAsResource("META-INF/services/org.eclipse.microprofile.config.spi.ConfigSourceProvider")
.addAsResource("META-INF/services/org.eclipse.microprofile.config.spi.Converter")
// enable CDI
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml"); }
Copy link
Member

Choose a reason for hiding this comment

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

} should be on a new line.

@xstefank xstefank force-pushed the WFLY-12802 branch 5 times, most recently from 7982e43 to 7ecf6be Compare March 17, 2020 16:55
@rhusar
Copy link
Member

rhusar commented Mar 19, 2020

@xstefank Needs a rebase now

@emmartins emmartins merged commit a9e5adc into wildfly:master Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants