Another existing thing that may be relevant -- Harald Pehl's cool
model-graph-tools work:
https://github.com/model-graph-tools/setup?tab=readme-ov-file
I picked that particular link because the README has more of an overview of
the various pieces in that github org.
We're talking here about expanding the graph.
Since I used the word graph and part of what we're discussing is the
natural language description of these things, now I'll say GraphRAG and go
drink a shot. ;-)
On Thu, Mar 27, 2025 at 2:45 AM Jeff Mesnil via wildfly-dev <
wildfly-dev(a)lists.jboss.org> wrote:
Hi,
> On 26 Mar 2025, at 17:14, Jean Francois Denise <jdenise(a)redhat.com>
wrote:
>
> Hi Jeff,
> I would like to add the Wildfly Glow documentation[1] to your
description.
> The doc contains, for each execution context (cloud vs bare-metal), what
Glow knows about:
> * The feature-packs [2]
> * For each layer of each feature-pack, the set of rules that activates
it [3]. For example: <prop name="org.wildfly.rule.class"
value="dev.langchain4j.*,org.eclipse.microprofile.ai.llm.*"/>
> BTW: the documentation for the incubating space was missing, I just
enabled it.
>
> We do generate this information from a maven plugin that inspects the
feature-packs content [4].
See, I was not joking when I was saying that the
https://github.com/wildfly/wildfly-galleon-feature-packs repo was the
magical sauce behind these improvements :)
Thanks for reminding me of this documentation.
https://docs.wildfly.org/wildfly-galleon-feature-packs/#_supported_galleo...
is a valuable source of information that should surface higher in our doc
tree.
It is valuable not only in the context of WildFly Glow but also for users
that wants to know about layers.
We should link to it
https://docs.wildfly.org/35/Galleon_Guide.html#wildfly_galleon_layers.
We could also go one level deeper and documents what each layer provides.
For example the "postgresql-datasource” layer should also explains which
resources it provides to give a human-reading description of its features
at
https://github.com/wildfly-extras/wildfly-datasources-galleon-pack/blob/m...
.
Perhaps this is what you meant, but a general description of what a layer
does is fine, and the language for that can touch a bit on resources
provided, but it shouldn't try to be complete or overly detailed.
I think adding natural language resource descriptions for each feature into
layer-spec.xml is too much. It's duplicate content. And it's hard enough to
get the original content right!
And, if possible tie that with our model reference for the datasource
As a practical matter, they must be tied, at least at the time of content
generation. Unless we are going to bloat all of our generated Galleon
feature spec.xml files with all the resource description content. Or
duplicate what wildscribe does.
Perhaps duplicating what wildscribe does could make sense for this fp/layer
documentation effort, but then we'd be less likely to get proper links.
Tangent:
https://docs.wildfly.org/35/wildscribe/subsystem/datasources/data-source/...
is kind of a bug. That page only exists because we generate a specific
ManagementResourceRegistration for 'ExampleDS' to account for any
driver-specific runtime attributes it provides. That's fine, but we're
missing any wildscribe content for the base datasource=* resource it
extends.
^^^ is only a semi-tangent as this is the kind of problem that we can kind
of ignore now but which might be harder to ignore if we start linking
things together.
That is already a way to answer part of your questions I think.
Definitely, we have related snippets of documentation spread out in our
existing docs and GitHub repos. I’m now trying to figure out a way to drill
down this information in a comprehensive manner.
Best regards,
Jeff
--
Jeff Mesnil
Engineer @ Red Hat
http://jmesnil.net/
_______________________________________________
wildfly-dev mailing list -- wildfly-dev(a)lists.jboss.org
To unsubscribe send an email to wildfly-dev-leave(a)lists.jboss.org
Privacy Statement:
https://www.redhat.com/en/about/privacy-policy
List Archives:
https://lists.jboss.org/archives/list/wildfly-dev@lists.jboss.org/message...
--
Brian Stansberry
Principal Architect, Red Hat JBoss EAP
WildFly Project Lead
He/Him/His