Initial project source

这个提交包含在:
apple
2026-11-20 15:32:57 +08:00
当前提交 fb47c07f7c
共修改 8405 个文件,包含 806907 行新增和 0 行删除
@@ -0,0 +1,11 @@
# Asset inventory request reason
asset_inventory_request.request_reason is the immutable, nullable reason captured when a discovery request is first inserted.
- Discovery creates the request with the normalized DiscoveryCommand.reason; existing validation remains the source of truth (required, non-blank, maximum 500 characters).
- Idempotent replay returns the original request and never replaces its reason. Completion, retry, task status transitions, confirmations, and resolutions never update it.
- Idempotency is scoped by actor, organization, department, method/path and key. History first checks task visibility, then filters by organization, department, discovery path and result task; it returns the stored request actor, not the reader. It must not join asset_inventory_task.status_reason.
- NULL means the historical request did not record a request reason (including pre-migration rows and non-discovery actions); it is displayed as “未记录”, never reconstructed from a current task status.
- The additive migration is forward-only and only adds the nullable column. Rollback retains the column and does not delete request rows; application rollback uses the prior service artifact only after confirming it tolerates the extra column.
- Migration requires ALGORITHM=INSTANT; unsupported engine/row format/row-version or row-size conditions fail, with no COPY/INPLACE fallback. Set session lock_wait_timeout=5 at the future approved execution entry; this does not remove metadata-lock requirements. MySQL 8.4 reference: https://dev.mysql.com/doc/refman/8.4/en/innodb-online-ddl-operations.html
- Tests use real Service/Repository/RowMapper with an in-memory JDBC boundary and transaction rollback simulation. They do not prove MySQL DDL or runtime rollback.
+41
查看文件
@@ -0,0 +1,41 @@
schemaVersion: 1
taskId: M7-ASSET-UPGRADE-WIRING-131
crossUnitApiDependencies:
governance: [dataproduct]
dataops: [dataproduct]
resourceApiConsumers: [dataproduct, governance, dataops]
scope:
externalRecipients: false
financialCrossDepartment: false
runtimeApproved: false
contracts:
datasetPreparationInput:
taskId: M7-DATASET-PREPARATION-CONTROL-145
group: aixun-datagov-dataset-preparation-input
version: 1.0.0
operations: [resolveInput, authorizeInput]
sourceOwner: dataproduct
consumer: dataops
authority: current-synchronous-login-and-system-purpose-projection
supportedUse: ANNOTATION
datasetInputEvidence:
group: aixun-datagov-dataset-input-evidence
version: 1.0.0
operations: [candidates, resolve]
sourceOwner: dataproduct
consumer: governance
authority: current-synchronous-login-and-system-purpose-projection
privateBusinessFiles:
group: aixun-datagov-private-business-file
version: 1.2.0
authority: fixed-business-owner-callback-per-chunk
publicOssAccess: false
recovery: persistent-operation-key-stage-before-business-commit
businessOwners: [dataproduct, governance, dataops]
dataopsAuthorizationGroup: aixun-datagov-private-file-dataops
dataopsAuthorizationVersion: 1.0.0
compliance:
group: aixun-datagov-asset-upgrade
version: 1.1.0
implementation: resolveUsage
unconfigured: [resolveAsset, resolveFinancialBatch, resolvePublicationEvidence]
文件差异内容过多而无法显示 加载差异
+81
查看文件
@@ -0,0 +1,81 @@
schemaVersion: 1
taskId: M2-GOLDEN-001
batchNo: M2-GOLDEN-20260825-A
milestone: M2
scope:
enabledUnits:
- integration
- dataops
- governance
forbiddenUnits:
- dataproduct
externalPath:
- mysql-source
- seatunnel-2.3.13
- dolphinscheduler-3.4.2
- hive-4.2.0
- doris-4.0.8
- openmetadata-1.13.4
statusContract:
values:
- PENDING
- RUNNING
- SUCCEEDED
- FAILED
- CANCELED
- PAUSED
- UNKNOWN
unreliableExternalResult: UNKNOWN
reconciliationRequiredForUnknown: true
idempotency:
header: Idempotency-Key
keyPattern: '^[A-Za-z0-9._:-]{16,128}$'
sameKeySamePayload: return-existing-run
sameKeyDifferentPayload: reject
externalCreateRule: query-by-platform-name-or-label-before-create
security:
persistedCredentialField: secretRef
resolverOwner: integration
plaintextForbiddenIn:
- database
- nacos
- logs
- responses
- browser
- evidence
ownership:
integration:
tables:
- dg_data_source
- dg_external_mapping
- dg_golden_stage
dataops:
tables:
- dev_job_definition
- dev_job_snapshot
- ops_job_run
- ops_job_run_event
governance:
tables:
- md_entity_projection
crossUnitApiDependencies:
integration:
- governance
dataops:
- integration
governance: []
dorisDiagnosticLimits:
maxRows: 100
maxBytes: 1048576
maxPageSize: 50
statementTimeoutSeconds: 5
maxConcurrentQueries: 2
maxQueriesPerMinute: 10
downloadEnabled: false
cancellationRequired: true
backpressureRequired: true
openMetadataEntry:
mode: controlled-new-window
iframeAllowed: false
repeatedLoginExpected: true
openMetadataIngestionExecutorContract: openmetadata-ingestion-executor.yml
+9
查看文件
@@ -0,0 +1,9 @@
schemaVersion: 1
taskId: M5-CROSS-UNIT-CONTRACT-FIX-001
milestone: M5
status: IMPLEMENTATION_BASELINE_M5
crossUnitApiDependencies:
dataops:
- governance
governance:
- integration
@@ -0,0 +1,36 @@
schemaVersion: 1
taskId: M6-CONTRACT-PREP-001
milestone: M6
status: IMPLEMENTATION_BASELINE_M6
scope:
enabledUnits:
- integration
- dataops
- governance
- dataproduct
forbiddenUnits: []
prefixOwnership:
governance:
- mdm_
- asset_
- sec_
dataproduct:
- metric_
- svc_
crossUnitApiDependencies:
governance:
- integration
dataproduct:
- integration
- governance
dataProductBoundary:
gatewayPath: /api/dataproduct/**
servicePort: 9340
localHostPort: 29340
highVolumeDorisPath: direct-read-only-with-d019-guards
integrationUnlimitedResultProxyAllowed: false
runtime:
staticConfigurationEnabled: true
deploymentApplied: false
migrationApplied: false
browserAccepted: false
@@ -0,0 +1,56 @@
schemaVersion: 1
taskId: M7-METADATA-INGESTION-EXECUTOR-ENABLEMENT-001
component: openmetadata-ingestion-executor
version: 1.13.4
image:
registry: docker.getcollate.io
repository: openmetadata/ingestion
indexDigest: sha256:4d2cc31946ce2dbd4211209ea6433a6912a8f7b98a7bc8286d3a1bbacfda1fce
platform: linux/amd64
manifestDigest: sha256:7fbd5f78de4a3ff7b3ade8bfd928348e1786a296e178b02e3c985243d00d71f5
runtime:
composeProject: aixun-datagov-m2
executorService: m2-om-ingestion
executorContainer: aixun-datagov-m2-om-ingestion
databaseService: m2-om-airflow-mysql
databaseContainer: aixun-datagov-m2-om-airflow-mysql
databaseName: aixun_m2_airflow
databaseUser: aixun_m2_airflow
network: aixun-datagov-local-m2-om-private
hostPorts: []
executor: LocalExecutor
apiEndpoint: http://m2-om-ingestion:8080
metadataApiEndpoint: http://m2-openmetadata:8585/api
healthEndpoint: /api/v2/monitor/health
secrets:
transport: compose-secret-files
fileMode: '0600'
names:
- om-airflow-db-password
- om-airflow-admin-password
- om-airflow-fernet-key
- om-airflow-api-secret-key
- om-airflow-jwt-secret
plaintextForbiddenIn:
- compose
- evidence
- logs
- container-config-env
boundaries:
purpose: OpenMetadata-owned metadata ingestion only
businessDagScheduler: dolphinscheduler-3.4.2
arbitraryDagSubmission: forbidden
arbitraryShellPythonSql: forbidden
otherProjectReuse: forbidden
productDatabaseDirectAccess: forbidden
acceptance:
healthIsTerminalProof: false
pipelineCreationIsTerminalProof: false
terminalRunRequired: true
metadataReadbackRequired: true
businessRowReadForbidden: true
testObjectPrefix: m7_
failure:
unavailableStatus: UNKNOWN
imageFallback: forbidden
preserveExistingOpenMetadataState: true
@@ -0,0 +1,15 @@
schemaVersion: 1
kind: CONTRACT_SAMPLE_ONLY
implementedBusinessFeature: false
ownerUnit: integration
operationId: createContractProbe
method: POST
path: /api/integration/v1/contract-probes
permission: aixun:integration:contract-probe:create
idempotencyKey: m0-contract-probe-0001
requestHashRequired: true
successEnvelope: cn.aixunkeji.common.core.domain.R
sampleBusinessErrorCode: 110001
databaseTable: dg_contract_probe
dubboPublished: false
externalComponentRequired: false
+42
查看文件
@@ -0,0 +1,42 @@
schemaVersion: 1
implementedBusinessFeature: false
scope: M0-secret-reference-minimum-closure
approvedResolvers:
localDevelopment:
- env
- readOnlyMountedFile
testAndProduction:
- deploymentSecretToReadOnlyMountedFile
referenceRules:
requiredVersion: true
maximumLength: 512
authorizedBy: sha256ReferenceFingerprint
approvedSchemes:
- env
- file
persistence:
allowed:
- secretRef
- secretRefFingerprint
- secretVersion
- nonSensitiveOwnerMetadata
forbidden:
- secretMaterial
- password
- token
- connectionString
responseAndAudit:
createUpdateEchoReference: false
createUpdateEchoMaterial: false
auditFields:
- actorId
- action
- bindingId
- refFingerprint
- outcome
- safeErrorCode
rotation:
verifyNewBeforeSwitch: true
revokeOldBeforeMetadataUpdate: true
plaintextFallback: false
externalComponentsIntegrated: false