To ensure that the HTTP backends detected in your application have meaningful names, your custom configuration will need to take into account the specific format in use format used in your environment.
The format can vary , including even within a single environment. For example, a backend hostname some backend systems may have hostnames prefixed with ec2storage, which may not be meaningful in naming, while one that uses others may use hostnames such as salesforce.com, which may be meaningful.
To account for different formats, you should create a custom rule rather than changing the automatic discovery rule. This lets you apply different rules for different URL formats. For example
You can then apply specialized approach for each case, as in the following examples:
- For format "ec2storage/servicename", you would use the URL
- For format "salesforce.com", use the host name
- For the other backends, you may use a query string