Skip to content

Commit

Permalink
swagger: Add data provider ProviderType.NONE for DPs without graphs
Browse files Browse the repository at this point in the history
This provider type can be used for grouping purposes as well as to have
an entity to trigger configurations in the trace server front-ends.

[Added] data provider ProviderType.NONE for DPs without graphs

Signed-off-by: Bernd Hufmann <[email protected]>
  • Loading branch information
bhufmann committed Oct 25, 2024
1 parent 0f6277b commit 7d816ca
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public interface DataProvider {
* The provider types.
*/
enum ProviderType {
TABLE, TREE_TIME_XY, TIME_GRAPH, DATA_TREE
TABLE, TREE_TIME_XY, TIME_GRAPH, DATA_TREE, NONE
}

/**
Expand All @@ -43,7 +43,8 @@ enum ProviderType {
@Schema(description = "Type of data returned by this output. " +
"Serves as a hint to determine what kind of view should be used for this output (ex. XY, Time Graph, Table, etc..). " +
"Providers of type TREE_TIME_XY and TIME_GRAPH can be grouped under the same time axis. " +
"Providers of type DATA_TREE only provide a tree with columns and don't have any XY nor time graph data associated with it.")
"Providers of type DATA_TREE only provide a tree with columns and don't have any XY nor time graph data associated with it. " +
"Providers of type NONE have no data to visualize. Can be used for grouping purposes and/or as data provider configurator.")
ProviderType getType();

/**
Expand Down

0 comments on commit 7d816ca

Please sign in to comment.