The workaround for this is to allow the env function and call env('jboss.node.name').
With 8.12.2 there will be a node_id system function that will return the jboss.node.name property value. The docs were updated as well.
Steven Hawkins
added a comment - The workaround for this is to allow the env function and call env('jboss.node.name').
With 8.12.2 there will be a node_id system function that will return the jboss.node.name property value. The docs were updated as well.
As a session property we'll have an issue if we ever move toward replicated sessions. It would be possible to retrieve via object table though. Pushing to 8.12.2 to get out 8.12.1
Steven Hawkins
added a comment - As a session property we'll have an issue if we ever move toward replicated sessions. It would be possible to retrieve via object table though. Pushing to 8.12.2 to get out 8.12.1
I think we can add as part of the session properties, beyond that it should be up to the user to grab those using the Admin methods etc to get to the Node name IMO
Ramesh Reddy
added a comment - I think we can add as part of the session properties, beyond that it should be up to the user to grab those using the Admin methods etc to get to the Node name IMO
I don't think I was explicit enough. The main question was whether this seems worth a system function? And if so, then for the embedded case are we saying something like we'll add an EmbeddedConfiguration field for node id or would we expect the system property to be set?
Steven Hawkins
added a comment - I don't think I was explicit enough. The main question was whether this seems worth a system function? And if so, then for the embedded case are we saying something like we'll add an EmbeddedConfiguration field for node id or would we expect the system property to be set?
We need to be careful here. Embedded / non-AS depoyments will not have the same notion of node id as AS (which looks like it would just be the jboss.server.name system property). Also since it is straight-forward to use a udf for this, are we sure a system function is needed?
Steven Hawkins
added a comment - We need to be careful here. Embedded / non-AS depoyments will not have the same notion of node id as AS (which looks like it would just be the jboss.server.name system property). Also since it is straight-forward to use a udf for this, are we sure a system function is needed?
The workaround for this is to allow the env function and call env('jboss.node.name').
With 8.12.2 there will be a node_id system function that will return the jboss.node.name property value. The docs were updated as well.