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

Update components and cleanup unnecesssary settings for the tracing-example. #175

Closed
wants to merge 1 commit into from

Conversation

liweinan
Copy link
Contributor

No description provided.

@liweinan liweinan self-assigned this Nov 16, 2023
@liweinan
Copy link
Contributor Author

@jfdenise @jamezp I'm trying to use the Glow to replace the feature-pack settings. However it seems I removed the feature-packs and disable the Glow and the example still works. It there any configuration I should change?

@@ -39,7 +39,8 @@
<version.org.junit>5.10.1</version.org.junit>
<version.org.wildfly.arquillian>5.0.1.Final</version.org.wildfly.arquillian>
<version.wildfly-maven-plugin>4.2.0.Final</version.wildfly-maven-plugin>

Choose a reason for hiding this comment

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

The version of the plugin is 5.0.0.Alpha2.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay!

@liweinan liweinan changed the title trying to use Glow to provision WildFly in tracing-example Update components and cleanup unnecesssary settings for the tracing-example. Nov 17, 2023
@liweinan liweinan requested a review from jamezp November 17, 2023 15:43
@liweinan
Copy link
Contributor Author

@jfdenise It seems like this example just works without extra feature-packs settings, so it doesn't need the Glow to detect the feature packs and layers to use. I'll try to find another example that can be used as a show case. (I plan to use https://github.com/resteasy/resteasy-spring-examples which will need Glow for sure).

@jamezp I changed the title of this PR. Could you please help to review it when you have time? Thanks!

@@ -38,8 +38,8 @@
<version.org.jboss.resteasy.extensions>2.0.1.Final</version.org.jboss.resteasy.extensions>
<version.org.junit>5.10.1</version.org.junit>
<version.org.wildfly.arquillian>5.0.1.Final</version.org.wildfly.arquillian>
<version.wildfly-maven-plugin>4.2.1.Final</version.wildfly-maven-plugin>
<version.org.wildfly>28.0.0.Beta1</version.org.wildfly>
<version.wildfly-maven-plugin>5.0.0.Alpha2</version.wildfly-maven-plugin>
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm trying to decide how I feel about using an Alpha release in an example. Examples should be able to be modified to use in production. However, by adding a Alpha dependency makes it not feel like production quality.

That said, this is a plugin version so maybe it doesn't matter as much. It might though :)

Comment on lines -230 to -247
<!-- First configure the feature pack we are overriding -->
<feature-packs>
<feature-pack>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-ee-galleon-pack</artifactId>
<version>${version.org.wildfly}</version>
<excluded-packages>
<name>product.conf</name>
<name>docs.schema</name>
</excluded-packages>
</feature-pack>
<!-- Next include our own feature pack -->
<feature-pack>
<groupId>org.jboss.resteasy</groupId>
<artifactId>galleon-feature-pack</artifactId>
<version>${version.org.jboss.resteasy}</version>
</feature-pack>
</feature-packs>
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 remove this, we don't override the RESTEasy version in the container. Maybe that's not a big deal, but something to consider. TBH it's something we should think about for all the examples.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay I see!

@liweinan
Copy link
Contributor Author

I'll close this PR and leave the comments for reference.

Currently it seems hard to find a use case situation that needs the Glow for a resteasy-spring based project as demonstration purpose. I'll rethink about how layers detection feature of Glow can be shown in an example.

@liweinan liweinan closed this Nov 17, 2023
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.

3 participants