You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
7fcf648f36
2.9
3.0
3.1
3.2
3.3
4.0
4.1
4.2
4.3
4.4
4.4.1
4.4.2
4.4.3
5.0.0
5.0.0-rc.1
5.0.0-rc.2
5.1.1
5.1.3
5.1.4
5.2.0
5.2.1
5.2.2
6.0
6.0.0
6.0.0.1
aspire-integration
dependabot/npm_and_yarn/apps/vue/tests/server/follow-redirects-1.16.0
dependabot/npm_and_yarn/apps/vue/tests/server/lodash-4.18.1
dependabot/npm_and_yarn/apps/vue/tests/server/picomatch-2.3.2
dependabot/npm_and_yarn/apps/vue/tests/server/systeminformation-5.31.6
dependabot/npm_and_yarn/apps/vue/tests/server/vm2-3.11.5
dev
elsa-3.0
flutter
main
master
rel-10.0.2
rel-10.2.0
rel-10.4.0
rel-10.6.0
rel-10.7.0
rel-11.0
rel-11.0.0
rel-7.0.2
rel-7.0.3
rel-7.1.0
rel-7.1.1
rel-7.2.1
rel-7.3.2
rel-7.3.3
rel-7.4.0
rel-8.0.0
rel-8.0.3
rel-8.1.0
rel-8.1.1
rel-8.1.2
rel-8.1.3
rel-8.2.0
rel-8.2.1
rel-8.2.2
rel-8.3.0
rel-8.3.4
rel-9.1.1
rel-9.1.3
rel-9.2.0
rel-9.2.3
rel-9.3.1
rel-9.3.5
rel-9.3.6
upt-5.3.2
upt-5.3.4
upt-5.3.5
upt-6.0.1
upt-6.0.2
upt-7.0.0
upt-7.0.1
upt-7.2.1
upt-7.2.2
upt-7.4.0
upt-8.2.0
vben-5-7-0
10.0.2
10.2.0
10.4.0
10.6.0
10.7.0
3.2.1
3.2.2
3.2.3
3.3.0
3.3.1
3.3.2
4.0.0
4.4.0
4.4.3
5.0.0
5.0.0-rc.2
5.1.1
5.1.3
5.1.4
5.2.0
5.2.1
5.2.2
5.3.0
5.3.2
5.3.4
6.0.0
6.0.1
6.0.2
7.0.0
7.0.1
7.0.2
7.0.3
7.1.0
7.1.1
7.2.1
7.3.2
7.3.3
7.4.0
8.0.0
8.0.3
8.1.0
8.1.1
8.1.2
8.1.3
8.2.0
8.2.1
8.2.2
8.3.0
8.3.4
9.0.4
9.1.1
9.1.3
9.2.0
9.2.1
9.2.3
9.3.5
9.3.6
${ noResults }
abp-next-admin2/aspnet-core/tests/LINGYUN.Abp.AuditLogging.Op...
Add an OpenObserve implementation of the audit logging stores as an alternative to
Elasticsearch: audit logs, security logs, entity changes and actions go into separate
streams and are queried with OpenObserve SQL.
LINGYUN.Abp.AuditLogging.OpenObserve:
- AbpAuditLoggingOpenObserveOptions binds AuditLogging:OpenObserve; the child streams are
derived from AuditLogStream (GetEntityChangeStream/GetActionStream), no separate options
- OpenObserveAuditLogWriter / OpenObserveSecurityLogWriter replace IAuditLogWriter /
ISecurityLogWriter; OpenObserveAuditLogManager / OpenObserveSecurityLogManager replace
IAuditLogManager / ISecurityLogManager; OpenObserveEntityChangeStore replaces IEntityChangeStore
- entity changes and actions are flattened into their own streams; Actions.* conditions use a
two-step query (match auditlogid in the actions stream, then filter the main stream by id),
because OpenObserve cannot query nested arrays structurally
- multi-tenancy: stream names are per tenant (audit_log_{tenantId:N}) via
IOpenObserveStreamNameNormalizer; writes resolve the log's own tenant, queries the current one
- writes may override _timestamp with the log time (AuditLog.ExecutionTime /
SecurityLog.CreationTime), bounded by TimestampAllowedUptoHours since OpenObserve only accepts
data within ZO_INGEST_ALLOWED_UPTO (5 hours by default)
- entity change details and _timestamp are handled by OpenObserveEntityChangeConverter through
IAuditLoggingOpenObserveSerializer (ABP IJsonSerializer by default), so entities never use
JsonSerializer directly
- deletion is not supported by OpenObserve (append-only, no DELETE/UPDATE): DeleteAsync /
DeleteManyAsync throw the business exception AuditLoggingOpenObserve:010001
("当前日志设施不支持删除记录!" / "The current logging facility does not support deleting records!")
backed by a zh-Hans/en localization resource
- a stream that does not exist yet (nothing ingested) yields an empty result and logs a warning
instead of failing
Shared infrastructure:
- move Condition / ComparisonOp / ExpressionParser from LINGYUN.Abp.Logging.Serilog.OpenObserve
to LINGYUN.Abp.OpenObserve (the parser now also handles Any(member) expressions) and add
OpenObserveSqlBuilder for SQL condition building
Tests:
- LINGYUN.Abp.AuditLogging.OpenObserve.Tests runs the shared AuditLogManager_Tests suite (delete
hooks overridden to assert the not-supported exception) plus tests for the timestamp helper,
localization, entity change round-trip, multi-tenant isolation and the missing-stream warning;
test streams are unique per host instance and cleaned up on shutdown
- AuditLogManager_Tests gains virtual DeleteAsync / DeleteManyAsync hooks (default behaviour unchanged)
|
1 month ago | |
|---|---|---|
| .. | ||
| LINGYUN/Abp/AuditLogging/OpenObserve | feat(auditlogging): Add the OpenObserve audit log store | 1 month ago |
| LINGYUN.Abp.AuditLogging.OpenObserve.Tests.csproj | feat(auditlogging): Add the OpenObserve audit log store | 1 month ago |