Skip to content

Commit 12ad805

Browse files
committed
manually update config_schema and capabilities
1 parent 4a2435c commit 12ad805

File tree

2 files changed

+132
-33
lines changed

2 files changed

+132
-33
lines changed

baton_capabilities.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
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": "collaborator",
7-
"displayName": "Collaborator",
8-
"traits": [
5+
"resourceType": {
6+
"id": "collaborator",
7+
"displayName": "Collaborator",
8+
"traits": [
99
"TRAIT_USER"
1010
],
11-
"annotations": [
11+
"annotations": [
1212
{
13-
"@type": "type.googleapis.com/c1.connector.v2.SkipEntitlementsAndGrants"
13+
"@type": "type.googleapis.com/c1.connector.v2.SkipEntitlementsAndGrants"
1414
}
1515
]
1616
},
17-
"capabilities": [
17+
"capabilities": [
1818
"CAPABILITY_SYNC"
1919
],
20-
"permissions": {}
20+
"permissions": {}
2121
},
2222
{
23-
"resourceType": {
24-
"id": "folder",
25-
"displayName": "Folder"
23+
"resourceType": {
24+
"id": "folder",
25+
"displayName": "Folder"
2626
},
27-
"capabilities": [
27+
"capabilities": [
2828
"CAPABILITY_SYNC"
2929
],
30-
"permissions": {}
30+
"permissions": {}
3131
},
3232
{
33-
"resourceType": {
34-
"id": "privilege",
35-
"displayName": "Privilege"
33+
"resourceType": {
34+
"id": "privilege",
35+
"displayName": "Privilege"
3636
},
37-
"capabilities": [
37+
"capabilities": [
3838
"CAPABILITY_SYNC"
3939
],
40-
"permissions": {}
40+
"permissions": {}
4141
},
4242
{
43-
"resourceType": {
44-
"id": "project",
45-
"displayName": "Project"
43+
"resourceType": {
44+
"id": "project",
45+
"displayName": "Project"
4646
},
47-
"capabilities": [
47+
"capabilities": [
4848
"CAPABILITY_SYNC"
4949
],
50-
"permissions": {}
50+
"permissions": {}
5151
},
5252
{
53-
"resourceType": {
54-
"id": "role",
55-
"displayName": "Roles",
56-
"traits": [
53+
"resourceType": {
54+
"id": "role",
55+
"displayName": "Roles",
56+
"traits": [
5757
"TRAIT_ROLE"
5858
]
5959
},
60-
"capabilities": [
60+
"capabilities": [
6161
"CAPABILITY_SYNC",
6262
"CAPABILITY_PROVISION"
6363
],
64-
"permissions": {}
64+
"permissions": {}
6565
}
6666
],
67-
"connectorCapabilities": [
67+
"connectorCapabilities": [
6868
"CAPABILITY_PROVISION",
6969
"CAPABILITY_SYNC"
7070
],
71-
"credentialDetails": {}
71+
"credentialDetails": {}
7272
}

config_schema.json

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"fields": [
3+
{
4+
"name": "disable-custom-roles-sync",
5+
"displayName": "Disable custom roles sync",
6+
"description": "Whether to disable custom roles sync or not",
7+
"boolField": {}
8+
},
9+
{
10+
"name": "log-level",
11+
"description": "The log level: debug, info, warn, error",
12+
"isOps": true,
13+
"stringField": {
14+
"defaultValue": "info"
15+
}
16+
},
17+
{
18+
"name": "log-level-debug-expires-at",
19+
"description": "The timestamp indicating when debug-level logging should expire",
20+
"isOps": true,
21+
"stringField": {}
22+
},
23+
{
24+
"name": "otel-collector-endpoint",
25+
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
26+
"isOps": true,
27+
"stringField": {}
28+
},
29+
{
30+
"name": "otel-collector-endpoint-tls-cert",
31+
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
32+
"isOps": true,
33+
"stringField": {}
34+
},
35+
{
36+
"name": "otel-collector-endpoint-tls-cert-path",
37+
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
38+
"isOps": true,
39+
"stringField": {}
40+
},
41+
{
42+
"name": "otel-collector-endpoint-tls-insecure",
43+
"description": "Allow insecure connections to the OpenTelemetry collector",
44+
"isOps": true,
45+
"boolField": {}
46+
},
47+
{
48+
"name": "otel-logging-disabled",
49+
"description": "Disable OpenTelemetry logging",
50+
"isOps": true,
51+
"boolField": {}
52+
},
53+
{
54+
"name": "otel-tracing-disabled",
55+
"description": "Disable OpenTelemetry tracing",
56+
"isOps": true,
57+
"boolField": {}
58+
},
59+
{
60+
"name": "session-store-maximum-size",
61+
"description": "The maximum size of the local in-memory session store cache in bytes.",
62+
"isOps": true,
63+
"intField": {
64+
"defaultValue": "15728640"
65+
}
66+
},
67+
{
68+
"name": "workato-api-key",
69+
"displayName": "API key",
70+
"description": "Your workato API key",
71+
"isRequired": true,
72+
"isSecret": true,
73+
"stringField": {
74+
"rules": {
75+
"isRequired": true
76+
}
77+
}
78+
},
79+
{
80+
"name": "workato-data-center",
81+
"displayName": "Data center",
82+
"description": "Your workato data center (us, eu, jp, sg, au) default is 'us' see more on https://docs.workato.com/workato-api.html#base-url",
83+
"stringField": {
84+
"defaultValue": "us"
85+
}
86+
},
87+
{
88+
"name": "workato-env",
89+
"displayName": "Environment",
90+
"description": "Your workato environment (dev, test, prod) default is 'dev'",
91+
"stringField": {
92+
"defaultValue": "dev"
93+
}
94+
}
95+
],
96+
"displayName": "Workato",
97+
"helpUrl": "/docs/baton/workato",
98+
"iconUrl": "/static/app-icons/workato.svg"
99+
}

0 commit comments

Comments
 (0)