The http_configuration.

The http server configuration is stored in http_configuration.xml located in the servers config directory. It consists of a list of mount statements which mount web content to a route in the shared url-space.
If the page definitions have parameters these can be changed in the mount statement.

Example http_configuration.xml mounting the web dashboard on http://localhost:8080/dashboard/index.html

<http_configuration>
    <port>8080</port>
    <domain>localhost</domain>
    <mount template="no.dbwatch.dashboard:dashboard" route="dashboard/">
    </mount>
</http_configuration>

Mount examples

This statement mounts the dashboard at dashboard/

<mount template="no.dbwatch.dashboard:dashboard" route="dashboard/">
</mount>

While this statement mounts the dashboard at production/dashboard/ while restricting the instance selection to the production production

<mount template="no.dbwatch.dashboard:dashboard" route="production/dashboard/">
<property key="query_instances" value="instance[group='production']"/>
</mount>

Mountable web pages

Here is a description of the web pages provided in dbwatch.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment