Details
Description
As part of the work being done for https://couchbasecloud.atlassian.net/browse/AV-42129, the CP UI will require to ask backend (Couchbase Server) for remote cluster information.
Right now, there are a few issues:
1 - HostNameMode is not being returned
3 - When setting replication setting, if HostNameMode is not explicitly set, it defaults to "" (empty string), and can override any existing setting, which could be "default" or "internal".
Once these are addressed, then CP UI can be improved upon to utilize these in the next iteration.