Skip to content

Commit d2df6a6

Browse files
Updating baton config schema and capabilities.
1 parent b1d0db1 commit d2df6a6

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

baton_capabilities.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3-
"resourceTypeCapabilities": [
2+
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3+
"resourceTypeCapabilities": [
44
{
5-
"resourceType": {
6-
"id": "user",
7-
"displayName": "User",
8-
"traits": [
5+
"resourceType": {
6+
"id": "user",
7+
"displayName": "User",
8+
"traits": [
99
"TRAIT_USER"
1010
],
11-
"description": "Represents a user account in the system"
11+
"description": "Represents a user account in the system"
1212
},
13-
"capabilities": [
13+
"capabilities": [
1414
"CAPABILITY_SYNC",
1515
"CAPABILITY_PROVISION"
1616
],
17-
"permissions": {}
17+
"permissions": {}
1818
}
1919
],
20-
"connectorCapabilities": [
20+
"connectorCapabilities": [
2121
"CAPABILITY_PROVISION",
2222
"CAPABILITY_SYNC",
2323
"CAPABILITY_ACTIONS"
2424
],
25-
"credentialDetails": {}
25+
"credentialDetails": {}
2626
}

config_schema.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
{
22
"fields": [
3-
{
4-
"name": "config-path",
5-
"description": "The file path to the baton-sql config to use",
6-
"isRequired": true,
7-
"stringField": {
8-
"rules": {
9-
"isRequired": true
10-
}
11-
}
12-
},
133
{
144
"name": "log-level",
155
"description": "The log level: debug, info, warn, error",
@@ -24,21 +14,29 @@
2414
"isOps": true,
2515
"stringField": {}
2616
},
17+
{
18+
"name": "session-store-maximum-size",
19+
"description": "The maximum size of the local in-memory session store cache in bytes.",
20+
"isOps": true,
21+
"intField": {
22+
"defaultValue": "15728640"
23+
}
24+
},
2725
{
2826
"name": "otel-collector-endpoint",
2927
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
3028
"isOps": true,
3129
"stringField": {}
3230
},
3331
{
34-
"name": "otel-collector-endpoint-tls-cert",
35-
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
32+
"name": "otel-collector-endpoint-tls-cert-path",
33+
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
3634
"isOps": true,
3735
"stringField": {}
3836
},
3937
{
40-
"name": "otel-collector-endpoint-tls-cert-path",
41-
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
38+
"name": "otel-collector-endpoint-tls-cert",
39+
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
4240
"isOps": true,
4341
"stringField": {}
4442
},
@@ -49,23 +47,25 @@
4947
"boolField": {}
5048
},
5149
{
52-
"name": "otel-logging-disabled",
53-
"description": "Disable OpenTelemetry logging",
50+
"name": "otel-tracing-disabled",
51+
"description": "Disable OpenTelemetry tracing",
5452
"isOps": true,
5553
"boolField": {}
5654
},
5755
{
58-
"name": "otel-tracing-disabled",
59-
"description": "Disable OpenTelemetry tracing",
56+
"name": "otel-logging-disabled",
57+
"description": "Disable OpenTelemetry logging",
6058
"isOps": true,
6159
"boolField": {}
6260
},
6361
{
64-
"name": "session-store-maximum-size",
65-
"description": "The maximum size of the local in-memory session store cache in bytes.",
66-
"isOps": true,
67-
"intField": {
68-
"defaultValue": "15728640"
62+
"name": "config-path",
63+
"description": "The file path to the baton-sql config to use",
64+
"isRequired": true,
65+
"stringField": {
66+
"rules": {
67+
"isRequired": true
68+
}
6969
}
7070
}
7171
]

0 commit comments

Comments
 (0)