feat: add FederatedLogSetup, AwsConnection, and FederatedLogPartition entity support to federated logs#1398
Open
voorepreethi wants to merge 5 commits into
Open
feat: add FederatedLogSetup, AwsConnection, and FederatedLogPartition entity support to federated logs#1398voorepreethi wants to merge 5 commits into
voorepreethi wants to merge 5 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1398 +/- ##
==========================================
+ Coverage 30.74% 32.85% +2.11%
==========================================
Files 142 143 +1
Lines 6753 6803 +50
==========================================
+ Hits 2076 2235 +159
+ Misses 4477 4366 -111
- Partials 200 202 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
Adds support for three new entity types in the pipelinecontrol package: FederatedLogSetupEntity, AwsConnectionEntity, and FederatedLogPartitionEntity. These enable full lifecycle management of federated log infrastructure resources via the Entity Management API.
Changes
New API Methods
Federated Log Setup
EntityManagementCreateFederatedLogSetup / WithContext — create a Federated Log Setup entity
EntityManagementUpdateFederatedLogSetup / WithContext — update an existing Federated Log Setup entity
Federated Log Partition
EntityManagementCreateFederatedLogPartition / WithContext — create a Federated Log Partition entity
EntityManagementUpdateFederatedLogPartition / WithContext — update an existing Federated Log Partition entity
AWS Connection
EntityManagementCreateAwsConnection / WithContext — create an AWS Connection entity
Search
GetEntitySearch / WithContext — search entities with filters and cursor-based pagination
Tests
Unit Tests (27 total)
Federated Log Setup (6)
Create: success, with-context, error
Update: success, with-context, error
Federated Log Partition (6)
Create: success, with-context, error
Update: success, with-context, error
AWS Connection (3)
Create: success, with-context, error
GetEntity (2)
Returns FederatedLogSetupEntity type assertion
Returns AwsConnectionEntity type assertion
GetEntitySearch (4)
Success, with-context, empty results, error
Integration Tests
TestIntegrationEntityManagement_FederatedLogSetup_CRUD — full create/read/update/delete cycle (gated by RUN_FEDERATED_LOG_SETUP_TEST=true)
TestIntegrationEntityManagement_FederatedLogSetup_Create — standalone create test with real credentials (gated by env vars)