@aifabrix/builder 2.52.1 → 2.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/deploy-config.js +3 -2
- package/lib/channels/add-channel.js +11 -41
- package/lib/channels/approval-guides/index.js +3 -0
- package/lib/channels/approval-guides/microsoft-copilot.js +26 -17
- package/lib/channels/channel-add-existing.js +72 -0
- package/lib/channels/channel-runtime-resolver.js +5 -1
- package/lib/channels/channel-status-display.js +30 -3
- package/lib/channels/microsoft-copilot-entra-sso-form.js +73 -2
- package/lib/channels/microsoft-copilot-entra-sso.js +26 -5
- package/lib/channels/microsoft-copilot-limits.js +22 -3
- package/lib/channels/microsoft-copilot-package.js +59 -14
- package/lib/channels/microsoft-copilot-validate.js +40 -10
- package/lib/cli/attach-default-help-examples.js +102 -0
- package/lib/cli/index.js +2 -0
- package/lib/cli/setup-credential-deployment.js +7 -5
- package/lib/cli/setup-utility-validate.js +1 -0
- package/lib/commands/credential-push.js +37 -5
- package/lib/commands/package-score.js +72 -0
- package/lib/commands/role-assistant.js +46 -8
- package/lib/deployment/deployer-poll-run.js +2 -2
- package/lib/deployment/deployer.js +1 -1
- package/lib/deployment/environment.js +2 -2
- package/lib/external-system/deploy.js +11 -21
- package/lib/integration-definition/apply.js +12 -14
- package/lib/integration-definition/enrich-openapi-operations.js +9 -10
- package/lib/lab/package-parity-score.js +417 -0
- package/lib/programmatic/capability-registry.js +1 -0
- package/lib/programmatic/help-content/channel-onboarding.md +35 -0
- package/lib/programmatic/help-content/cip-overview.md +27 -0
- package/lib/programmatic/help-content/connected-system-ui.md +70 -0
- package/lib/programmatic/help-content/dimensions-guide.md +23 -0
- package/lib/programmatic/help-content/enterprise-sync-fabrix.md +123 -0
- package/lib/programmatic/help-content/overview.md +25 -0
- package/lib/programmatic/help-content/subscription-guide.md +27 -0
- package/lib/programmatic/help-content/workflow.md +50 -0
- package/lib/programmatic/openapi-component-schemas.js +1 -0
- package/lib/programmatic/openapi-descriptions.js +6 -0
- package/lib/programmatic/openapi-envelope-examples.js +11 -0
- package/lib/programmatic/openapi-operation-bindings.js +5 -0
- package/lib/programmatic/openapi-request-schemas.js +39 -13
- package/lib/programmatic/openapi-result-schemas.js +30 -0
- package/lib/programmatic/openapi-schema-descriptions-core.js +18 -0
- package/lib/programmatic/openapi-schema-descriptions-operations.js +19 -0
- package/lib/programmatic/persist-supplied-openapi.js +180 -0
- package/lib/programmatic/route-handler-map.js +6 -0
- package/lib/programmatic/run-integration-definition.js +13 -5
- package/lib/role-assistant/evidence-sync.js +55 -7
- package/lib/role-assistant/test-runner-attachments.js +118 -0
- package/lib/role-assistant/test-runner-bid-apply.js +100 -21
- package/lib/role-assistant/test-runner-bid-document.js +1 -1
- package/lib/role-assistant/test-runner-start-payload.js +96 -0
- package/lib/role-assistant/test-runner-workhub-answers.js +11 -7
- package/lib/role-assistant/test-runner-workhub-helpers.js +100 -0
- package/lib/role-assistant/test-runner-workhub-soft.js +86 -0
- package/lib/role-assistant/test-runner-workhub.js +68 -105
- package/lib/role-assistant/test-runner.js +5 -63
- package/lib/role-assistant/test-suite.js +33 -40
- package/lib/schema/external-datasource.schema.json +13 -4
- package/lib/utils/compose-generator.js +10 -1
- package/lib/utils/compose-traefik-extra-routes.js +107 -0
- package/lib/utils/docker-build.js +2 -2
- package/lib/utils/help-builder.js +2 -1
- package/lib/utils/promote-dev-docker-image.js +15 -10
- package/package.json +14 -16
- package/templates/README.md +12 -1
- package/templates/applications/dataplane/application.yaml +8 -1
- package/templates/applications/dataplane/env.template +1 -1
- package/templates/applications/miso-controller/application.yaml +2 -1
- package/templates/applications/miso-controller/rbac.yaml +1 -0
- package/templates/channels/microsoft-copilot/ai-plugin.template.json.hbs +6 -2
- package/templates/channels/microsoft-copilot/entra-sso-registration.template.md.hbs +8 -5
- package/templates/channels/microsoft-copilot/fi-fi.template.json.hbs +7 -0
- package/templates/channels/microsoft-copilot/install.template.md.hbs +74 -22
- package/templates/channels/microsoft-copilot/manifest.template.json.hbs +29 -14
- package/templates/channels/microsoft-copilot/oauth-plugin-vault-required.template.md.hbs +6 -2
- package/templates/python/docker-compose.hbs +36 -0
- package/templates/typescript/docker-compose.hbs +36 -0
- package/.cursor/plans/Archive/157.1-security-quality-violations-by-type.csv +0 -374
- package/.cursor/process/README.md +0 -9
- package/.cursor/rules/anchor-docs.mdc +0 -15
- package/.cursor/rules/assistant-driven-integration-build.mdc +0 -40
- package/.cursor/rules/cli-layout.mdc +0 -81
- package/.cursor/rules/cli-product-neutral.mdc +0 -43
- package/.cursor/rules/deploy-rules/docker-image-ip-policy.mdc +0 -49
- package/.cursor/rules/docs-rules.mdc +0 -32
- package/.cursor/rules/plan-rules/application-lifecycle.mdc +0 -30
- package/.cursor/rules/plan-rules/plan-frontmatter.mdc +0 -35
- package/.cursor/rules/plan-rules/plan-lifecycle.mdc +0 -31
- package/.cursor/rules/plan-rules/plan-validation-gate.mdc +0 -34
- package/.cursor/rules/project-rules.mdc +0 -913
- package/.cursor/skills/README.md +0 -15
- package/.dockerignore +0 -52
- package/.eslintignore +0 -22
- package/.markdownlint.json +0 -14
- package/anchor-docs/README.md +0 -10
- package/anchor-docs/_TEMPLATE +0 -24
- package/babel.config.js +0 -6
- package/bin/builder-api-cleanup.js +0 -26
- package/bin/builder-api-nest.js +0 -10
- package/bin/builder-api-spike.js +0 -19
- package/enterprise-knowledge/README.md +0 -50
- package/enterprise-knowledge/enterprise-integration-lifecycle/README.md +0 -22
- package/enterprise-knowledge/enterprise-integration-lifecycle/application.json +0 -15
- package/enterprise-knowledge/enterprise-integration-lifecycle/deploy.js +0 -69
- package/enterprise-knowledge/enterprise-integration-lifecycle/enterprise-integration-lifecycle-deploy.json +0 -52
- package/enterprise-knowledge/enterprise-integration-lifecycle/enterprise-integration-lifecycle-system.json +0 -29
- package/enterprise-knowledge/enterprise-integration-lifecycle/env.template +0 -2
- package/integration/README.md +0 -81
- package/integration/github/README.md +0 -53
- package/integration/github/application.json +0 -21
- package/integration/github/deploy.js +0 -72
- package/integration/github/env.template +0 -11
- package/integration/github/github-datasource-issue-comments.json +0 -239
- package/integration/github/github-datasource-issues.json +0 -399
- package/integration/github/github-datasource-repository.json +0 -354
- package/integration/github/github-deploy.json +0 -1202
- package/integration/github/github-system.json +0 -82
- package/integration/hubspot-test/README.md +0 -159
- package/integration/hubspot-test/application.json +0 -54
- package/integration/hubspot-test/companies.json +0 -2048
- package/integration/hubspot-test/create-hubspot.js +0 -523
- package/integration/hubspot-test/env.template +0 -4
- package/integration/hubspot-test/hubspot-test-datasource-company.json +0 -138
- package/integration/hubspot-test/hubspot-test-datasource-contact.json +0 -146
- package/integration/hubspot-test/hubspot-test-datasource-deal.json +0 -146
- package/integration/hubspot-test/hubspot-test-datasource-users.json +0 -76
- package/integration/hubspot-test/hubspot-test-deploy.json +0 -2160
- package/integration/hubspot-test/hubspot-test-system.json +0 -74
- package/integration/hubspot-test/rbac.json +0 -166
- package/integration/hubspot-test/test-artifacts/wizard-hubspot-credential-real.yaml +0 -20
- package/integration/hubspot-test/test-artifacts/wizard-hubspot-env-vars.yaml +0 -9
- package/integration/hubspot-test/test-artifacts/wizard-invalid-add-datasource.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-app-name.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-credential-create.yaml +0 -7
- package/integration/hubspot-test/test-artifacts/wizard-invalid-credential-select.yaml +0 -7
- package/integration/hubspot-test/test-artifacts/wizard-invalid-known-platform.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-invalid-missing-app.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-invalid-missing-source.yaml +0 -2
- package/integration/hubspot-test/test-artifacts/wizard-invalid-mode.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-openapi-file.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-openapi-url.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-invalid-source.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-array-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-key-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-path-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-rbac-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-rbac-yaml-test.yaml +0 -5
- package/integration/hubspot-test/test-dataplane-down-helpers.js +0 -249
- package/integration/hubspot-test/test-dataplane-down-tests.js +0 -386
- package/integration/hubspot-test/test-dataplane-down.js +0 -209
- package/integration/hubspot-test/test.js +0 -1588
- package/integration/hubspot-test/wizard-hubspot-e2e.yaml +0 -16
- package/integration/hubspot-test/wizard-hubspot-platform.yaml +0 -8
- package/integration/hubspot-test/wizard-hubspot-test-headless.yaml +0 -23
- package/integration/roundtrip-test-local/README.md +0 -143
- package/integration/roundtrip-test-local/application.yaml +0 -13
- package/integration/roundtrip-test-local/env.template +0 -15
- package/integration/roundtrip-test-local/roundtrip-test-local-datasource-roundtrip-test-company.yaml +0 -14
- package/integration/roundtrip-test-local/roundtrip-test-local-deploy.json +0 -61
- package/integration/roundtrip-test-local/roundtrip-test-local-system.yaml +0 -25
- package/integration/roundtrip-test-local2/README.md +0 -143
- package/integration/roundtrip-test-local2/application.yaml +0 -13
- package/integration/roundtrip-test-local2/env.template +0 -15
- package/integration/roundtrip-test-local2/roundtrip-test-local2-datasource-company.yaml +0 -31
- package/integration/roundtrip-test-local2/roundtrip-test-local2-deploy.json +0 -86
- package/integration/roundtrip-test-local2/roundtrip-test-local2-system.yaml +0 -25
- package/integration/test/wizard.yaml +0 -8
- package/jest.config.coverage.js +0 -37
- package/jest.config.default.js +0 -11
- package/jest.config.integration.fixtures.js +0 -22
- package/jest.config.integration.js +0 -33
- package/jest.config.isolated.js +0 -11
- package/jest.config.manual.js +0 -30
- package/jest.global-live-fabrix-hooks.js +0 -36
- package/jest.isolated-projects.js +0 -283
- package/jest.projects.js +0 -79
- package/lib/integration-definition/openapi-enrichment/hubspot-crm-companies.json +0 -205
- package/packages/builder-api/README.md +0 -120
- package/packages/builder-api/package.json +0 -30
- package/packages/builder-api/src/app.module.ts +0 -7
- package/packages/builder-api/src/auth/auth.module.ts +0 -5
- package/packages/builder-api/src/external-system/external-system.module.ts +0 -5
- package/packages/builder-api/src/main.ts +0 -16
- package/packages/builder-api/tsconfig.json +0 -15
- package/scripts/check-builder-api-architecture-grep.js +0 -79
- package/scripts/check-datasource-test-run-schema-sync.js +0 -34
- package/scripts/ci-fix.sh +0 -19
- package/scripts/ci-simulate.sh +0 -19
- package/scripts/diagnose-cli.js +0 -150
- package/scripts/docker_image_content_gate.js +0 -47
- package/scripts/docker_image_content_gate.sh +0 -5
- package/scripts/export-builder-api-evidence.js +0 -262
- package/scripts/install-local.js +0 -490
- package/scripts/lib/builder-api-docker-staging-copy.js +0 -60
- package/scripts/lib/builder-api-docker-staging-core.js +0 -183
- package/scripts/lib/docker-image-content-gate-core.js +0 -166
- package/scripts/lib/plan-actor.js +0 -109
- package/scripts/lib/plan-config.js +0 -20
- package/scripts/lib/plan-gates.js +0 -154
- package/scripts/lib/plan-meta.js +0 -104
- package/scripts/lib/plan-parse.js +0 -162
- package/scripts/lib/plan-prevalidate-gates.js +0 -337
- package/scripts/lib/plan-run-core.js +0 -125
- package/scripts/lib/plan-run-report.js +0 -119
- package/scripts/plan-approve.js +0 -24
- package/scripts/plan-archive.js +0 -49
- package/scripts/plan-run.js +0 -13
- package/scripts/plan-set-actor.js +0 -21
- package/scripts/plan-validate.js +0 -80
- package/scripts/pnpm/af.mjs +0 -125
- package/scripts/pnpm/check-quiet.mjs +0 -32
- package/scripts/pnpm/dev-install.mjs +0 -29
- package/scripts/pnpm/dev-reload.mjs +0 -18
- package/scripts/pnpm/help.mjs +0 -55
- package/scripts/pnpm/lib/dev-reload-core.mjs +0 -189
- package/scripts/pnpm/lib/dev-reload-log-capture.mjs +0 -67
- package/scripts/pnpm/lib/dev-reload-log-utils.mjs +0 -32
- package/scripts/pnpm/lib/resolve-aifabrix-bin.mjs +0 -124
- package/scripts/pnpm/lib/resolve-app-url.mjs +0 -183
- package/scripts/pnpm/lib/spinner.mjs +0 -42
- package/scripts/pnpm-global-remove.js +0 -48
- package/scripts/stage_builder_api_for_docker.js +0 -65
- package/scripts/sync-builder-api-template.js +0 -44
- package/scripts/test-dataplane-bootstrap.js +0 -331
|
@@ -1,1202 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "github",
|
|
3
|
-
"displayName": "GitHub",
|
|
4
|
-
"description": "Production GitHub repository provider: delegated OAuth via Miso apiProvider, issues, comments, and repository lifecycle CIP.",
|
|
5
|
-
"type": "external",
|
|
6
|
-
"version": "1.0.0",
|
|
7
|
-
"externalIntegration": {
|
|
8
|
-
"schemaBasePath": "./",
|
|
9
|
-
"systems": [
|
|
10
|
-
"github-system.json"
|
|
11
|
-
],
|
|
12
|
-
"dataSources": [
|
|
13
|
-
"github-datasource-issues.json",
|
|
14
|
-
"github-datasource-issue-comments.json",
|
|
15
|
-
"github-datasource-repository.json"
|
|
16
|
-
],
|
|
17
|
-
"autopublish": true,
|
|
18
|
-
"version": "1.0.0"
|
|
19
|
-
},
|
|
20
|
-
"system": {
|
|
21
|
-
"key": "github",
|
|
22
|
-
"displayName": "GitHub",
|
|
23
|
-
"description": "Production GitHub REST integration: repository issues (list/create/update/close), issue comments, and repository lifecycle operations. Uses Miso apiProvider github with GitHub App expiring user tokens.",
|
|
24
|
-
"type": "custom",
|
|
25
|
-
"enabled": true,
|
|
26
|
-
"authentication": {
|
|
27
|
-
"authType": "apiProvider",
|
|
28
|
-
"apiProvider": {
|
|
29
|
-
"apiProviderKey": "github"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"configuration": [
|
|
33
|
-
{
|
|
34
|
-
"name": "BASE_URL",
|
|
35
|
-
"value": "https://api.github.com",
|
|
36
|
-
"location": "variable",
|
|
37
|
-
"required": true
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "GITHUB_OWNER",
|
|
41
|
-
"value": "{{GITHUB_OWNER}}",
|
|
42
|
-
"location": "variable",
|
|
43
|
-
"required": true,
|
|
44
|
-
"portalInput": {
|
|
45
|
-
"field": "text",
|
|
46
|
-
"label": "GitHub repository owner",
|
|
47
|
-
"placeholder": "Organization or user login (e.g. octocat)",
|
|
48
|
-
"validation": {
|
|
49
|
-
"required": true,
|
|
50
|
-
"minLength": 1
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "GITHUB_REPO",
|
|
56
|
-
"value": "{{GITHUB_REPO}}",
|
|
57
|
-
"location": "variable",
|
|
58
|
-
"required": true,
|
|
59
|
-
"portalInput": {
|
|
60
|
-
"field": "text",
|
|
61
|
-
"label": "GitHub repository name",
|
|
62
|
-
"placeholder": "Repository name without owner (e.g. Hello-World)",
|
|
63
|
-
"validation": {
|
|
64
|
-
"required": true,
|
|
65
|
-
"minLength": 1
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"endpoints": [
|
|
71
|
-
{
|
|
72
|
-
"type": "issues",
|
|
73
|
-
"path": "/issues",
|
|
74
|
-
"description": "GitHub repository issues",
|
|
75
|
-
"active": true
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"type": "comments",
|
|
79
|
-
"path": "/comments",
|
|
80
|
-
"description": "GitHub issue comments",
|
|
81
|
-
"active": true
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"endpointsActive": true,
|
|
85
|
-
"dataSources": [
|
|
86
|
-
"github-issues",
|
|
87
|
-
"github-issue-comments",
|
|
88
|
-
"github-repository"
|
|
89
|
-
],
|
|
90
|
-
"certification": {
|
|
91
|
-
"enabled": true,
|
|
92
|
-
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtwvWqPVKNUCLAmBIrK0u\nrsxzgtvIiyIFQVc+T5FeBYevUDOoS2VBF0aOCJGGV8P+ARzU7PtaTCZYvRvsmqou\namy+c1+b0kGCObh/gxGGVCFmbH4VCfQ2xkwML8vvAHXBW1v9Abu9EuTv3YpIZUSh\nq+0xuivs3xYwq5Lm/K10WaWzfwbjCND0K7aQmNhQq+n45EjgmkEWV2gQUDyALzsW\nfTikMtbBJEQ8BSCN8uOsZsa8MH2bBFgThIUXX/gxeUIEBfEavi8F3eR2ZC+Q/if2\nJkIwUCcH5nN2jTCDZgt5CLTIhYs51A+1kLTjtCmJ2fMmeV7Wr3DgnzdbM1cHRnT+\nlwIDAQAB\n-----END PUBLIC KEY-----",
|
|
93
|
-
"algorithm": "RS256",
|
|
94
|
-
"issuer": "Dataplane - community edition",
|
|
95
|
-
"version": "1.0.0",
|
|
96
|
-
"status": "passed",
|
|
97
|
-
"level": "SILVER",
|
|
98
|
-
"publicKeyFingerprint": "sha256:e14a67b980051e46d6b15e2c42c57aea6328d8c96622d10f01e4f9c2f22af3c5",
|
|
99
|
-
"contractHash": "sha256:70531b5131122bd8b93c948dc93506b9d3cce5fe28efa4a28d136022f834ccc5"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"dataSources": [
|
|
103
|
-
{
|
|
104
|
-
"key": "github-issues",
|
|
105
|
-
"displayName": "GitHub Issues",
|
|
106
|
-
"description": "Repository issues via GitHub REST API: list, get, create, update, and close (GitHub does not support hard delete).",
|
|
107
|
-
"enabled": true,
|
|
108
|
-
"systemKey": "github",
|
|
109
|
-
"resourceType": "ticket",
|
|
110
|
-
"entityType": "recordStorage",
|
|
111
|
-
"version": "1.0.0",
|
|
112
|
-
"businessOrder": 1,
|
|
113
|
-
"metadataSchema": {
|
|
114
|
-
"type": "object",
|
|
115
|
-
"properties": {
|
|
116
|
-
"externalId": {
|
|
117
|
-
"type": "string",
|
|
118
|
-
"index": true,
|
|
119
|
-
"description": "Stable external record identifier (issue number as string)"
|
|
120
|
-
},
|
|
121
|
-
"number": {
|
|
122
|
-
"type": "integer",
|
|
123
|
-
"index": true,
|
|
124
|
-
"description": "Issue number within the repository"
|
|
125
|
-
},
|
|
126
|
-
"id": {
|
|
127
|
-
"type": "integer",
|
|
128
|
-
"description": "GitHub internal issue id"
|
|
129
|
-
},
|
|
130
|
-
"title": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"index": true,
|
|
133
|
-
"filter": true,
|
|
134
|
-
"description": "Issue title"
|
|
135
|
-
},
|
|
136
|
-
"body": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"description": "Issue body (markdown)"
|
|
139
|
-
},
|
|
140
|
-
"state": {
|
|
141
|
-
"type": "string",
|
|
142
|
-
"index": true,
|
|
143
|
-
"filter": true,
|
|
144
|
-
"description": "Issue state: open or closed"
|
|
145
|
-
},
|
|
146
|
-
"htmlUrl": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"format": "uri",
|
|
149
|
-
"description": "Web URL for the issue"
|
|
150
|
-
},
|
|
151
|
-
"createdAt": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"format": "date-time",
|
|
154
|
-
"description": "Issue creation timestamp"
|
|
155
|
-
},
|
|
156
|
-
"updatedAt": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"format": "date-time",
|
|
159
|
-
"description": "Issue last update timestamp"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"required": [
|
|
163
|
-
"number",
|
|
164
|
-
"title"
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
"fieldMappings": {
|
|
168
|
-
"attributes": {
|
|
169
|
-
"externalId": {
|
|
170
|
-
"expression": "{{raw.number}}"
|
|
171
|
-
},
|
|
172
|
-
"number": {
|
|
173
|
-
"expression": "{{raw.number}}"
|
|
174
|
-
},
|
|
175
|
-
"id": {
|
|
176
|
-
"expression": "{{raw.id}}"
|
|
177
|
-
},
|
|
178
|
-
"title": {
|
|
179
|
-
"expression": "{{raw.title}}"
|
|
180
|
-
},
|
|
181
|
-
"body": {
|
|
182
|
-
"expression": "{{raw.body}}"
|
|
183
|
-
},
|
|
184
|
-
"state": {
|
|
185
|
-
"expression": "{{raw.state}}"
|
|
186
|
-
},
|
|
187
|
-
"htmlUrl": {
|
|
188
|
-
"expression": "{{raw.html_url}}"
|
|
189
|
-
},
|
|
190
|
-
"createdAt": {
|
|
191
|
-
"expression": "{{raw.created_at}}"
|
|
192
|
-
},
|
|
193
|
-
"updatedAt": {
|
|
194
|
-
"expression": "{{raw.updated_at}}"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"primaryKey": [
|
|
199
|
-
"number"
|
|
200
|
-
],
|
|
201
|
-
"labelKey": [
|
|
202
|
-
"title"
|
|
203
|
-
],
|
|
204
|
-
"exposed": {
|
|
205
|
-
"filterable": [
|
|
206
|
-
"title",
|
|
207
|
-
"state"
|
|
208
|
-
],
|
|
209
|
-
"readonly": [
|
|
210
|
-
"number",
|
|
211
|
-
"id",
|
|
212
|
-
"htmlUrl",
|
|
213
|
-
"createdAt",
|
|
214
|
-
"updatedAt"
|
|
215
|
-
],
|
|
216
|
-
"schema": {
|
|
217
|
-
"externalId": "metadata.externalId",
|
|
218
|
-
"number": "metadata.number",
|
|
219
|
-
"id": "metadata.id",
|
|
220
|
-
"title": "metadata.title",
|
|
221
|
-
"body": "metadata.body",
|
|
222
|
-
"state": "metadata.state",
|
|
223
|
-
"htmlUrl": "metadata.htmlUrl",
|
|
224
|
-
"createdAt": "metadata.createdAt",
|
|
225
|
-
"updatedAt": "metadata.updatedAt"
|
|
226
|
-
},
|
|
227
|
-
"profiles": {
|
|
228
|
-
"default": [
|
|
229
|
-
"number",
|
|
230
|
-
"title",
|
|
231
|
-
"body",
|
|
232
|
-
"state",
|
|
233
|
-
"htmlUrl",
|
|
234
|
-
"createdAt",
|
|
235
|
-
"updatedAt"
|
|
236
|
-
],
|
|
237
|
-
"create": [
|
|
238
|
-
"title",
|
|
239
|
-
"body"
|
|
240
|
-
],
|
|
241
|
-
"update": [
|
|
242
|
-
"title",
|
|
243
|
-
"body",
|
|
244
|
-
"state"
|
|
245
|
-
]
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
"openapi": {
|
|
249
|
-
"enabled": true,
|
|
250
|
-
"autoRbac": false,
|
|
251
|
-
"operations": {
|
|
252
|
-
"list": {
|
|
253
|
-
"operationId": "list-repos-owner-repo-issues",
|
|
254
|
-
"method": "GET",
|
|
255
|
-
"path": "/repos/{GITHUB_OWNER}/{GITHUB_REPO}/issues",
|
|
256
|
-
"permissions": [
|
|
257
|
-
"external-system:read"
|
|
258
|
-
]
|
|
259
|
-
},
|
|
260
|
-
"get": {
|
|
261
|
-
"operationId": "get-repos-owner-repo-issues-issue-number",
|
|
262
|
-
"method": "GET",
|
|
263
|
-
"path": "/repos/{GITHUB_OWNER}/{GITHUB_REPO}/issues/{recordId}",
|
|
264
|
-
"permissions": [
|
|
265
|
-
"external-system:read"
|
|
266
|
-
]
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
"documentKey": "github-issues"
|
|
270
|
-
},
|
|
271
|
-
"quality": {
|
|
272
|
-
"rejectIf": [
|
|
273
|
-
{
|
|
274
|
-
"field": "number",
|
|
275
|
-
"operator": "empty",
|
|
276
|
-
"message": "Issue number cannot be empty"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"field": "title",
|
|
280
|
-
"operator": "empty",
|
|
281
|
-
"message": "Issue title cannot be empty"
|
|
282
|
-
}
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
"testPayload": {
|
|
286
|
-
"payloadTemplate": {
|
|
287
|
-
"id": 100001,
|
|
288
|
-
"number": 42,
|
|
289
|
-
"title": "E2E test issue",
|
|
290
|
-
"body": "Created by AI Fabrix github integration.",
|
|
291
|
-
"state": "open",
|
|
292
|
-
"html_url": "https://github.com/octocat/Hello-World/issues/42",
|
|
293
|
-
"created_at": "2025-01-15T10:30:00Z",
|
|
294
|
-
"updated_at": "2025-01-15T10:30:00Z"
|
|
295
|
-
},
|
|
296
|
-
"expectedResult": {
|
|
297
|
-
"number": 42,
|
|
298
|
-
"title": "E2E test issue",
|
|
299
|
-
"body": "Created by AI Fabrix github integration.",
|
|
300
|
-
"state": "open",
|
|
301
|
-
"htmlUrl": "https://github.com/octocat/Hello-World/issues/42"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"execution": {
|
|
305
|
-
"engine": "cip",
|
|
306
|
-
"cip": {
|
|
307
|
-
"version": "1.0",
|
|
308
|
-
"inputType": "void",
|
|
309
|
-
"outputType": "records",
|
|
310
|
-
"operations": {
|
|
311
|
-
"list": {
|
|
312
|
-
"enabled": true,
|
|
313
|
-
"description": "List open issues for the configured repository (pull requests excluded)",
|
|
314
|
-
"steps": [
|
|
315
|
-
{
|
|
316
|
-
"fetch": {
|
|
317
|
-
"source": "openapi",
|
|
318
|
-
"openapiRef": "list",
|
|
319
|
-
"query": {
|
|
320
|
-
"state": "open",
|
|
321
|
-
"per_page": "100"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"filter": {
|
|
327
|
-
"abac": {
|
|
328
|
-
"mode": "disabled"
|
|
329
|
-
},
|
|
330
|
-
"expression": "[?pull_request==`null`][]",
|
|
331
|
-
"expressionLanguage": "jmespath",
|
|
332
|
-
"maxComplexity": 50
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"map": {
|
|
337
|
-
"useFieldMappings": true,
|
|
338
|
-
"inputPath": "$"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"output": {
|
|
343
|
-
"mode": "records"
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
]
|
|
347
|
-
},
|
|
348
|
-
"get": {
|
|
349
|
-
"enabled": true,
|
|
350
|
-
"description": "Get issue by issue number",
|
|
351
|
-
"steps": [
|
|
352
|
-
{
|
|
353
|
-
"fetch": {
|
|
354
|
-
"source": "openapi",
|
|
355
|
-
"openapiRef": "get"
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"map": {
|
|
360
|
-
"useFieldMappings": true,
|
|
361
|
-
"inputPath": "$"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"output": {
|
|
366
|
-
"mode": "records"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
]
|
|
370
|
-
},
|
|
371
|
-
"create": {
|
|
372
|
-
"enabled": true,
|
|
373
|
-
"description": "Create a new issue in the configured repository",
|
|
374
|
-
"steps": [
|
|
375
|
-
{
|
|
376
|
-
"fetch": {
|
|
377
|
-
"source": "http",
|
|
378
|
-
"method": "POST",
|
|
379
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/issues",
|
|
380
|
-
"headers": {
|
|
381
|
-
"Accept": "application/vnd.github+json",
|
|
382
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
383
|
-
"Content-Type": "application/json"
|
|
384
|
-
},
|
|
385
|
-
"bodyTemplate": {
|
|
386
|
-
"title": "{{parameters.title}}",
|
|
387
|
-
"body": "{{parameters.body}}"
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"map": {
|
|
393
|
-
"useFieldMappings": true,
|
|
394
|
-
"inputPath": "$"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"output": {
|
|
399
|
-
"mode": "records"
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
},
|
|
404
|
-
"update": {
|
|
405
|
-
"enabled": true,
|
|
406
|
-
"description": "Update issue title, body, or state",
|
|
407
|
-
"steps": [
|
|
408
|
-
{
|
|
409
|
-
"fetch": {
|
|
410
|
-
"source": "http",
|
|
411
|
-
"method": "PATCH",
|
|
412
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/issues/{{recordId}}",
|
|
413
|
-
"headers": {
|
|
414
|
-
"Accept": "application/vnd.github+json",
|
|
415
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
416
|
-
"Content-Type": "application/json"
|
|
417
|
-
},
|
|
418
|
-
"bodyTemplate": {
|
|
419
|
-
"title": "{{parameters.title}}",
|
|
420
|
-
"body": "{{parameters.body}}",
|
|
421
|
-
"state": "{{parameters.state}}"
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"map": {
|
|
427
|
-
"useFieldMappings": true,
|
|
428
|
-
"inputPath": "$"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"output": {
|
|
433
|
-
"mode": "records"
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
]
|
|
437
|
-
},
|
|
438
|
-
"delete": {
|
|
439
|
-
"enabled": true,
|
|
440
|
-
"description": "Close issue (GitHub REST API does not support hard delete; maps delete to state=closed)",
|
|
441
|
-
"steps": [
|
|
442
|
-
{
|
|
443
|
-
"fetch": {
|
|
444
|
-
"source": "http",
|
|
445
|
-
"method": "PATCH",
|
|
446
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/issues/{{recordId}}",
|
|
447
|
-
"headers": {
|
|
448
|
-
"Accept": "application/vnd.github+json",
|
|
449
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
450
|
-
"Content-Type": "application/json"
|
|
451
|
-
},
|
|
452
|
-
"bodyTemplate": {
|
|
453
|
-
"state": "closed"
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"map": {
|
|
459
|
-
"useFieldMappings": true,
|
|
460
|
-
"inputPath": "$"
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"output": {
|
|
465
|
-
"mode": "records"
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
]
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
"capabilities": [
|
|
474
|
-
{
|
|
475
|
-
"key": "list",
|
|
476
|
-
"description": "List open repository issues",
|
|
477
|
-
"riskLevel": "low",
|
|
478
|
-
"approvalRequired": false
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"key": "get",
|
|
482
|
-
"description": "Get issue by number",
|
|
483
|
-
"riskLevel": "low",
|
|
484
|
-
"approvalRequired": false
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"key": "create",
|
|
488
|
-
"description": "Create a repository issue",
|
|
489
|
-
"riskLevel": "medium",
|
|
490
|
-
"approvalRequired": false
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"key": "update",
|
|
494
|
-
"description": "Update issue title, body, or state",
|
|
495
|
-
"riskLevel": "medium",
|
|
496
|
-
"approvalRequired": false
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"key": "delete",
|
|
500
|
-
"description": "Close issue (GitHub has no hard delete)",
|
|
501
|
-
"riskLevel": "medium",
|
|
502
|
-
"approvalRequired": false
|
|
503
|
-
}
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"key": "github-issue-comments",
|
|
508
|
-
"displayName": "GitHub Issue Comments",
|
|
509
|
-
"description": "Comments on repository issues via GitHub REST API: list and create.",
|
|
510
|
-
"enabled": true,
|
|
511
|
-
"systemKey": "github",
|
|
512
|
-
"resourceType": "message",
|
|
513
|
-
"entityType": "recordStorage",
|
|
514
|
-
"version": "1.0.0",
|
|
515
|
-
"businessOrder": 2,
|
|
516
|
-
"metadataSchema": {
|
|
517
|
-
"type": "object",
|
|
518
|
-
"properties": {
|
|
519
|
-
"externalId": {
|
|
520
|
-
"type": "string",
|
|
521
|
-
"index": true,
|
|
522
|
-
"description": "Stable external record identifier (comment id as string)"
|
|
523
|
-
},
|
|
524
|
-
"id": {
|
|
525
|
-
"type": "integer",
|
|
526
|
-
"index": true,
|
|
527
|
-
"description": "GitHub comment id"
|
|
528
|
-
},
|
|
529
|
-
"issueNumber": {
|
|
530
|
-
"type": "integer",
|
|
531
|
-
"index": true,
|
|
532
|
-
"description": "Parent issue number"
|
|
533
|
-
},
|
|
534
|
-
"body": {
|
|
535
|
-
"type": "string",
|
|
536
|
-
"description": "Comment body (markdown)"
|
|
537
|
-
},
|
|
538
|
-
"htmlUrl": {
|
|
539
|
-
"type": "string",
|
|
540
|
-
"format": "uri",
|
|
541
|
-
"description": "Web URL for the comment"
|
|
542
|
-
},
|
|
543
|
-
"createdAt": {
|
|
544
|
-
"type": "string",
|
|
545
|
-
"format": "date-time",
|
|
546
|
-
"description": "Comment creation timestamp"
|
|
547
|
-
},
|
|
548
|
-
"updatedAt": {
|
|
549
|
-
"type": "string",
|
|
550
|
-
"format": "date-time",
|
|
551
|
-
"description": "Comment last update timestamp"
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
"required": [
|
|
555
|
-
"id"
|
|
556
|
-
]
|
|
557
|
-
},
|
|
558
|
-
"fieldMappings": {
|
|
559
|
-
"attributes": {
|
|
560
|
-
"externalId": {
|
|
561
|
-
"expression": "{{raw.id}}"
|
|
562
|
-
},
|
|
563
|
-
"id": {
|
|
564
|
-
"expression": "{{raw.id}}"
|
|
565
|
-
},
|
|
566
|
-
"body": {
|
|
567
|
-
"expression": "{{raw.body}}"
|
|
568
|
-
},
|
|
569
|
-
"htmlUrl": {
|
|
570
|
-
"expression": "{{raw.html_url}}"
|
|
571
|
-
},
|
|
572
|
-
"createdAt": {
|
|
573
|
-
"expression": "{{raw.created_at}}"
|
|
574
|
-
},
|
|
575
|
-
"updatedAt": {
|
|
576
|
-
"expression": "{{raw.updated_at}}"
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
"primaryKey": [
|
|
581
|
-
"id"
|
|
582
|
-
],
|
|
583
|
-
"labelKey": [
|
|
584
|
-
"id"
|
|
585
|
-
],
|
|
586
|
-
"exposed": {
|
|
587
|
-
"readonly": [
|
|
588
|
-
"id",
|
|
589
|
-
"htmlUrl",
|
|
590
|
-
"createdAt",
|
|
591
|
-
"updatedAt"
|
|
592
|
-
],
|
|
593
|
-
"schema": {
|
|
594
|
-
"externalId": "metadata.externalId",
|
|
595
|
-
"id": "metadata.id",
|
|
596
|
-
"body": "metadata.body",
|
|
597
|
-
"htmlUrl": "metadata.htmlUrl",
|
|
598
|
-
"createdAt": "metadata.createdAt",
|
|
599
|
-
"updatedAt": "metadata.updatedAt"
|
|
600
|
-
},
|
|
601
|
-
"profiles": {
|
|
602
|
-
"default": [
|
|
603
|
-
"id",
|
|
604
|
-
"body",
|
|
605
|
-
"htmlUrl",
|
|
606
|
-
"createdAt",
|
|
607
|
-
"updatedAt"
|
|
608
|
-
],
|
|
609
|
-
"create": [
|
|
610
|
-
"body"
|
|
611
|
-
]
|
|
612
|
-
}
|
|
613
|
-
},
|
|
614
|
-
"openapi": {
|
|
615
|
-
"enabled": true,
|
|
616
|
-
"autoRbac": false,
|
|
617
|
-
"operations": {
|
|
618
|
-
"list": {
|
|
619
|
-
"operationId": "list-repos-owner-repo-issues-issue-number-comments",
|
|
620
|
-
"method": "GET",
|
|
621
|
-
"path": "/repos/{GITHUB_OWNER}/{GITHUB_REPO}/issues/{issueNumber}/comments",
|
|
622
|
-
"permissions": [
|
|
623
|
-
"external-system:read"
|
|
624
|
-
]
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
"documentKey": "github-issue-comments"
|
|
628
|
-
},
|
|
629
|
-
"quality": {
|
|
630
|
-
"rejectIf": [
|
|
631
|
-
{
|
|
632
|
-
"field": "id",
|
|
633
|
-
"operator": "empty",
|
|
634
|
-
"message": "Comment id cannot be empty"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"field": "body",
|
|
638
|
-
"operator": "empty",
|
|
639
|
-
"message": "Comment body cannot be empty"
|
|
640
|
-
}
|
|
641
|
-
]
|
|
642
|
-
},
|
|
643
|
-
"testPayload": {
|
|
644
|
-
"payloadTemplate": {
|
|
645
|
-
"id": 900001,
|
|
646
|
-
"body": "E2E test comment from AI Fabrix.",
|
|
647
|
-
"html_url": "https://github.com/octocat/Hello-World/issues/42#issuecomment-900001",
|
|
648
|
-
"created_at": "2025-01-15T11:00:00Z",
|
|
649
|
-
"updated_at": "2025-01-15T11:00:00Z"
|
|
650
|
-
},
|
|
651
|
-
"expectedResult": {
|
|
652
|
-
"id": 900001,
|
|
653
|
-
"issueNumber": 42,
|
|
654
|
-
"body": "E2E test comment from AI Fabrix.",
|
|
655
|
-
"htmlUrl": "https://github.com/octocat/Hello-World/issues/42#issuecomment-900001"
|
|
656
|
-
}
|
|
657
|
-
},
|
|
658
|
-
"execution": {
|
|
659
|
-
"engine": "cip",
|
|
660
|
-
"cip": {
|
|
661
|
-
"version": "1.0",
|
|
662
|
-
"inputType": "void",
|
|
663
|
-
"outputType": "records",
|
|
664
|
-
"operations": {
|
|
665
|
-
"list": {
|
|
666
|
-
"enabled": true,
|
|
667
|
-
"description": "List comments on an issue (requires parameters.issueNumber)",
|
|
668
|
-
"steps": [
|
|
669
|
-
{
|
|
670
|
-
"fetch": {
|
|
671
|
-
"source": "openapi",
|
|
672
|
-
"openapiRef": "list",
|
|
673
|
-
"query": {
|
|
674
|
-
"per_page": "100"
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"map": {
|
|
680
|
-
"useFieldMappings": true,
|
|
681
|
-
"inputPath": "$",
|
|
682
|
-
"inline": {
|
|
683
|
-
"issueNumber": "{{parameters.issueNumber}}"
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"output": {
|
|
689
|
-
"mode": "records"
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
]
|
|
693
|
-
},
|
|
694
|
-
"create": {
|
|
695
|
-
"enabled": true,
|
|
696
|
-
"description": "Create a comment on an issue",
|
|
697
|
-
"steps": [
|
|
698
|
-
{
|
|
699
|
-
"fetch": {
|
|
700
|
-
"source": "http",
|
|
701
|
-
"method": "POST",
|
|
702
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/issues/{{parameters.issueNumber}}/comments",
|
|
703
|
-
"headers": {
|
|
704
|
-
"Accept": "application/vnd.github+json",
|
|
705
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
706
|
-
"Content-Type": "application/json"
|
|
707
|
-
},
|
|
708
|
-
"bodyTemplate": {
|
|
709
|
-
"body": "{{parameters.body}}"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"map": {
|
|
715
|
-
"useFieldMappings": true,
|
|
716
|
-
"inputPath": "$",
|
|
717
|
-
"inline": {
|
|
718
|
-
"issueNumber": "{{parameters.issueNumber}}"
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"output": {
|
|
724
|
-
"mode": "records"
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
]
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
"capabilities": [
|
|
733
|
-
{
|
|
734
|
-
"key": "list",
|
|
735
|
-
"description": "List comments on an issue",
|
|
736
|
-
"riskLevel": "low",
|
|
737
|
-
"approvalRequired": false
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"key": "create",
|
|
741
|
-
"description": "Create a comment on an issue",
|
|
742
|
-
"riskLevel": "medium",
|
|
743
|
-
"approvalRequired": false
|
|
744
|
-
}
|
|
745
|
-
]
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"key": "github-repository",
|
|
749
|
-
"displayName": "GitHub Repository",
|
|
750
|
-
"description": "Repository lifecycle operations for GitHub REST API: status, content sync (pull), branches, pull requests, and workflow dispatch. Reference provider for Enterprise MCP repository.* capabilities (154.1 lab fixture).",
|
|
751
|
-
"enabled": true,
|
|
752
|
-
"systemKey": "github",
|
|
753
|
-
"resourceType": "repository",
|
|
754
|
-
"entityType": "serviceContract",
|
|
755
|
-
"version": "1.0.0",
|
|
756
|
-
"_comManifestRoleCatalog": {
|
|
757
|
-
"roleKeys": [
|
|
758
|
-
"aifabrix-developer",
|
|
759
|
-
"aifabrix-security-admin",
|
|
760
|
-
"aifabrix-deployment-admin"
|
|
761
|
-
],
|
|
762
|
-
"roleDisplayNames": {
|
|
763
|
-
"aifabrix-developer": "Integration Developer",
|
|
764
|
-
"aifabrix-security-admin": "Integration Security Admin",
|
|
765
|
-
"aifabrix-deployment-admin": "Integration Deployment Admin"
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
"businessOrder": 3,
|
|
769
|
-
"metadataSchema": {
|
|
770
|
-
"type": "object",
|
|
771
|
-
"properties": {
|
|
772
|
-
"successName": {
|
|
773
|
-
"type": "string",
|
|
774
|
-
"nullable": true,
|
|
775
|
-
"description": "Repository short name (without owner)"
|
|
776
|
-
},
|
|
777
|
-
"successFullName": {
|
|
778
|
-
"type": "string",
|
|
779
|
-
"nullable": true,
|
|
780
|
-
"description": "Fully qualified repository name (owner/repo)"
|
|
781
|
-
},
|
|
782
|
-
"successDefaultBranch": {
|
|
783
|
-
"type": "string",
|
|
784
|
-
"nullable": true,
|
|
785
|
-
"description": "Default branch name for the repository"
|
|
786
|
-
},
|
|
787
|
-
"successPrivate": {
|
|
788
|
-
"type": "boolean",
|
|
789
|
-
"nullable": true,
|
|
790
|
-
"description": "Whether the repository is private"
|
|
791
|
-
},
|
|
792
|
-
"successHtmlUrl": {
|
|
793
|
-
"type": "string",
|
|
794
|
-
"nullable": true,
|
|
795
|
-
"description": "Web URL for the repository or resource"
|
|
796
|
-
},
|
|
797
|
-
"successPath": {
|
|
798
|
-
"type": "string",
|
|
799
|
-
"nullable": true,
|
|
800
|
-
"description": "File or directory path within the repository"
|
|
801
|
-
},
|
|
802
|
-
"successSha": {
|
|
803
|
-
"type": "string",
|
|
804
|
-
"nullable": true,
|
|
805
|
-
"description": "Git object SHA for content or branch ref"
|
|
806
|
-
},
|
|
807
|
-
"successContent": {
|
|
808
|
-
"type": "string",
|
|
809
|
-
"nullable": true,
|
|
810
|
-
"description": "Base64-encoded file content from contents API"
|
|
811
|
-
},
|
|
812
|
-
"successEncoding": {
|
|
813
|
-
"type": "string",
|
|
814
|
-
"nullable": true,
|
|
815
|
-
"description": "Content encoding reported by GitHub (typically base64)"
|
|
816
|
-
},
|
|
817
|
-
"successNumber": {
|
|
818
|
-
"type": "integer",
|
|
819
|
-
"nullable": true,
|
|
820
|
-
"description": "Pull request number"
|
|
821
|
-
},
|
|
822
|
-
"successTitle": {
|
|
823
|
-
"type": "string",
|
|
824
|
-
"nullable": true,
|
|
825
|
-
"description": "Pull request title"
|
|
826
|
-
},
|
|
827
|
-
"successHead": {
|
|
828
|
-
"type": "string",
|
|
829
|
-
"nullable": true,
|
|
830
|
-
"description": "Head branch ref for a pull request"
|
|
831
|
-
},
|
|
832
|
-
"successBase": {
|
|
833
|
-
"type": "string",
|
|
834
|
-
"nullable": true,
|
|
835
|
-
"description": "Base branch ref for a pull request"
|
|
836
|
-
},
|
|
837
|
-
"successRef": {
|
|
838
|
-
"type": "string",
|
|
839
|
-
"nullable": true,
|
|
840
|
-
"description": "Git ref name (e.g. refs/heads/feature)"
|
|
841
|
-
},
|
|
842
|
-
"successWorkflowId": {
|
|
843
|
-
"type": "string",
|
|
844
|
-
"nullable": true,
|
|
845
|
-
"description": "GitHub Actions workflow identifier used for dispatch"
|
|
846
|
-
},
|
|
847
|
-
"errorCode": {
|
|
848
|
-
"type": "string",
|
|
849
|
-
"nullable": true,
|
|
850
|
-
"description": "Provider error code when the operation fails"
|
|
851
|
-
},
|
|
852
|
-
"errorMessage": {
|
|
853
|
-
"type": "string",
|
|
854
|
-
"nullable": true,
|
|
855
|
-
"description": "Human-readable provider error message"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
"fieldMappings": {
|
|
860
|
-
"attributes": {
|
|
861
|
-
"successName": {
|
|
862
|
-
"expression": "{{raw.name}}"
|
|
863
|
-
},
|
|
864
|
-
"successFullName": {
|
|
865
|
-
"expression": "{{raw.full_name}}"
|
|
866
|
-
},
|
|
867
|
-
"successDefaultBranch": {
|
|
868
|
-
"expression": "{{raw.default_branch}}"
|
|
869
|
-
},
|
|
870
|
-
"successPrivate": {
|
|
871
|
-
"expression": "{{raw.private}}"
|
|
872
|
-
},
|
|
873
|
-
"successHtmlUrl": {
|
|
874
|
-
"expression": "{{raw.html_url}}"
|
|
875
|
-
},
|
|
876
|
-
"successPath": {
|
|
877
|
-
"expression": "{{raw.path}}"
|
|
878
|
-
},
|
|
879
|
-
"successSha": {
|
|
880
|
-
"expression": "{{raw.sha}}"
|
|
881
|
-
},
|
|
882
|
-
"successContent": {
|
|
883
|
-
"expression": "{{raw.content}}"
|
|
884
|
-
},
|
|
885
|
-
"successEncoding": {
|
|
886
|
-
"expression": "{{raw.encoding}}"
|
|
887
|
-
},
|
|
888
|
-
"successNumber": {
|
|
889
|
-
"expression": "{{raw.number}}"
|
|
890
|
-
},
|
|
891
|
-
"successTitle": {
|
|
892
|
-
"expression": "{{raw.title}}"
|
|
893
|
-
},
|
|
894
|
-
"successHead": {
|
|
895
|
-
"expression": "{{raw.head.ref}}"
|
|
896
|
-
},
|
|
897
|
-
"successBase": {
|
|
898
|
-
"expression": "{{raw.base.ref}}"
|
|
899
|
-
},
|
|
900
|
-
"successRef": {
|
|
901
|
-
"expression": "{{raw.ref}}"
|
|
902
|
-
},
|
|
903
|
-
"successWorkflowId": {
|
|
904
|
-
"expression": "{{raw.workflow_id}}"
|
|
905
|
-
},
|
|
906
|
-
"errorCode": {
|
|
907
|
-
"expression": "{{raw.code}}"
|
|
908
|
-
},
|
|
909
|
-
"errorMessage": {
|
|
910
|
-
"expression": "{{raw.message}}"
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
},
|
|
914
|
-
"exposed": {
|
|
915
|
-
"schema": {
|
|
916
|
-
"success": {
|
|
917
|
-
"name": "metadata.successName",
|
|
918
|
-
"fullName": "metadata.successFullName",
|
|
919
|
-
"defaultBranch": "metadata.successDefaultBranch",
|
|
920
|
-
"private": "metadata.successPrivate",
|
|
921
|
-
"htmlUrl": "metadata.successHtmlUrl",
|
|
922
|
-
"path": "metadata.successPath",
|
|
923
|
-
"sha": "metadata.successSha",
|
|
924
|
-
"content": "metadata.successContent",
|
|
925
|
-
"encoding": "metadata.successEncoding",
|
|
926
|
-
"number": "metadata.successNumber",
|
|
927
|
-
"title": "metadata.successTitle",
|
|
928
|
-
"head": "metadata.successHead",
|
|
929
|
-
"base": "metadata.successBase",
|
|
930
|
-
"ref": "metadata.successRef",
|
|
931
|
-
"workflowId": "metadata.successWorkflowId"
|
|
932
|
-
},
|
|
933
|
-
"error": {
|
|
934
|
-
"code": "metadata.errorCode",
|
|
935
|
-
"message": "metadata.errorMessage"
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
"profiles": {
|
|
939
|
-
"default": [
|
|
940
|
-
"success",
|
|
941
|
-
"error"
|
|
942
|
-
]
|
|
943
|
-
}
|
|
944
|
-
},
|
|
945
|
-
"openapi": {
|
|
946
|
-
"enabled": true,
|
|
947
|
-
"autoRbac": false,
|
|
948
|
-
"operations": {
|
|
949
|
-
"status": {
|
|
950
|
-
"operationId": "get-repos-owner-repo-status",
|
|
951
|
-
"method": "GET",
|
|
952
|
-
"path": "/repos/{GITHUB_OWNER}/{GITHUB_REPO}",
|
|
953
|
-
"permissions": [
|
|
954
|
-
"external-system:read"
|
|
955
|
-
]
|
|
956
|
-
},
|
|
957
|
-
"sync": {
|
|
958
|
-
"operationId": "get-repos-owner-repo-contents-path",
|
|
959
|
-
"method": "GET",
|
|
960
|
-
"path": "/repos/{GITHUB_OWNER}/{GITHUB_REPO}/contents/{path}",
|
|
961
|
-
"permissions": [
|
|
962
|
-
"external-system:read"
|
|
963
|
-
]
|
|
964
|
-
},
|
|
965
|
-
"branchList": {
|
|
966
|
-
"operationId": "get-repos-owner-repo-branches",
|
|
967
|
-
"method": "GET",
|
|
968
|
-
"path": "/repos/{GITHUB_OWNER}/{GITHUB_REPO}/branches",
|
|
969
|
-
"permissions": [
|
|
970
|
-
"external-system:read"
|
|
971
|
-
]
|
|
972
|
-
}
|
|
973
|
-
},
|
|
974
|
-
"documentKey": "github-repository"
|
|
975
|
-
},
|
|
976
|
-
"execution": {
|
|
977
|
-
"engine": "cip",
|
|
978
|
-
"cip": {
|
|
979
|
-
"version": "1.0",
|
|
980
|
-
"inputType": "void",
|
|
981
|
-
"outputType": "records",
|
|
982
|
-
"operations": {
|
|
983
|
-
"status": {
|
|
984
|
-
"enabled": true,
|
|
985
|
-
"description": "Repository metadata for configured owner/repo",
|
|
986
|
-
"steps": [
|
|
987
|
-
{
|
|
988
|
-
"fetch": {
|
|
989
|
-
"source": "openapi",
|
|
990
|
-
"openapiRef": "status"
|
|
991
|
-
}
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"map": {
|
|
995
|
-
"useFieldMappings": true,
|
|
996
|
-
"inputPath": "$"
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
"output": {
|
|
1001
|
-
"mode": "records"
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
]
|
|
1005
|
-
},
|
|
1006
|
-
"sync": {
|
|
1007
|
-
"enabled": true,
|
|
1008
|
-
"description": "Pull repository content at path (GET contents). Use direction=pull; push uses createReview workflow in lab.",
|
|
1009
|
-
"steps": [
|
|
1010
|
-
{
|
|
1011
|
-
"fetch": {
|
|
1012
|
-
"source": "openapi",
|
|
1013
|
-
"openapiRef": "sync",
|
|
1014
|
-
"query": {
|
|
1015
|
-
"ref": "{{parameters.ref}}"
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"map": {
|
|
1021
|
-
"useFieldMappings": true,
|
|
1022
|
-
"inputPath": "$"
|
|
1023
|
-
}
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
"output": {
|
|
1027
|
-
"mode": "records"
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
]
|
|
1031
|
-
},
|
|
1032
|
-
"branchList": {
|
|
1033
|
-
"enabled": true,
|
|
1034
|
-
"description": "List repository branches",
|
|
1035
|
-
"steps": [
|
|
1036
|
-
{
|
|
1037
|
-
"fetch": {
|
|
1038
|
-
"source": "openapi",
|
|
1039
|
-
"openapiRef": "branchList"
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
"map": {
|
|
1044
|
-
"useFieldMappings": true,
|
|
1045
|
-
"inputPath": "$"
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"output": {
|
|
1050
|
-
"mode": "records"
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
]
|
|
1054
|
-
},
|
|
1055
|
-
"branchCreate": {
|
|
1056
|
-
"enabled": true,
|
|
1057
|
-
"description": "Create branch ref from sha",
|
|
1058
|
-
"steps": [
|
|
1059
|
-
{
|
|
1060
|
-
"fetch": {
|
|
1061
|
-
"source": "http",
|
|
1062
|
-
"method": "POST",
|
|
1063
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/git/refs",
|
|
1064
|
-
"headers": {
|
|
1065
|
-
"Accept": "application/vnd.github+json",
|
|
1066
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
1067
|
-
"Content-Type": "application/json"
|
|
1068
|
-
},
|
|
1069
|
-
"bodyTemplate": {
|
|
1070
|
-
"ref": "{{parameters.ref}}",
|
|
1071
|
-
"sha": "{{parameters.sha}}"
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"map": {
|
|
1077
|
-
"useFieldMappings": true,
|
|
1078
|
-
"inputPath": "$"
|
|
1079
|
-
}
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
"output": {
|
|
1083
|
-
"mode": "records"
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
]
|
|
1087
|
-
},
|
|
1088
|
-
"createReview": {
|
|
1089
|
-
"enabled": true,
|
|
1090
|
-
"description": "Open a pull request (provider-neutral createReview capability)",
|
|
1091
|
-
"steps": [
|
|
1092
|
-
{
|
|
1093
|
-
"fetch": {
|
|
1094
|
-
"source": "http",
|
|
1095
|
-
"method": "POST",
|
|
1096
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/pulls",
|
|
1097
|
-
"headers": {
|
|
1098
|
-
"Accept": "application/vnd.github+json",
|
|
1099
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
1100
|
-
"Content-Type": "application/json"
|
|
1101
|
-
},
|
|
1102
|
-
"bodyTemplate": {
|
|
1103
|
-
"title": "{{parameters.title}}",
|
|
1104
|
-
"body": "{{parameters.body}}",
|
|
1105
|
-
"head": "{{parameters.head}}",
|
|
1106
|
-
"base": "{{parameters.base}}"
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"map": {
|
|
1112
|
-
"useFieldMappings": true,
|
|
1113
|
-
"inputPath": "$"
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
"output": {
|
|
1118
|
-
"mode": "records"
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
]
|
|
1122
|
-
},
|
|
1123
|
-
"dispatchPipeline": {
|
|
1124
|
-
"enabled": true,
|
|
1125
|
-
"description": "Dispatch GitHub Actions workflow",
|
|
1126
|
-
"steps": [
|
|
1127
|
-
{
|
|
1128
|
-
"fetch": {
|
|
1129
|
-
"source": "http",
|
|
1130
|
-
"method": "POST",
|
|
1131
|
-
"path": "/repos/{{GITHUB_OWNER}}/{{GITHUB_REPO}}/actions/workflows/{{parameters.workflowId}}/dispatches",
|
|
1132
|
-
"headers": {
|
|
1133
|
-
"Accept": "application/vnd.github+json",
|
|
1134
|
-
"X-GitHub-Api-Version": "2022-11-28",
|
|
1135
|
-
"Content-Type": "application/json"
|
|
1136
|
-
},
|
|
1137
|
-
"bodyTemplate": {
|
|
1138
|
-
"ref": "{{parameters.ref}}",
|
|
1139
|
-
"inputs": "{{parameters.inputs}}"
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"map": {
|
|
1145
|
-
"useFieldMappings": true,
|
|
1146
|
-
"inputPath": "$"
|
|
1147
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"output": {
|
|
1151
|
-
"mode": "records"
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
]
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
},
|
|
1159
|
-
"capabilities": [
|
|
1160
|
-
{
|
|
1161
|
-
"key": "status",
|
|
1162
|
-
"description": "Repository metadata and default branch",
|
|
1163
|
-
"riskLevel": "low",
|
|
1164
|
-
"approvalRequired": false
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
"key": "sync",
|
|
1168
|
-
"description": "Pull repository file or directory contents",
|
|
1169
|
-
"riskLevel": "medium",
|
|
1170
|
-
"approvalRequired": false
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"key": "branchList",
|
|
1174
|
-
"description": "List repository branches",
|
|
1175
|
-
"riskLevel": "low",
|
|
1176
|
-
"approvalRequired": false
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"key": "branchCreate",
|
|
1180
|
-
"description": "Create a branch ref",
|
|
1181
|
-
"riskLevel": "medium",
|
|
1182
|
-
"approvalRequired": false
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
"key": "createReview",
|
|
1186
|
-
"description": "Open a pull request",
|
|
1187
|
-
"riskLevel": "medium",
|
|
1188
|
-
"approvalRequired": false
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"key": "dispatchPipeline",
|
|
1192
|
-
"description": "Dispatch CI workflow",
|
|
1193
|
-
"riskLevel": "high",
|
|
1194
|
-
"approvalRequired": true
|
|
1195
|
-
}
|
|
1196
|
-
]
|
|
1197
|
-
}
|
|
1198
|
-
],
|
|
1199
|
-
"requiresDatabase": false,
|
|
1200
|
-
"requiresRedis": false,
|
|
1201
|
-
"requiresStorage": false
|
|
1202
|
-
}
|