Operation - Diagrams
Resource Tree and Deployment Infrastructure Diagram
The CSE can generate a diagram with an overview about the hosted resource tree and the current deployment infrastructure of remote CSEs. This is available by sending a GET request as follows:
This returns a PlantUML diagram script that can be rendered with the PlantUML tool. The diagram shows the resource tree and the deployment infrastructure of remote CSEs. The diagram can be used to get an overview of the current deployment and to identify potential issues.
An optional argument lvl=<int> can be provided to the URL to limit the number if levels of the resource tree in the diagram.
This feature must be enabled in the configuration file under [server.http].enableStructureEndpoint
.
Attention
Enabling this feature might reveal sensitive data. It should be disabled if not used.
When enabled the http server creates an additional endpoint /__structure__. A GET request to that endpoint returns a diagram description in PlantUML format that can be transformed in images with various tools (for example, with the online editor on the PlantUML website).
A similar text representation of the resource tree only can be retrieved from the endpoint /__structure__/text .