Skip to content

Commit

Permalink
Fix error generating capabilities. Commit initial baton capabilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer committed Jul 9, 2024
1 parent dc92670 commit de0465a
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/capabilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
run: go build -o connector ./cmd/baton-slack

- name: Run and save output
env:
BATON_ENTERPRISE_TOKEN: ${{ secrets.BATON_ENTERPRISE_TOKEN }}
BATON_TOKEN: ${{ secrets.BATON_TOKEN }}
run: ./connector capabilities > baton_capabilities.json

- name: Commit changes
Expand Down
79 changes: 79 additions & 0 deletions baton_capabilities.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
"resourceTypeCapabilities": [
{
"resourceType": {
"id": "enterpriseRole",
"displayName": "Enterprise Role",
"traits": [
"TRAIT_ROLE"
]
},
"capabilities": [
"CAPABILITY_SYNC"
]
},
{
"resourceType": {
"id": "group",
"displayName": "IDP Group",
"traits": [
"TRAIT_GROUP"
]
},
"capabilities": [
"CAPABILITY_SYNC",
"CAPABILITY_PROVISION"
]
},
{
"resourceType": {
"id": "user",
"displayName": "User",
"traits": [
"TRAIT_USER"
]
},
"capabilities": [
"CAPABILITY_SYNC"
]
},
{
"resourceType": {
"id": "userGroup",
"displayName": "User Group",
"traits": [
"TRAIT_GROUP"
]
},
"capabilities": [
"CAPABILITY_SYNC"
]
},
{
"resourceType": {
"id": "workspace",
"displayName": "Workspace",
"traits": [
"TRAIT_GROUP"
]
},
"capabilities": [
"CAPABILITY_SYNC"
]
},
{
"resourceType": {
"id": "workspaceRole",
"displayName": "Workspace Role",
"traits": [
"TRAIT_ROLE"
]
},
"capabilities": [
"CAPABILITY_SYNC",
"CAPABILITY_PROVISION"
]
}
]
}

0 comments on commit de0465a

Please sign in to comment.