@opensoha/contracts 0.1.25 → 0.1.27
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/COMPATIBILITY.md +34 -0
- package/README.md +1 -1
- package/agent/environment/export.go +1 -0
- package/agent/environment/protocol_test.go +1 -1
- package/agent/guest/protocol_test.go +2 -2
- package/auth/catalog_generated.go +2 -2
- package/auth/permission-catalog.json +481 -1
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
- package/delivery/document.schema.json +127 -9
- package/endpointcontrol/decode.go +64 -0
- package/endpointcontrol/models.go +138 -0
- package/endpointcontrol/models_test.go +51 -0
- package/endpointcontrol/protocol.schema.json +397 -0
- package/examples/relations_compat_test.go +18 -0
- package/fixtures/json-schema/endpoint-controls/invalid/controls.json +16 -0
- package/fixtures/json-schema/endpoint-controls/invalid/missing-channel-decision.json +15 -0
- package/fixtures/json-schema/endpoint-controls/invalid/receipt-content.json +36 -0
- package/fixtures/json-schema/endpoint-controls/valid/controls.json +16 -0
- package/fixtures/json-schema/endpoint-controls/valid/receipt.json +35 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/eap-activate-bad-fingerprint.json +14 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/eap-gateway-request.json +14 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/eap-private-key-request.json +15 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/eap-profile-without-eap-credential.json +22 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/endpoint-dns-observation.json +25 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/gateway-presence.json +22 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/mihomo-protection-zero-version.json +45 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/presence-raw-key.json +23 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/presence-zero-sequence.json +22 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/workload-wide-vpn.json +17 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/eap-certificate-activate.json +14 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/eap-certificate-request.json +14 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/eap-profile-enrollment.json +24 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/endpoint-presence.json +22 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/ipv6-configuration.json +102 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/mihomo-protected-policy.json +45 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/site-dns-ipv6.json +25 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/workload-direct-ztna.json +20 -0
- package/fixtures/openapi/DLPShadowDecision/invalid/step-up-type.json +14 -0
- package/fixtures/openapi/DLPShadowDecision/valid/archive-v2.json +14 -0
- package/fixtures/openapi/DLPShadowDecision/valid/step-up.json +14 -0
- package/fixtures/openapi/DLPShadowInput/invalid/self-reported-result.json +7 -0
- package/fixtures/openapi/DLPShadowInput/invalid/too-many-samples.json +14 -0
- package/fixtures/openapi/DLPShadowInput/valid/bounded.json +7 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-build-template.json +30 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-deployment-template.json +30 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-workflow-template.json +27 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-build-template.json +31 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-deployment-template.json +31 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-workflow-template.json +28 -0
- package/fixtures/openapi/DeliveryPlanInput/invalid/manual-plan.json +7 -0
- package/fixtures/openapi/DeliveryPlanInput/valid/manual-plan.json +6 -0
- package/fixtures/openapi/DeliveryTargetInput/invalid/candidate-on-runtime-deploy.json +9 -0
- package/fixtures/openapi/DeliveryTargetInput/invalid/config-update-missing-service.json +7 -0
- package/fixtures/openapi/DeliveryTargetInput/valid/template-configuration-only.json +8 -0
- package/fixtures/openapi/DeliveryTargetInput/valid/template-configuration-without-runtime-environment.json +1 -0
- package/fixtures/openapi/DockerVolumeDLPAppealInput/invalid/p4-response.json +3 -0
- package/fixtures/openapi/DockerVolumeDLPAppealInput/valid/p4-response.json +3 -0
- package/fixtures/openapi/DockerVolumeDLPAppealReviewInput/invalid/p4-response.json +5 -0
- package/fixtures/openapi/DockerVolumeDLPAppealReviewInput/valid/p4-response.json +5 -0
- package/fixtures/openapi/DockerVolumeDLPAuthorizationInput/invalid/p4-response.json +3 -0
- package/fixtures/openapi/DockerVolumeDLPAuthorizationInput/valid/p4-response.json +3 -0
- package/fixtures/openapi/DockerVolumeDLPContent/invalid/archive-unsupported-channel.json +9 -0
- package/fixtures/openapi/DockerVolumeDLPContent/invalid/p4.json +6 -0
- package/fixtures/openapi/DockerVolumeDLPContent/invalid/step-up-audit.json +9 -0
- package/fixtures/openapi/DockerVolumeDLPContent/invalid/unavailable-engine.json +9 -0
- package/fixtures/openapi/DockerVolumeDLPContent/invalid/unknown-data-level.json +12 -0
- package/fixtures/openapi/DockerVolumeDLPContent/valid/classified-rule.json +16 -0
- package/fixtures/openapi/DockerVolumeDLPContent/valid/p4.json +8 -0
- package/fixtures/openapi/DockerVolumeDLPContent/valid/step-up.json +9 -0
- package/fixtures/openapi/DockerVolumeDLPDecision/invalid/p4.json +9 -0
- package/fixtures/openapi/DockerVolumeDLPDecision/invalid/step-up-type.json +12 -0
- package/fixtures/openapi/DockerVolumeDLPDecision/valid/archive-v2.json +12 -0
- package/fixtures/openapi/DockerVolumeDLPDecision/valid/p4.json +11 -0
- package/fixtures/openapi/DockerVolumeDLPDecision/valid/step-up.json +12 -0
- package/fixtures/openapi/DockerVolumeDLPSaveInput/invalid/p4.json +11 -0
- package/fixtures/openapi/DockerVolumeDLPSaveInput/valid/p4.json +11 -0
- package/fixtures/openapi/DockerVolumeFileReadInput/invalid/p4-response.json +5 -0
- package/fixtures/openapi/DockerVolumeFileReadInput/valid/p4-response.json +4 -0
- package/fixtures/openapi/EndpointDeviceInput/invalid/reported-management.json +5 -0
- package/fixtures/openapi/EndpointDeviceInput/valid/management-state.json +5 -0
- package/fixtures/openapi/EndpointDeviceRegistrationInput/invalid/self-promote-management.json +5 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/source-with-spec.json +33 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/source-without-uid.json +29 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/valid/stable-source.json +30 -0
- package/fixtures/openapi/KubernetesPod/invalid/pod-uid.json +9 -0
- package/fixtures/openapi/KubernetesPod/valid/pod-uid.json +9 -0
- package/fixtures/openapi/KubernetesPodDetail/invalid/pod-uid.json +6 -0
- package/fixtures/openapi/KubernetesPodDetail/valid/pod-uid.json +6 -0
- package/fixtures/openapi/KubernetesServiceImportRequest/invalid/empty-source-uid.json +48 -0
- package/fixtures/openapi/KubernetesServiceImportRequest/valid/pinned-workloads-and-cr.json +48 -0
- package/fixtures/openapi/ManagedContentPasteInput/invalid/boundary.json +5 -0
- package/fixtures/openapi/ManagedContentPasteInput/valid/boundary.json +6 -0
- package/fixtures/openapi/ManagedContentPolicy/invalid/self-reported-allow.json +8 -0
- package/fixtures/openapi/ManagedContentPolicy/invalid/step-up-audit.json +8 -0
- package/fixtures/openapi/ManagedContentPolicy/invalid/unknown-extractor.json +8 -0
- package/fixtures/openapi/ManagedContentPolicy/valid/archive-v2.json +8 -0
- package/fixtures/openapi/ManagedContentPolicy/valid/network-and-level.json +10 -0
- package/fixtures/openapi/ManagedContentPolicy/valid/step-up.json +8 -0
- package/fixtures/openapi/ManagedContentReviewInput/invalid/boundary.json +5 -0
- package/fixtures/openapi/ManagedContentReviewInput/valid/boundary.json +5 -0
- package/fixtures/openapi/ManagedContentSaveInput/invalid/boundary.json +14 -0
- package/fixtures/openapi/ManagedContentSaveInput/valid/boundary.json +16 -0
- package/fixtures/openapi/ManagedContentUploadInput/invalid/boundary.json +7 -0
- package/fixtures/openapi/ManagedContentUploadInput/valid/boundary.json +6 -0
- package/fixtures/openapi/ManifestExecutionTaskPayload/invalid/initialization.json +7 -0
- package/fixtures/openapi/ManifestExecutionTaskPayload/valid/initialization.json +7 -0
- package/fixtures/openapi/ManifestRootResource/invalid/root.json +1 -0
- package/fixtures/openapi/ManifestRootResource/valid/root.json +1 -0
- package/fixtures/openapi/NetworkAccessPolicyInput/invalid/unknown-management-state.json +35 -0
- package/fixtures/openapi/NetworkAccessPolicyInput/valid/managed-device.json +35 -0
- package/fixtures/openapi/NetworkAdmissionPreviewRequest/invalid/deviceId-characters.json +4 -0
- package/fixtures/openapi/NetworkAdmissionPreviewRequest/invalid/nasBindingId-characters.json +4 -0
- package/fixtures/openapi/NetworkAdmissionPreviewRequest/invalid/subject-override.json +1 -0
- package/fixtures/openapi/NetworkAdmissionPreviewRequest/valid/device-nas.json +1 -0
- package/fixtures/openapi/NetworkAdmissionPreviewResult/invalid/missing-attributeVersion.json +13 -0
- package/fixtures/openapi/NetworkAdmissionPreviewResult/invalid/missing-evaluatedAt.json +13 -0
- package/fixtures/openapi/NetworkAdmissionPreviewResult/valid/versioned.json +14 -0
- package/fixtures/openapi/NetworkConflictAnalysisRequest/invalid/missing-runtime-ranges.json +1 -0
- package/fixtures/openapi/NetworkConflictAnalysisRequest/invalid/unknown-source-type.json +9 -0
- package/fixtures/openapi/NetworkConflictAnalysisRequest/valid/empty-runtime-ranges.json +3 -0
- package/fixtures/openapi/NetworkConflictAnalysisRequest/{invalid → valid}/ipv6-range.json +1 -1
- package/fixtures/openapi/NetworkEAPServerTrust/invalid/no-server-validation.json +5 -0
- package/fixtures/openapi/NetworkEAPServerTrust/valid/named-server.json +9 -0
- package/fixtures/openapi/NetworkEndpointResponsePolicyInput/invalid/all-sites-implicit.json +45 -0
- package/fixtures/openapi/NetworkEndpointResponsePolicyInput/invalid/unbounded-stages.json +54 -0
- package/fixtures/openapi/NetworkEndpointResponsePolicyInput/invalid/zero-heartbeat.json +47 -0
- package/fixtures/openapi/NetworkEndpointResponsePolicyInput/valid/staged-protection.json +47 -0
- package/fixtures/openapi/NetworkEndpointResponseRestoreInput/invalid/missing-reason.json +3 -0
- package/fixtures/openapi/NetworkEndpointResponseRestoreInput/valid/expected-current.json +4 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/invalid/attribute-version.json +1 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/valid/admission-version.json +1 -0
- package/fixtures/openapi/NetworkPolicySubjects/invalid/duplicate-role.json +1 -0
- package/fixtures/openapi/NetworkPolicySubjects/invalid/role-characters.json +5 -0
- package/fixtures/openapi/NetworkPolicySubjects/valid/role-bound.json +1 -0
- package/fixtures/openapi/NetworkProxyConfigurationInput/invalid/missing-content.json +1 -0
- package/fixtures/openapi/NetworkProxyConfigurationPatchInput/invalid/bad-binding-id.json +9 -0
- package/fixtures/openapi/NetworkProxyConfigurationPatchInput/invalid/empty-content.json +1 -0
- package/fixtures/openapi/NetworkProxyConfigurationPatchInput/valid/binding-only.json +11 -0
- package/fixtures/openapi/NetworkProxyConfigurationPatchInput/valid/clear-binding-disabled.json +5 -0
- package/fixtures/openapi/NetworkProxyConfigurationPatchInput/valid/enabled.json +1 -0
- package/fixtures/openapi/NetworkSiteInput/invalid/unknown-governance.json +6 -0
- package/fixtures/openapi/NetworkSiteInput/valid/restricted-unmanaged.json +6 -0
- package/fixtures/openapi/ResourceRelationConfig/invalid/executable-rule.json +17 -0
- package/fixtures/openapi/ResourceRelationConfig/valid/unknown-kind.json +13 -0
- package/fixtures/openapi/ServiceDeploymentTemplateInput/invalid/migration-missing-guide-valid-yaml.json +38 -0
- package/fixtures/openapi/ServiceDeploymentTemplateInput/valid/migration-valid-yaml.json +39 -0
- package/fixtures/openapi/TemplateMigrationAssessment/invalid/initialization.json +9 -0
- package/fixtures/openapi/TemplateMigrationAssessment/valid/initialization.json +9 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/blank-guide.json +5 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/missing-guide.json +4 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/unknown-escape-hatch.json +6 -0
- package/fixtures/openapi/TemplateMigrationPolicy/valid/legacy-safe.json +4 -0
- package/fixtures/openapi/TemplateMigrationPolicy/valid/ordered-data-change.json +5 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/invalid/duplicate-candidates.json +11 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/invalid/empty-identities.json +10 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/valid/staged-adoption.json +10 -0
- package/fixtures/openapi/TemplateUpdatePolicyInput/invalid/unknown-mode.json +8 -0
- package/fixtures/openapi/TemplateUpdatePolicyInput/valid/explicit-automatic.json +8 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/invalid/empty-identities.json +10 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/invalid/empty-targets.json +6 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/valid/cross-version-manual.json +14 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/client_test.go +2 -2
- package/gen/go/sohaapi/import_source_compat_test.go +12 -0
- package/gen/go/sohaapi/proxy_configuration_test.go +38 -0
- package/gen/go/sohaapi/types.go +3760 -345
- package/gen/ts/sohaapi/index.ts +5573 -181
- package/go.mod +2 -2
- package/helmrelease/delivery.go +4 -1
- package/helmrelease/initialization.go +10 -0
- package/helmrelease/runtime/delivery.go +40 -10
- package/helmrelease/runtime/delivery_test.go +4 -0
- package/helmrelease/runtime/initialization.go +186 -0
- package/helmrelease/runtime/initialization_test.go +203 -0
- package/network/README.md +34 -0
- package/network/network-radius-accounting.schema.json +4 -1
- package/network/network-runtime-protocol.schema.json +2166 -317
- package/network/proxy-runtime.schema.json +482 -67
- package/openapi/network_control_test.go +64 -0
- package/openapi/soha-api.json +53524 -43459
- package/openapi/soha-api.yaml +26431 -20491
- package/openapi/spec_generated.go +3 -3
- package/openapi/spec_test.go +42 -0
- package/package.json +6 -3
- package/proxytransport/handler.go +271 -0
- package/proxytransport/probe.go +30 -0
- package/proxytransport/scope.go +89 -0
- package/proxytransport/transport_test.go +60 -0
- package/resource/models.go +2 -0
- package/resource/relations.go +225 -0
- package/resource/relations_test.go +47 -0
- package/resource/root_cr.go +38 -0
- package/resource/runtime/argocd_integration_test.go +1 -1
- package/resource/runtime/initialization.go +66 -0
- package/resource/runtime/initialization_test.go +80 -0
- package/resource/runtime/relations.go +161 -0
- package/resource/runtime/relations_test.go +100 -0
- package/resource/runtime/root_cr.go +79 -0
- package/resource/runtime/root_cr_test.go +118 -0
package/fixtures/json-schema/network-runtime-protocol/invalid/mihomo-protection-zero-version.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-config-mihomo-protection-0001",
|
|
4
|
+
"messageType": "configuration.desired",
|
|
5
|
+
"producerId": "network-control",
|
|
6
|
+
"runtimeId": "endpoint-bob",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-09-03T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-03T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"configurationVersion": 3,
|
|
12
|
+
"policyVersion": 7,
|
|
13
|
+
"validUntil": "2026-09-03T08:05:00Z",
|
|
14
|
+
"accessProfile": "full",
|
|
15
|
+
"protectedResourceIds": [
|
|
16
|
+
"resource-payroll"
|
|
17
|
+
],
|
|
18
|
+
"networkLeases": [],
|
|
19
|
+
"resourceLeases": [],
|
|
20
|
+
"mihomo": {
|
|
21
|
+
"mode": "app_subscription",
|
|
22
|
+
"profileId": "profile-personal",
|
|
23
|
+
"profileRevision": 1,
|
|
24
|
+
"mixedPort": 7890,
|
|
25
|
+
"controllerPort": 9090,
|
|
26
|
+
"dnsMode": "fake_ip",
|
|
27
|
+
"fakeIpRange": "198.18.0.0/15",
|
|
28
|
+
"selectorGroup": "SOHA",
|
|
29
|
+
"bypassCidrs": [],
|
|
30
|
+
"bypassHosts": [
|
|
31
|
+
"network-control.example.com"
|
|
32
|
+
],
|
|
33
|
+
"failClosed": false,
|
|
34
|
+
"protection": {
|
|
35
|
+
"policyVersion": 0,
|
|
36
|
+
"cidrs": [
|
|
37
|
+
"10.40.0.0/16"
|
|
38
|
+
],
|
|
39
|
+
"hosts": [
|
|
40
|
+
"payroll.example.com"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "presence-1",
|
|
4
|
+
"messageType": "endpoint.presence.request",
|
|
5
|
+
"producerId": "endpoint-lab",
|
|
6
|
+
"runtimeId": "endpoint-lab",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-10-14T00:00:00Z",
|
|
9
|
+
"expiresAt": "2026-10-14T00:00:30Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"deviceId": "device-lab",
|
|
12
|
+
"bootId": "boot-1",
|
|
13
|
+
"sequence": 1,
|
|
14
|
+
"status": "healthy",
|
|
15
|
+
"configurationVersion": 1,
|
|
16
|
+
"policyVersion": 1,
|
|
17
|
+
"uiState": "unknown",
|
|
18
|
+
"capabilities": [
|
|
19
|
+
"endpoint-presence-v1"
|
|
20
|
+
],
|
|
21
|
+
"privateKey": "not-a-real-secret"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "presence-1",
|
|
4
|
+
"messageType": "endpoint.presence.request",
|
|
5
|
+
"producerId": "endpoint-lab",
|
|
6
|
+
"runtimeId": "endpoint-lab",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-10-14T00:00:00Z",
|
|
9
|
+
"expiresAt": "2026-10-14T00:00:30Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"deviceId": "device-lab",
|
|
12
|
+
"bootId": "boot-1",
|
|
13
|
+
"sequence": 0,
|
|
14
|
+
"status": "healthy",
|
|
15
|
+
"configurationVersion": 1,
|
|
16
|
+
"policyVersion": 1,
|
|
17
|
+
"uiState": "unknown",
|
|
18
|
+
"capabilities": [
|
|
19
|
+
"endpoint-presence-v1"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-direct-ztna-connect-0001",
|
|
4
|
+
"messageType": "vpn.connect.request",
|
|
5
|
+
"producerId": "endpoint-alice",
|
|
6
|
+
"runtimeId": "endpoint-alice",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-09-02T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-02T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"requestId": "direct-ztna-request-0001",
|
|
12
|
+
"siteId": "site-a",
|
|
13
|
+
"networkSpaceId": "space-site-a",
|
|
14
|
+
"mode": "external_vpn",
|
|
15
|
+
"workloadId": "billing-worker"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "presence-1",
|
|
4
|
+
"messageType": "eap.certificate.activate.request",
|
|
5
|
+
"producerId": "endpoint-lab",
|
|
6
|
+
"runtimeId": "endpoint-lab",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-10-14T00:00:00Z",
|
|
9
|
+
"expiresAt": "2026-10-14T00:00:30Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"credentialId": "eap-credential-1",
|
|
12
|
+
"fingerprint": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "presence-1",
|
|
4
|
+
"messageType": "eap.certificate.request",
|
|
5
|
+
"producerId": "endpoint-lab",
|
|
6
|
+
"runtimeId": "endpoint-lab",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-10-14T00:00:00Z",
|
|
9
|
+
"expiresAt": "2026-10-14T00:00:30Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"requestId": "eap-rotation-1",
|
|
12
|
+
"csrPem": "-----BEGIN CERTIFICATE REQUEST-----\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n-----END CERTIFICATE REQUEST-----\n"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-enroll-wireguard-0001",
|
|
4
|
+
"messageType": "runtime.enroll.request",
|
|
5
|
+
"producerId": "endpoint-alice",
|
|
6
|
+
"runtimeId": "endpoint-alice",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-09-02T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-02T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"enrollmentId": "enrollment-alice",
|
|
12
|
+
"challengeId": "challenge-alice",
|
|
13
|
+
"deviceId": "device-alice-laptop",
|
|
14
|
+
"devicePublicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA7qY8R9gAwRQmJau0p7uB8mVJwA6m3i3zYvRrV7lIl1E=\n-----END PUBLIC KEY-----",
|
|
15
|
+
"wireguardPublicKey": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=",
|
|
16
|
+
"platform": "macos",
|
|
17
|
+
"clientVersion": "0.2.0",
|
|
18
|
+
"capabilities": [
|
|
19
|
+
"radius-eap-tls-v1",
|
|
20
|
+
"eap-profile-v1",
|
|
21
|
+
"endpoint-presence-v1"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "presence-1",
|
|
4
|
+
"messageType": "endpoint.presence.request",
|
|
5
|
+
"producerId": "endpoint-lab",
|
|
6
|
+
"runtimeId": "endpoint-lab",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-10-14T00:00:00Z",
|
|
9
|
+
"expiresAt": "2026-10-14T00:00:30Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"deviceId": "device-lab",
|
|
12
|
+
"bootId": "boot-1",
|
|
13
|
+
"sequence": 1,
|
|
14
|
+
"status": "healthy",
|
|
15
|
+
"configurationVersion": 1,
|
|
16
|
+
"policyVersion": 1,
|
|
17
|
+
"uiState": "unknown",
|
|
18
|
+
"capabilities": [
|
|
19
|
+
"endpoint-presence-v1"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-config-0001",
|
|
4
|
+
"messageType": "configuration.desired",
|
|
5
|
+
"producerId": "network-control-default",
|
|
6
|
+
"runtimeId": "gateway-site-a",
|
|
7
|
+
"runtimeKind": "gateway",
|
|
8
|
+
"occurredAt": "2026-09-02T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-02T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"configurationVersion": 12,
|
|
12
|
+
"policyVersion": 7,
|
|
13
|
+
"validUntil": "2026-09-02T08:05:00Z",
|
|
14
|
+
"accessProfile": "full",
|
|
15
|
+
"protectedResourceIds": [
|
|
16
|
+
"resource-payroll"
|
|
17
|
+
],
|
|
18
|
+
"networkLeases": [
|
|
19
|
+
{
|
|
20
|
+
"id": "network-lease-0001",
|
|
21
|
+
"sessionId": "session-0001",
|
|
22
|
+
"subjectId": "user-alice",
|
|
23
|
+
"deviceId": "device-alice-laptop",
|
|
24
|
+
"networkSpaceId": "space-site-a",
|
|
25
|
+
"cidrs": [
|
|
26
|
+
"fd20::/64"
|
|
27
|
+
],
|
|
28
|
+
"policyVersion": 7,
|
|
29
|
+
"issuedAt": "2026-09-02T08:00:00Z",
|
|
30
|
+
"expiresAt": "2026-09-02T08:05:00Z"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"resourceLeases": [
|
|
34
|
+
{
|
|
35
|
+
"id": "resource-lease-0001",
|
|
36
|
+
"sessionId": "session-0001",
|
|
37
|
+
"subjectId": "user-alice",
|
|
38
|
+
"deviceId": "device-alice-laptop",
|
|
39
|
+
"resourceIds": [
|
|
40
|
+
"resource-payroll"
|
|
41
|
+
],
|
|
42
|
+
"policyVersion": 7,
|
|
43
|
+
"issuedAt": "2026-09-02T08:00:00Z",
|
|
44
|
+
"expiresAt": "2026-09-02T08:02:00Z"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"runtimeIntervals": {
|
|
48
|
+
"heartbeatIntervalSeconds": 60,
|
|
49
|
+
"configurationPollIntervalSeconds": 60
|
|
50
|
+
},
|
|
51
|
+
"wireguard": {
|
|
52
|
+
"role": "gateway",
|
|
53
|
+
"interfaceName": "soha0",
|
|
54
|
+
"publicKey": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
|
|
55
|
+
"addresses": [
|
|
56
|
+
"fd96::1/128"
|
|
57
|
+
],
|
|
58
|
+
"listenPort": 51820,
|
|
59
|
+
"mtu": 1380,
|
|
60
|
+
"routingMode": "routed",
|
|
61
|
+
"firewallDefault": "deny",
|
|
62
|
+
"peers": [
|
|
63
|
+
{
|
|
64
|
+
"runtimeId": "endpoint-alice",
|
|
65
|
+
"deviceId": "device-alice-laptop",
|
|
66
|
+
"publicKey": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=",
|
|
67
|
+
"allowedIPs": [
|
|
68
|
+
"fd96::2/128"
|
|
69
|
+
],
|
|
70
|
+
"persistentKeepaliveSeconds": 25
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"routes": [
|
|
74
|
+
"fd20::/64"
|
|
75
|
+
],
|
|
76
|
+
"dnsServers": [
|
|
77
|
+
"fd20::53"
|
|
78
|
+
],
|
|
79
|
+
"firewallRules": [
|
|
80
|
+
{
|
|
81
|
+
"id": "deny-payroll",
|
|
82
|
+
"effect": "deny",
|
|
83
|
+
"sourceCidr": "fd96::2/128",
|
|
84
|
+
"destinationCidr": "fd20::10/128",
|
|
85
|
+
"protocol": "tcp",
|
|
86
|
+
"ports": [
|
|
87
|
+
443
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "allow-network-lease-0001",
|
|
92
|
+
"effect": "allow",
|
|
93
|
+
"leaseId": "network-lease-0001",
|
|
94
|
+
"sourceCidr": "fd96::2/128",
|
|
95
|
+
"destinationCidr": "fd20::/64",
|
|
96
|
+
"protocol": "any",
|
|
97
|
+
"expiresAt": "2026-09-02T08:05:00Z"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-config-mihomo-protection-0001",
|
|
4
|
+
"messageType": "configuration.desired",
|
|
5
|
+
"producerId": "network-control",
|
|
6
|
+
"runtimeId": "endpoint-bob",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-09-03T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-03T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"configurationVersion": 3,
|
|
12
|
+
"policyVersion": 7,
|
|
13
|
+
"validUntil": "2026-09-03T08:05:00Z",
|
|
14
|
+
"accessProfile": "full",
|
|
15
|
+
"protectedResourceIds": [
|
|
16
|
+
"resource-payroll"
|
|
17
|
+
],
|
|
18
|
+
"networkLeases": [],
|
|
19
|
+
"resourceLeases": [],
|
|
20
|
+
"mihomo": {
|
|
21
|
+
"mode": "app_subscription",
|
|
22
|
+
"profileId": "profile-personal",
|
|
23
|
+
"profileRevision": 1,
|
|
24
|
+
"mixedPort": 7890,
|
|
25
|
+
"controllerPort": 9090,
|
|
26
|
+
"dnsMode": "fake_ip",
|
|
27
|
+
"fakeIpRange": "198.18.0.0/15",
|
|
28
|
+
"selectorGroup": "SOHA",
|
|
29
|
+
"bypassCidrs": [],
|
|
30
|
+
"bypassHosts": [
|
|
31
|
+
"network-control.example.com"
|
|
32
|
+
],
|
|
33
|
+
"failClosed": false,
|
|
34
|
+
"protection": {
|
|
35
|
+
"policyVersion": 7,
|
|
36
|
+
"cidrs": [
|
|
37
|
+
"10.40.0.0/16"
|
|
38
|
+
],
|
|
39
|
+
"hosts": [
|
|
40
|
+
"payroll.example.com"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-dns-1",
|
|
4
|
+
"messageType": "dns.observations",
|
|
5
|
+
"producerId": "gateway-site-a",
|
|
6
|
+
"runtimeId": "gateway-site-a",
|
|
7
|
+
"runtimeKind": "gateway",
|
|
8
|
+
"occurredAt": "2026-09-02T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-02T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"configurationVersion": 12,
|
|
12
|
+
"policyVersion": 7,
|
|
13
|
+
"observations": [
|
|
14
|
+
{
|
|
15
|
+
"resourceId": "resource-payroll",
|
|
16
|
+
"hostname": "payroll.example.internal",
|
|
17
|
+
"addresses": [
|
|
18
|
+
"fd20::10"
|
|
19
|
+
],
|
|
20
|
+
"observedAt": "2026-09-02T08:00:00Z",
|
|
21
|
+
"ttlSeconds": 60
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "network-runtime/v1alpha1",
|
|
3
|
+
"messageId": "msg-direct-ztna-connect-0001",
|
|
4
|
+
"messageType": "vpn.connect.request",
|
|
5
|
+
"producerId": "endpoint-alice",
|
|
6
|
+
"runtimeId": "endpoint-alice",
|
|
7
|
+
"runtimeKind": "endpoint",
|
|
8
|
+
"occurredAt": "2026-09-02T08:00:00Z",
|
|
9
|
+
"expiresAt": "2026-09-02T08:05:00Z",
|
|
10
|
+
"payload": {
|
|
11
|
+
"requestId": "direct-ztna-request-0001",
|
|
12
|
+
"siteId": "site-a",
|
|
13
|
+
"networkSpaceId": "space-site-a",
|
|
14
|
+
"mode": "external_direct_ztna",
|
|
15
|
+
"resourceIds": [
|
|
16
|
+
"resource-payroll"
|
|
17
|
+
],
|
|
18
|
+
"workloadId": "billing-worker"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"enabled": true,
|
|
3
|
+
"mode": "warn",
|
|
4
|
+
"status": "matched",
|
|
5
|
+
"allowed": false,
|
|
6
|
+
"detectorVersion": "content-dlp-text-v1",
|
|
7
|
+
"matchedRuleIds": [
|
|
8
|
+
"private_key"
|
|
9
|
+
],
|
|
10
|
+
"dataLevel": "restricted",
|
|
11
|
+
"minimumDataLevel": "public",
|
|
12
|
+
"ruleSetVersion": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
13
|
+
"stepUpRequired": "true"
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"enabled": true,
|
|
3
|
+
"mode": "warn",
|
|
4
|
+
"status": "matched",
|
|
5
|
+
"allowed": false,
|
|
6
|
+
"detectorVersion": "content-dlp-archive-v2",
|
|
7
|
+
"matchedRuleIds": [
|
|
8
|
+
"private_key"
|
|
9
|
+
],
|
|
10
|
+
"dataLevel": "restricted",
|
|
11
|
+
"minimumDataLevel": "public",
|
|
12
|
+
"ruleSetVersion": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
13
|
+
"stepUpRequired": true
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"enabled": true,
|
|
3
|
+
"mode": "warn",
|
|
4
|
+
"status": "matched",
|
|
5
|
+
"allowed": false,
|
|
6
|
+
"detectorVersion": "content-dlp-text-v1",
|
|
7
|
+
"matchedRuleIds": [
|
|
8
|
+
"private_key"
|
|
9
|
+
],
|
|
10
|
+
"dataLevel": "restricted",
|
|
11
|
+
"minimumDataLevel": "public",
|
|
12
|
+
"ruleSetVersion": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
13
|
+
"stepUpRequired": true
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "delivery.soha.io/v1alpha1",
|
|
3
|
+
"kind": "BuildTemplate",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "node-image"
|
|
6
|
+
},
|
|
7
|
+
"spec": {
|
|
8
|
+
"buildCommands": [
|
|
9
|
+
"npm ci",
|
|
10
|
+
"npm run build"
|
|
11
|
+
],
|
|
12
|
+
"variableSchema": {
|
|
13
|
+
"MODE": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"enum": [
|
|
17
|
+
"production",
|
|
18
|
+
"development"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"defaultVariables": {
|
|
23
|
+
"MODE": "production"
|
|
24
|
+
},
|
|
25
|
+
"migrationPolicy": {
|
|
26
|
+
"sequential": true,
|
|
27
|
+
"irreversible": false
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-deployment-template.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "delivery.soha.io/v1alpha1",
|
|
3
|
+
"kind": "DeploymentTemplate",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "http-service"
|
|
6
|
+
},
|
|
7
|
+
"spec": {
|
|
8
|
+
"source": {
|
|
9
|
+
"renderer": "raw_yaml",
|
|
10
|
+
"files": [
|
|
11
|
+
{
|
|
12
|
+
"path": "config.yaml",
|
|
13
|
+
"content": "apiVersion: v1\nkind: ConfigMap\nmetadata:\n name: example\ndata:\n mode: prod\n"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"parameterSchema": {
|
|
18
|
+
"type": "object"
|
|
19
|
+
},
|
|
20
|
+
"defaults": {},
|
|
21
|
+
"health": {
|
|
22
|
+
"mode": "configuration_only",
|
|
23
|
+
"timeoutSeconds": 60
|
|
24
|
+
},
|
|
25
|
+
"migrationPolicy": {
|
|
26
|
+
"sequential": true,
|
|
27
|
+
"irreversible": false
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-workflow-template.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "delivery.soha.io/v1alpha1",
|
|
3
|
+
"kind": "WorkflowTemplate",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "build-release",
|
|
6
|
+
"displayName": "\u8054\u5408\u6784\u5efa\u53d1\u5e03"
|
|
7
|
+
},
|
|
8
|
+
"spec": {
|
|
9
|
+
"definition": {
|
|
10
|
+
"mode": "delivery_batch",
|
|
11
|
+
"schemaVersion": 1,
|
|
12
|
+
"stages": [
|
|
13
|
+
"build",
|
|
14
|
+
"plan",
|
|
15
|
+
"deploy",
|
|
16
|
+
"health"
|
|
17
|
+
],
|
|
18
|
+
"executionMode": "build_all_then_deploy",
|
|
19
|
+
"stopOnFailure": true,
|
|
20
|
+
"maxConcurrency": 4
|
|
21
|
+
},
|
|
22
|
+
"migrationPolicy": {
|
|
23
|
+
"sequential": true,
|
|
24
|
+
"irreversible": false
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "delivery.soha.io/v1alpha1",
|
|
3
|
+
"kind": "BuildTemplate",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "node-image"
|
|
6
|
+
},
|
|
7
|
+
"spec": {
|
|
8
|
+
"buildCommands": [
|
|
9
|
+
"npm ci",
|
|
10
|
+
"npm run build"
|
|
11
|
+
],
|
|
12
|
+
"variableSchema": {
|
|
13
|
+
"MODE": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"enum": [
|
|
17
|
+
"production",
|
|
18
|
+
"development"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"defaultVariables": {
|
|
23
|
+
"MODE": "production"
|
|
24
|
+
},
|
|
25
|
+
"migrationPolicy": {
|
|
26
|
+
"sequential": true,
|
|
27
|
+
"irreversible": true,
|
|
28
|
+
"guide": "Backup, migrate in order, verify; forward repair only."
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "delivery.soha.io/v1alpha1",
|
|
3
|
+
"kind": "DeploymentTemplate",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "http-service"
|
|
6
|
+
},
|
|
7
|
+
"spec": {
|
|
8
|
+
"source": {
|
|
9
|
+
"renderer": "raw_yaml",
|
|
10
|
+
"files": [
|
|
11
|
+
{
|
|
12
|
+
"path": "config.yaml",
|
|
13
|
+
"content": "apiVersion: v1\nkind: ConfigMap\nmetadata:\n name: example\ndata:\n mode: prod\n"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"parameterSchema": {
|
|
18
|
+
"type": "object"
|
|
19
|
+
},
|
|
20
|
+
"defaults": {},
|
|
21
|
+
"health": {
|
|
22
|
+
"mode": "configuration_only",
|
|
23
|
+
"timeoutSeconds": 60
|
|
24
|
+
},
|
|
25
|
+
"migrationPolicy": {
|
|
26
|
+
"sequential": true,
|
|
27
|
+
"irreversible": true,
|
|
28
|
+
"guide": "Backup, migrate in order, verify; forward repair only."
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "delivery.soha.io/v1alpha1",
|
|
3
|
+
"kind": "WorkflowTemplate",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "build-release",
|
|
6
|
+
"displayName": "\u8054\u5408\u6784\u5efa\u53d1\u5e03"
|
|
7
|
+
},
|
|
8
|
+
"spec": {
|
|
9
|
+
"definition": {
|
|
10
|
+
"mode": "delivery_batch",
|
|
11
|
+
"schemaVersion": 1,
|
|
12
|
+
"stages": [
|
|
13
|
+
"build",
|
|
14
|
+
"plan",
|
|
15
|
+
"deploy",
|
|
16
|
+
"health"
|
|
17
|
+
],
|
|
18
|
+
"executionMode": "build_all_then_deploy",
|
|
19
|
+
"stopOnFailure": true,
|
|
20
|
+
"maxConcurrency": 4
|
|
21
|
+
},
|
|
22
|
+
"migrationPolicy": {
|
|
23
|
+
"sequential": true,
|
|
24
|
+
"irreversible": true,
|
|
25
|
+
"guide": "Backup, migrate in order, verify; forward repair only."
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|