Skip to content

Commit

Permalink
go.d.plugin: update file path pattern in jsonschema (netdata#17164)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 authored Mar 14, 2024
1 parent d51a1db commit 410884d
Show file tree
Hide file tree
Showing 50 changed files with 146 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
6 changes: 3 additions & 3 deletions src/go/collectors/go.d.plugin/modules/bind/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
"description": "File path to the Dnsmasq DHCP server's lease database.",
"type": "string",
"default": "/var/lib/misc/dnsmasq.leases",
"pattern": "^/"
"pattern": "^$|^/"
},
"conf_path": {
"title": "Config file",
"description": "File path for the Dnsmasq configuration. Used to find all configured DHCP ranges.",
"type": "string",
"default": "/etc/dnsmasq.conf",
"pattern": "^/"
"pattern": "^$|^/"
},
"conf_dir": {
"title": "Config directory",
"description": "Directory path for Dnsmasq configurations. The syntax follows the same format as the [--conf-dir](https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) option.",
"type": "string",
"default": "/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"items": {
"title": "Filepath",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"uniqueItems": true
},
Expand All @@ -34,7 +34,7 @@
"items": {
"title": "Filepath",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"uniqueItems": true
}
Expand All @@ -61,7 +61,7 @@
"items": {
"title": "Directory",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"uniqueItems": true
},
Expand All @@ -72,7 +72,7 @@
"items": {
"title": "Directory",
"type": "string",
"pattern": "^/"
"pattern": "^$|^/"
},
"uniqueItems": true
}
Expand Down
Loading

0 comments on commit 410884d

Please sign in to comment.