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

Add a post about installing feature packs with Prospero #457

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

spyrkob
Copy link
Contributor

@spyrkob spyrkob commented Sep 15, 2023

No description provided.

Copy link
Member

@jmesnil jmesnil left a comment

Choose a reason for hiding this comment

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

@spyrkob thanks! I made a few suggestions to improve the flow of the article but the technical content is great!

_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
_posts/2023-09-13-prospero-add-feature-pack.adoc Outdated Show resolved Hide resolved
@jmesnil
Copy link
Member

jmesnil commented Sep 18, 2023

@spyrkob that's beyond the scope of this article but it would be great to be able to use prospero without having to build it from source. Could we add an executable binary whenever a new release of Prospero is created at https://github.com/wildfly-extras/prospero/releases?

@spyrkob spyrkob force-pushed the prospero_add_feature branch 2 times, most recently from a1cb719 to 67aa570 Compare October 4, 2023 13:00
@spyrkob
Copy link
Contributor Author

spyrkob commented Oct 4, 2023

@jmesnil thanks for the review, I updated the article and added a prospero release that the binary can be downloaded from

@spyrkob
Copy link
Contributor Author

spyrkob commented Oct 16, 2023

@jmesnil when you have a moment could you re-review this blog post please?

@spyrkob spyrkob requested a review from jmesnil November 1, 2023 11:35
@spyrkob spyrkob force-pushed the prospero_add_feature branch 2 times, most recently from 3034491 to 45338c1 Compare November 27, 2023 15:44
Copy link
Member

@jmesnil jmesnil left a comment

Choose a reason for hiding this comment

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

@spyrkob sorry, some of the versions are outdated as I've been slow to review your PR.

Otherwise, I proposed a few changes but the overall article looks good.

---
layout: post
title: "Installing additional feature packs in WildFly"
date: 2023-09-13
Copy link
Member

Choose a reason for hiding this comment

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

will have to be updated


== Introduction

In a previous article https://www.wildfly.org/news/2023/04/05/prospero/, you learnt how to install
Copy link
Member

Choose a reason for hiding this comment

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


== Additional feature packs for WildFly

Galleon feature packs provide a mechanism to extend WildFly server capabilities. An example of feature packs offered by the WildFly community are
Copy link
Member

Choose a reason for hiding this comment

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

s/offered/contributed ?


== Prerequisites

1. Download WildFly 29.0.1.Final and unzip it in `/tmp` folder:
Copy link
Member

Choose a reason for hiding this comment

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

should we update to WildFly 30?

streams:
- groupId: org.wildfly
artifactId: wildfly-datasources-galleon-pack
version: 5.0.0.Final
Copy link
Member

Choose a reason for hiding this comment

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

6.0.0.Final has been released last week


== Updating mariadb driver version

Steps above installed a default version of MariaDB driver, but using prospero and wildfly channels we are able to udate that.
Copy link
Member

Choose a reason for hiding this comment

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

s/udate/update


Steps above installed a default version of MariaDB driver, but using prospero and wildfly channels we are able to udate that.

First, let's add desired version of the driver to the datasources manifest:
Copy link
Member

Choose a reason for hiding this comment

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

the desired version


The detailed description of available configuration options can be found in the datasource feature pack documentation,
eg. https://github.com/wildfly-extras/wildfly-datasources-galleon-pack/blob/main/doc/mariadb/README.md#required-configuration[MariaDB configuration].
Managing WildFly system properties is described in the https://docs.wildfly.org/16/Admin_Guide.html#properties-2[WildFly Admin Guide]
Copy link
Member

Choose a reason for hiding this comment

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


[source]
----
export MARIADB_USER=test
Copy link
Member

Choose a reason for hiding this comment

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

it might be worth noting that we did nothing about the host as localhost:3306 is the default

In this article, we learned how to use Prospero to extend WildFly server with additional capabilities using feature packs.

In particular we used https://github.com/wildfly-extras/wildfly-datasources-galleon-pack[wildfly-datasources-galleon-pack] to install
and update a MariaDB datasource, but the same technique can be used to install other feature packs provided by the community.
Copy link
Member

Choose a reason for hiding this comment

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

s/provided/contributed

@spyrkob
Copy link
Contributor Author

spyrkob commented Nov 27, 2023

@jmesnil sorry, I should have updated the versions earlier. Renamed the blog file, and updated the versions to work with wildfly 30.0.0.Final/wildfly-datasources-galleon-pack 6.0.0.Final

@jmesnil jmesnil merged commit 6d5be3b into wildfly:main Nov 29, 2023
@jmesnil
Copy link
Member

jmesnil commented Nov 29, 2023

@spyrkob thanks!

@spyrkob spyrkob deleted the prospero_add_feature branch November 29, 2023 08:14
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