Skip to content

Commit 2a85e14

Browse files
Updating baton config schema and capabilities.
1 parent f12fcae commit 2a85e14

File tree

2 files changed

+25
-21
lines changed

2 files changed

+25
-21
lines changed

baton_capabilities.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
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": "group",
7-
"displayName": "Group",
8-
"traits": [
5+
"resourceType": {
6+
"id": "group",
7+
"displayName": "Group",
8+
"traits": [
99
"TRAIT_GROUP"
1010
]
1111
},
12-
"capabilities": [
12+
"capabilities": [
1313
"CAPABILITY_SYNC",
1414
"CAPABILITY_PROVISION"
1515
]
1616
},
1717
{
18-
"resourceType": {
19-
"id": "project",
20-
"displayName": "Project"
18+
"resourceType": {
19+
"id": "project",
20+
"displayName": "Project"
2121
},
22-
"capabilities": [
22+
"capabilities": [
2323
"CAPABILITY_SYNC",
2424
"CAPABILITY_PROVISION"
2525
]
2626
},
2727
{
28-
"resourceType": {
29-
"id": "user",
30-
"displayName": "User",
31-
"traits": [
28+
"resourceType": {
29+
"id": "user",
30+
"displayName": "User",
31+
"traits": [
3232
"TRAIT_USER"
3333
]
3434
},
35-
"capabilities": [
35+
"capabilities": [
3636
"CAPABILITY_SYNC",
3737
"CAPABILITY_ACCOUNT_PROVISIONING"
3838
]
3939
}
4040
],
41-
"connectorCapabilities": [
41+
"connectorCapabilities": [
4242
"CAPABILITY_PROVISION",
4343
"CAPABILITY_SYNC",
4444
"CAPABILITY_ACCOUNT_PROVISIONING"
4545
],
46-
"credentialDetails": {
47-
"capabilityAccountProvisioning": {
48-
"supportedCredentialOptions": [
46+
"credentialDetails": {
47+
"capabilityAccountProvisioning": {
48+
"supportedCredentialOptions": [
4949
"CAPABILITY_DETAIL_CREDENTIAL_OPTION_NO_PASSWORD",
5050
"CAPABILITY_DETAIL_CREDENTIAL_OPTION_RANDOM_PASSWORD"
5151
],
52-
"preferredCredentialOption": "CAPABILITY_DETAIL_CREDENTIAL_OPTION_NO_PASSWORD"
52+
"preferredCredentialOption": "CAPABILITY_DETAIL_CREDENTIAL_OPTION_NO_PASSWORD"
5353
}
5454
}
5555
}

config_schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
"fields": [
33
{
44
"name": "access-token",
5+
"displayName": "Personal access token",
56
"description": "The access token to authenticate with the GitLab API",
67
"isRequired": true,
8+
"isSecret": true,
79
"stringField": {
810
"rules": {
911
"isRequired": true
@@ -12,13 +14,15 @@
1214
},
1315
{
1416
"name": "account-creation-group",
17+
"displayName": "Group",
1518
"description": "The group indicated will be used as a default group for the new users. Required for account creation capability in the Cloud Version.",
1619
"stringField": {
1720
"rules": {}
1821
}
1922
},
2023
{
2124
"name": "base-url",
25+
"displayName": "URL",
2226
"description": "The base URL of the GitLab instance",
2327
"stringField": {
2428
"defaultValue": "https://gitlab.com/",

0 commit comments

Comments
 (0)