There is now no clean way how client could find out the server host/port. There is also no indication whether the server
is remote or local. This seems to be needed by several modules (ws, soa) - some of them are using terrible hack using
the leaking InstanceProperties (this is not reliable at all as there is no mandatory property for desired values).
We should provide api/spi representing ServerInstance (refactor subset of Deployment facade methods to it) and
ServerInstanceDescriptor (with methods to obtain host, port and remote flag).
*** Issue 77478 has been marked as a duplicate of this issue. ***
Attaching proposed change. The change is incremental to issue 135324 (diff expects that changes from 135324 are applied).
Created attachment 61766 [details]
Please provide feedback on whether this change match your needs. Is any other instance property needed?
If there are no objections, I'll push this tomorrow.
Fixed in bb8f1225e3f6.
Integrated into 'main-golden', available in NB_Trunk_Production #234 build
Log: #133751 Missing API to obtain server host/port and (possibly) other props.