Settings API - Datasource with Summary Pattern Example schema table
Datasource with Summary Pattern Example (builtin:example.datasource-summarypattern
)
Showcase of datasource properties.
For the Java implementation check out ExampleDatasourceSummaryPatternSchema.java
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.datasource-summarypattern | - | environment environment-default |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
name | Name | text | - | required |
type | Type | enum | Controls the type of values the datasources will deliver | optional |
limit | Limit | integer | Controls the max number (inclusive) returned by the advanced datasource | required |
simple | Simple Datasource | text | Will return possible values based on type, but also allows custom defined values (no validation). Some of the values are visible only with devops access. | required |
advanced | Advanced Datasource | text | Will return possible values based on type and limit, only allows datasource values (with validation). Some of the values are visible only with devops access. | required |
datasourceEnumProp | Enum Datasource | enum | Will return possible values based on type which are intersected with the enum | required |