@aifabrix/builder 2.46.0 → 2.47.0
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/.npmrc.token +1 -0
- package/.temp/jest-protection-convert/run-IFN2nv/.protection/hubspot-companies.json +1 -0
- package/.temp/jest-protection-convert/run-IvmKLO/.protection/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-convert/run-SdvblF/.protection/hubspot-companies.json +1 -0
- package/.temp/jest-protection-convert/run-b51TsW/.protection/hubspot-companies.json +1 -0
- package/.temp/jest-protection-convert/run-fiLmb1/.protection/hubspot-companies.json +1 -0
- package/.temp/jest-protection-convert/run-qYGHMU/.protection/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-fixtures/hubspot-Mq5re8/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-fixtures/hubspot-f3u4YL/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-fixtures/hubspot-iQtd1O/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-fixtures/hubspot-mdmz5M/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-fixtures/hubspot-qbKYxQ/hubspot-companies.yaml +17 -0
- package/.temp/jest-protection-fixtures/hubspot-yzlJy6/hubspot-companies.yaml +17 -0
- package/.temp/validation/summary.txt +5 -0
- package/jest.isolated-projects.js +18 -2
- package/jest.projects.js +24 -0
- package/lib/api/dataplane-health.api.js +19 -7
- package/lib/api/lifecycle.api.js +22 -1
- package/lib/api/resource-types.api.js +107 -0
- package/lib/api/runtime-configuration.api.js +72 -0
- package/lib/api/types/resource-types.types.js +45 -0
- package/lib/api/user-groups.api.js +9 -9
- package/lib/api/users.api.js +8 -8
- package/lib/api/wizard.api.js +10 -2
- package/lib/app/down.js +58 -26
- package/lib/app/index.js +2 -2
- package/lib/app/run-resolve-image.js +2 -1
- package/lib/app/run-stop-containers.js +113 -0
- package/lib/app/run.js +1 -31
- package/lib/app/show-display.js +35 -0
- package/lib/app/show.js +32 -1
- package/lib/build/index.js +17 -5
- package/lib/build/miso-controller-npm-sdk-guard.js +25 -0
- package/lib/channels/add-channel.js +348 -0
- package/lib/channels/channel-artifact-generator.js +141 -0
- package/lib/channels/channel-audit.js +101 -0
- package/lib/channels/channel-auth-context.js +37 -0
- package/lib/channels/channel-credential.js +200 -0
- package/lib/channels/channel-display-name.js +64 -0
- package/lib/channels/channel-external-system.js +106 -0
- package/lib/channels/channel-integration-generator.js +274 -0
- package/lib/channels/channel-probe.js +89 -0
- package/lib/channels/channel-runtime-resolver.js +152 -0
- package/lib/channels/channel-status-display.js +141 -0
- package/lib/channels/channel-targets.js +115 -0
- package/lib/cli/index.js +16 -4
- package/lib/cli/setup-app.js +54 -3
- package/lib/cli/setup-infra-up-dataplane-action.js +2 -2
- package/lib/cli/setup-infra-up-platform-action.js +2 -1
- package/lib/cli/setup-platform.js +1 -1
- package/lib/cli/setup-utility-help-after.js +4 -1
- package/lib/cli/setup-utility-resolve.js +8 -5
- package/lib/commands/app-logs.js +54 -26
- package/lib/commands/app.js +41 -0
- package/lib/commands/auth-status-dataplane-version.js +97 -61
- package/lib/commands/auth-status.js +2 -7
- package/lib/commands/channel.js +58 -0
- package/lib/commands/datasource.js +1 -1
- package/lib/commands/identity-apply-sync.js +49 -8
- package/lib/commands/identity-group-cli.js +66 -26
- package/lib/commands/identity-membership-role-cache.js +58 -37
- package/lib/commands/identity-shared.js +22 -1
- package/lib/commands/identity-user-cli.js +80 -34
- package/lib/commands/repair-auth-apply.js +30 -4
- package/lib/commands/repair-auth-config.js +8 -13
- package/lib/commands/repair-datasource-com-v2.js +15 -0
- package/lib/commands/repair-datasource-service-contract.js +206 -0
- package/lib/commands/repair-datasource.js +53 -18
- package/lib/commands/repair-env-template.js +12 -12
- package/lib/commands/repair-openapi-sync.js +26 -4
- package/lib/commands/repair-steps.js +28 -13
- package/lib/commands/repair-system-alignment.js +7 -4
- package/lib/commands/resource-type.js +371 -0
- package/lib/commands/setup-modes.js +1 -1
- package/lib/commands/setup-prompts-platform-mode.js +24 -21
- package/lib/commands/test-trust-external.js +39 -90
- package/lib/commands/up-common.js +33 -1
- package/lib/commands/up-dataplane.js +8 -4
- package/lib/commands/upload.js +24 -3
- package/lib/commands/verify-trust-command-action.js +4 -1
- package/lib/commands/verify-trust-external.js +12 -20
- package/lib/core/config-setup-platform-mode.js +3 -3
- package/lib/core/setup-platform-mode.js +41 -6
- package/lib/datasource/capability/capability-diff-slice.js +2 -2
- package/lib/datasource/capability/capability-manifest.js +254 -0
- package/lib/datasource/capability/capability-resolve.js +3 -4
- package/lib/datasource/capability/copy-operations.js +5 -3
- package/lib/datasource/capability/remove-operations.js +2 -1
- package/lib/datasource/capability/run-capability-copy.js +32 -4
- package/lib/datasource/capability/run-capability-diff.js +3 -3
- package/lib/datasource/capability/run-capability-dimension.js +2 -4
- package/lib/datasource/capability/run-capability-edit.js +4 -7
- package/lib/datasource/capability/run-capability-relate.js +2 -4
- package/lib/datasource/capability/run-capability-remove.js +2 -4
- package/lib/datasource/capability/validate-capability-slice.js +2 -1
- package/lib/datasource/datasource-identifier.js +2 -1
- package/lib/datasource/datasource-validate-display.js +1 -1
- package/lib/datasource/field-reference-validator.js +24 -3
- package/lib/datasource/orphan-profiles-validator.js +98 -0
- package/lib/datasource/validate.js +41 -23
- package/lib/external-system/download-helpers.js +87 -0
- package/lib/external-system/download.js +61 -122
- package/lib/external-system/generator.js +1 -59
- package/lib/external-system/test.js +10 -15
- package/lib/generator/builders.js +11 -1
- package/lib/generator/external-controller-manifest.js +5 -2
- package/lib/generator/split.js +3 -1
- package/lib/generator/wizard.js +1 -28
- package/lib/identity/fk-reference.js +65 -0
- package/lib/identity/identity-apply-core.js +13 -58
- package/lib/identity/identity-apply-phases.js +5 -1
- package/lib/identity/identity-display.js +243 -0
- package/lib/identity/identity-response-helpers.js +52 -0
- package/lib/identity/identity-sync-errors.js +62 -0
- package/lib/identity/resolve-user-id.js +129 -0
- package/lib/identity/username-default.js +31 -0
- package/lib/lifecycle/certification-progress.js +2 -2
- package/lib/lifecycle/report-display-trust.js +70 -0
- package/lib/lifecycle/report-display.js +14 -13
- package/lib/resolvers/datasource-resolver.js +2 -3
- package/lib/resolvers/resource-type-file.js +159 -0
- package/lib/schema/application-schema.json +16 -0
- package/lib/schema/deployment-rules.yaml +2 -1
- package/lib/schema/external-datasource.schema.json +372 -58
- package/lib/schema/external-system.schema.json +331 -2
- package/lib/schema/type/document-storage.json +9 -5
- package/lib/utils/app-run-containers.js +25 -2
- package/lib/utils/authentication-shape.js +224 -0
- package/lib/utils/build-copy.js +36 -5
- package/lib/utils/build-resolve-image.js +66 -12
- package/lib/utils/celery-companion-apps.js +53 -0
- package/lib/utils/cli-utils.js +4 -0
- package/lib/utils/compose-celery-worker.js +23 -0
- package/lib/utils/compose-generate-docker-compose.js +9 -1
- package/lib/utils/configuration-env-resolver.js +36 -0
- package/lib/utils/credential-secrets-env-kv.js +216 -0
- package/lib/utils/credential-secrets-env.js +52 -262
- package/lib/utils/dataplane-resolver.js +4 -115
- package/lib/utils/declarative-url-ports.js +24 -1
- package/lib/utils/docker-build.js +1 -4
- package/lib/utils/external-env-template.js +10 -3
- package/lib/utils/external-system-validators.js +8 -2
- package/lib/utils/help-builder.js +2 -0
- package/lib/utils/paths.js +25 -0
- package/lib/utils/platform-controller-url.js +2 -1
- package/lib/utils/platform-kv-ref.js +57 -0
- package/lib/utils/runtime-configuration-download.js +189 -0
- package/lib/utils/runtime-configuration-values.js +119 -0
- package/lib/utils/schema-loader.js +19 -4
- package/lib/utils/worker-sidecars.js +142 -0
- package/lib/validation/external-manifest-validator.js +2 -0
- package/lib/validation/runtime-configuration-rules.js +98 -0
- package/lib/validation/validate-display-dimensions.js +154 -0
- package/lib/validation/validate-display-sections.js +276 -0
- package/lib/validation/validate-display-steps.js +67 -0
- package/lib/validation/validate-display.js +24 -402
- package/package.json +1 -1
- package/templates/applications/dataplane/application.yaml +5 -0
- package/templates/applications/dataplane/env.template +26 -13
- package/templates/applications/dataplane/rbac.yaml +108 -1
- package/templates/applications/miso-controller/application.yaml +2 -2
- package/templates/applications/miso-controller/env.template +37 -122
- package/templates/applications/miso-controller/rbac.yaml +28 -13
- package/templates/channels/chatgpt/install.template.md.hbs +49 -0
- package/templates/channels/chatgpt/manifest.template.json.hbs +9 -0
- package/templates/channels/microsoft-copilot/install.template.md.hbs +49 -0
- package/templates/channels/microsoft-copilot/manifest.template.json.hbs +8 -0
- package/templates/channels/slack/install.template.md.hbs +49 -0
- package/templates/channels/slack/manifest.template.json.hbs +66 -0
- package/templates/channels/teams-bot/install.template.md.hbs +49 -0
- package/templates/channels/teams-bot/manifest.template.json.hbs +13 -0
- package/templates/channels/web-embed/install.template.md.hbs +49 -0
- package/templates/channels/web-embed/manifest.template.json.hbs +8 -0
- package/templates/python/docker-compose.hbs +56 -0
- package/templates/typescript/docker-compose.hbs +52 -0
|
@@ -87,6 +87,62 @@ services:
|
|
|
87
87
|
condition: service_completed_successfully
|
|
88
88
|
{{/if}}
|
|
89
89
|
|
|
90
|
+
{{#if workerSidecars.enabled}}
|
|
91
|
+
{{#if workerSidecars.worker}}
|
|
92
|
+
{{workerSidecars.worker.key}}:
|
|
93
|
+
image: {{image.name}}:{{image.tag}}
|
|
94
|
+
container_name: {{workerSidecars.worker.containerName}}
|
|
95
|
+
environment:
|
|
96
|
+
- MISO_ENVIRONMENT={{misoEnvironment}}
|
|
97
|
+
- LOCAL_MODE=false
|
|
98
|
+
env_file:
|
|
99
|
+
- {{envFile}}
|
|
100
|
+
command: ["sh", "-c", "cd /app && {{{workerSidecars.worker.command}}}"]
|
|
101
|
+
networks:
|
|
102
|
+
- {{networkName}}
|
|
103
|
+
{{#if devMountPath}}
|
|
104
|
+
volumes:
|
|
105
|
+
- {{devMountPath}}:/app
|
|
106
|
+
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
107
|
+
{{/if}}
|
|
108
|
+
depends_on:
|
|
109
|
+
{{app.key}}:
|
|
110
|
+
condition: service_started
|
|
111
|
+
healthcheck:
|
|
112
|
+
disable: true
|
|
113
|
+
restart: unless-stopped
|
|
114
|
+
{{/if}}
|
|
115
|
+
|
|
116
|
+
{{#if workerSidecars.beat}}
|
|
117
|
+
{{workerSidecars.beat.key}}:
|
|
118
|
+
image: {{image.name}}:{{image.tag}}
|
|
119
|
+
container_name: {{workerSidecars.beat.containerName}}
|
|
120
|
+
environment:
|
|
121
|
+
- MISO_ENVIRONMENT={{misoEnvironment}}
|
|
122
|
+
- LOCAL_MODE=false
|
|
123
|
+
env_file:
|
|
124
|
+
- {{envFile}}
|
|
125
|
+
command: ["sh", "-c", "cd /app && {{{workerSidecars.beat.command}}}"]
|
|
126
|
+
networks:
|
|
127
|
+
- {{networkName}}
|
|
128
|
+
{{#if devMountPath}}
|
|
129
|
+
volumes:
|
|
130
|
+
- {{devMountPath}}:/app
|
|
131
|
+
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
132
|
+
{{/if}}
|
|
133
|
+
depends_on:
|
|
134
|
+
{{#if workerSidecars.worker}}
|
|
135
|
+
{{workerSidecars.worker.key}}:
|
|
136
|
+
{{else}}
|
|
137
|
+
{{app.key}}:
|
|
138
|
+
{{/if}}
|
|
139
|
+
condition: service_started
|
|
140
|
+
healthcheck:
|
|
141
|
+
disable: true
|
|
142
|
+
restart: unless-stopped
|
|
143
|
+
{{/if}}
|
|
144
|
+
{{/if}}
|
|
145
|
+
|
|
90
146
|
{{#if requiresDatabase}}
|
|
91
147
|
# Database Initialization (uses infra pgpass when available: ~/.aifabrix/infra/pgpass)
|
|
92
148
|
# env_file: .env.run.admin only (POSTGRES_PASSWORD + DB_*); admin secrets never in app container
|
|
@@ -87,6 +87,58 @@ services:
|
|
|
87
87
|
condition: service_completed_successfully
|
|
88
88
|
{{/if}}
|
|
89
89
|
|
|
90
|
+
{{#if workerSidecars.enabled}}
|
|
91
|
+
{{#if workerSidecars.worker}}
|
|
92
|
+
{{workerSidecars.worker.key}}:
|
|
93
|
+
image: {{image.name}}:{{image.tag}}
|
|
94
|
+
container_name: {{workerSidecars.worker.containerName}}
|
|
95
|
+
environment:
|
|
96
|
+
- MISO_ENVIRONMENT={{misoEnvironment}}
|
|
97
|
+
- LOCAL_MODE=false
|
|
98
|
+
env_file:
|
|
99
|
+
- {{envFile}}
|
|
100
|
+
command: ["sh", "-c", "cd /app && {{{workerSidecars.worker.command}}}"]
|
|
101
|
+
networks:
|
|
102
|
+
- {{networkName}}
|
|
103
|
+
{{#if devMountPath}}
|
|
104
|
+
volumes:
|
|
105
|
+
- {{devMountPath}}:/app
|
|
106
|
+
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
107
|
+
{{/if}}
|
|
108
|
+
depends_on:
|
|
109
|
+
{{app.key}}:
|
|
110
|
+
condition: service_started
|
|
111
|
+
restart: unless-stopped
|
|
112
|
+
{{/if}}
|
|
113
|
+
|
|
114
|
+
{{#if workerSidecars.beat}}
|
|
115
|
+
{{workerSidecars.beat.key}}:
|
|
116
|
+
image: {{image.name}}:{{image.tag}}
|
|
117
|
+
container_name: {{workerSidecars.beat.containerName}}
|
|
118
|
+
environment:
|
|
119
|
+
- MISO_ENVIRONMENT={{misoEnvironment}}
|
|
120
|
+
- LOCAL_MODE=false
|
|
121
|
+
env_file:
|
|
122
|
+
- {{envFile}}
|
|
123
|
+
command: ["sh", "-c", "cd /app && {{{workerSidecars.beat.command}}}"]
|
|
124
|
+
networks:
|
|
125
|
+
- {{networkName}}
|
|
126
|
+
{{#if devMountPath}}
|
|
127
|
+
volumes:
|
|
128
|
+
- {{devMountPath}}:/app
|
|
129
|
+
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
130
|
+
{{/if}}
|
|
131
|
+
depends_on:
|
|
132
|
+
{{#if workerSidecars.worker}}
|
|
133
|
+
{{workerSidecars.worker.key}}:
|
|
134
|
+
{{else}}
|
|
135
|
+
{{app.key}}:
|
|
136
|
+
{{/if}}
|
|
137
|
+
condition: service_started
|
|
138
|
+
restart: unless-stopped
|
|
139
|
+
{{/if}}
|
|
140
|
+
{{/if}}
|
|
141
|
+
|
|
90
142
|
{{#if requiresDatabase}}
|
|
91
143
|
# Database Initialization (uses infra pgpass when available: ~/.aifabrix/infra/pgpass)
|
|
92
144
|
# env_file: .env.run.admin only (POSTGRES_PASSWORD + DB_*); admin secrets never in app container
|