-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: aws integration UI facing api: services #6803
Conversation
6cf92b5
to
dc5f991
Compare
pkg/query-service/app/cloudintegrations/serviceDefinitions/aws/rdsPostgres/integration.json
Show resolved
Hide resolved
pkg/query-service/app/cloudintegrations/serviceDefinitions/aws/ec2/integration.json
Show resolved
Hide resolved
…lable svcs and some cleanup
…provider services
…en queried for cloud account id
…oud account can be configured
dc5f991
to
917cdd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 917cdd6 in 1 minute and 41 seconds
More details
- Looked at
1430
lines of code in14
files - Skipped
2
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. pkg/query-service/tests/integration/signoz_cloud_integrations_test.go:130
- Draft comment:
Consider adding tests for error scenarios, such as configuring a service for a non-connected account or an unsupported service, to improve coverage. - Reason this comment was not posted:
Confidence changes required:50%
The test functionTestAWSIntegrationServices
is missing tests for error scenarios, such as trying to configure a service for a non-connected account or an unsupported service. Adding these tests would improve coverage and robustness.
2. pkg/query-service/app/cloudintegrations/serviceConfigRepo.go:1
- Draft comment:
Avoid using thecomponent/index.tsx
file structure approach, as it makes it difficult to debug and find components using global search tools like VS Code. This is applicable in other files as well. - Reason this comment was not posted:
Comment was on unchanged code.
Workflow ID: wflow_k9zPriTPQVEAK70X
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on d6da8a6 in 27 seconds
More details
- Looked at
14
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. pkg/query-service/app/cloudintegrations/controller_test.go:183
- Draft comment:
Good practice to check forCloudAccountId
not being nil before dereferencing. - Reason this comment was not posted:
Confidence changes required:0%
The change in the testTestConfigureService
adds a check forCloudAccountId
being not nil before comparing it withtestCloudAccountId
. This is a good practice to avoid potential nil pointer dereference errors.
Workflow ID: wflow_xBtlFjCbqZlFsVPp
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
* feat: cloud service integrations: get model and repo interface started * feat: cloud service integrations: flesh out more of cloud services model * feat: cloud integrations: reorganize things a little * feat: cloud integrations: get svc controller started * feat: cloud integrations: add stubs for EC2 and RDS postgres services * feat: cloud integrations: add validation for listing and getting available svcs and some cleanup * feat: cloud integrations: refactor helpers in existing integrations code for reuse * feat: cloud integrations: parsing of cloud service definitions * feat: cloud integrations: impl for getCloudProviderService * feat: cloud integrations: some reorganization * feat: cloud integrations: some more cleanup * feat: cloud integrations: add validation for listing available cloud provider services * feat: cloud integrations: API endpoint for listing available cloud provider services * feat: cloud integrations: add validation for getting details of a particular service * feat: cloud integrations: API endpoint for getting details of a service * feat: cloud integrations: add controller validation for configuring cloud services * feat: cloud integrations: get serviceConfigRepo started * feat: cloud integrations: service config in service list summaries when queried for cloud account id * feat: cloud integrations: only a supported service for a connected cloud account can be configured * feat: cloud integrations: add validation for configuring services via the API * feat: cloud integrations: API for configuring services * feat: cloud integrations: some cleanup * feat: cloud integrations: fix broken test --------- Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Summary
Adds APIs for listing and configuring cloud services for AWS integration
Related Issues / PR's
Contributes to #6544
Important
Add APIs and models for AWS cloud service integration, including service listing, detail retrieval, and configuration updates, with corresponding tests.
ListServices
,GetServiceDetails
, andUpdateServiceConfig
functions incontroller.go
for AWS cloud services.http_handler.go
for listing, retrieving details, and updating service configurations.CloudServiceSummary
,CloudServiceDetails
, andCloudServiceConfig
inmodel.go
.serviceConfigRepository
interface and implementation inserviceConfigRepo.go
.EC2
andRDS Postgres
inserviceDefinitions/aws/
.signoz_cloud_integrations_test.go
for service listing, detail retrieval, and configuration updates.repo.go
toaccountsRepo.go
andInitSqliteDBIfNeeded
toinitAccountsSqliteDBIfNeeded
.This description was created by for d6da8a6. It will automatically update as commits are pushed.