Repository navigation
feat(logs): WriteLogsAsync and GetLogAsync - #104
Merged
Merged
Conversation
…nerated off gateway audit/logging 7afc82b57
The client methods are source-generated from the DTOs, so the regeneration
is the feature:
Api: WriteLogs / WriteLogEntry / WriteLogsResponse (POST /{version}/logs)
-> Logs.WriteLogsAsync.
Hub: GetLog / GetLogResponse (GET /{version}/logs/{Id}) -> Logs.GetLogAsync;
the AWS CloudWatch logging integration request and dto; Origin on
TenantLogEntryDto.
Breaking: SaveLogSettings.SkipCloudDashboardLogs, SkipHttpBodyMeta and
AiChatLoggingEnabled are now bool? (not sent = unchanged) instead of bool.
Setting them still compiles; code that reads them as bool needs a cast.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LogsEndpointTests (Api): the entries travel in the body, Accepted comes back, a 429 quota refusal throws with CM-ERRORS-LOGGING-003. HubLogsEndpointTests: the log id lands in the path; the integration test posts the integration id. Coverage snapshots accepted: Api.Logs (new), Hub.Logs (+GetLog) — every endpoint matches the gateway manifest; Hub.Internal only gains the two AWS CloudWatch typegen anchor properties. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hub row names GetLogAsync and says to call TestLoggingIntegrationAsync after saving an integration — nothing is delivered until its last test passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
|
🎉 This PR is included in version 3.27.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Logs Stage A for the .NET SDK.
Logs.WriteLogsAsyncon the Api client (POST /{version}/logs, 1–100 entries, answersAccepted) andLogs.GetLogAsyncon the Hub client (GET /{version}/logs/{Id}); AWS CloudWatch logging integration types;Originon log entries.SaveLogSettingsflags are nowbool?(not sent = unchanged).LogsEndpointTests(Api: body + Accepted, 429CM-ERRORS-LOGGING-003),HubLogsEndpointTests(GetLog, TestLoggingIntegration); coverage snapshots Api.Logs (new), Hub.Logs, Hub.Internal accepted against the endpoint manifest.dotnet test Norbix.Sdk.sln -p:NuGetAudit=false: 365 passed, 0 failed (103 Sdk + 260 Hub + 2 Coexistence).logsrow; Hublogsrow says to runTestLoggingIntegrationAsyncafter saving an integration.Expected release: v3.10.0 (minor).
🤖 Generated with Claude Code