e5dd7efdee
* Add uid to datasource * Fix uid passing when provisioning * Better error handling and Uid column type change * Fix test and strict null error counts * Add backend tests * Add tests * Fix strict null checks * Update test * Improve tests * Update pkg/services/sqlstore/datasource.go Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com> * Variable rename Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
32 lines
732 B
YAML
32 lines
732 B
YAML
apiVersion: 1
|
|
|
|
datasources:
|
|
- name: $TEST_VAR
|
|
type: type
|
|
access: proxy
|
|
orgId: 2
|
|
url: url
|
|
password: password
|
|
user: user
|
|
database: database
|
|
basicAuth: true
|
|
basicAuthUser: basic_auth_user
|
|
basicAuthPassword: basic_auth_password
|
|
withCredentials: true
|
|
isDefault: true
|
|
jsonData:
|
|
graphiteVersion: "1.1"
|
|
tlsAuth: true
|
|
tlsAuthWithCACert: true
|
|
secureJsonData:
|
|
tlsCACert: "MjNOcW9RdkbUDHZmpco2HCYzVq9dE+i6Yi+gmUJotq5CDA=="
|
|
tlsClientCert: "ckN0dGlyMXN503YNfjTcf9CV+GGQneN+xmAclQ=="
|
|
tlsClientKey: "ZkN4aG1aNkja/gKAB1wlnKFIsy2SRDq4slrM0A=="
|
|
editable: true
|
|
version: 10
|
|
uid: "test_uid"
|
|
|
|
deleteDatasources:
|
|
- name: old-graphite3
|
|
orgId: 2
|