Skip to content

Conversation

@tomatobet
Copy link

@tomatobet tomatobet commented Oct 14, 2025

Match API usage with the latest API changes that broke the DBaaS resources.

Allow users to setup IP Filtering and backups on their DbaaS.

@tomatobet tomatobet requested a review from yyewolf October 14, 2025 14:21
@tomatobet tomatobet self-assigned this Oct 14, 2025
@yyewolf yyewolf added documentation Improvements or additions to documentation enhancement New feature or request go Pull requests that update go code awaiting api changes This issue is awaiting changes from the API labels Oct 14, 2025
@yyewolf yyewolf requested a review from unshade October 14, 2025 15:23
@tomatobet tomatobet force-pushed the fix/api-route-changes branch from 65b8dc1 to 69a8f23 Compare October 17, 2025 10:45
@github-actions
Copy link
Contributor

github-actions bot commented Oct 17, 2025

Pure Unit test coverage

File Coverage
All files 2%
internal/apis/dbaas/implementation/client.go 4%
internal/apis/dbaas/models.go 0%
internal/apis/domain/models.go 0%
internal/apis/kaas/implementation/client.go 18%
internal/apis/kaas/mock/client.go 0%
internal/apis/kaas/mock/client.go 0%
internal/apis/kaas/mock/gen.go 0%
internal/apis/kaas/models.go 0%
internal/apis/kaas/models.go 0%
internal/apis/kaas/models.go 0%
internal/services/dbaas/dbaas_backup_schedule_resource.go 0%
internal/services/dbaas/dbaas_backup_schedule_resource.go 0%
internal/services/dbaas/dbaas_backup_schedule_resource.go 0%
internal/services/dbaas/dbaas_backup_schedule_resource_schema.go 0%
internal/services/dbaas/dbaas_constants_data_source.go 0%
internal/services/dbaas/dbaas_constants_data_source.go 0%
internal/services/dbaas/dbaas_constants_data_source_schema.go 0%
internal/services/dbaas/dbaas_data_source.go 0%
internal/services/dbaas/dbaas_data_source.go 0%
internal/services/dbaas/dbaas_data_source.go 0%
internal/services/dbaas/dbaas_data_source_schema.go 0%
internal/services/dbaas/dbaas_pack_data_source.go 0%
internal/services/dbaas/dbaas_pack_data_source.go 0%
internal/services/dbaas/dbaas_pack_data_source_schema.go 0%
internal/services/dbaas/dbaas_resource.go 0%
internal/services/dbaas/dbaas_resource.go 0%
internal/services/dbaas/dbaas_resource.go 0%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against eccb8c6

@github-actions
Copy link
Contributor

github-actions bot commented Oct 17, 2025

Global test coverage

File Coverage
All files 38%
internal/apis/dbaas/implementation/client.go 0%
internal/apis/dbaas/implementation/client.go 0%
internal/apis/dbaas/models.go 0%
internal/apis/domain/models.go 0%
internal/apis/kaas/implementation/client.go 0%
internal/apis/kaas/implementation/client.go 0%
internal/apis/kaas/mock/client.go 43%
internal/apis/kaas/mock/gen.go 71%
internal/apis/kaas/models.go 0%
internal/services/dbaas/dbaas_backup_schedule_resource.go 0%
internal/services/dbaas/dbaas_backup_schedule_resource.go 3%
internal/services/dbaas/dbaas_constants_data_source.go 9%
internal/services/dbaas/dbaas_data_source.go 9%
internal/services/dbaas/dbaas_data_source.go 0%
internal/services/dbaas/dbaas_pack_data_source.go 10%
internal/services/dbaas/dbaas_resource.go 2%
internal/services/dbaas/dbaas_resource.go 0%

Minimum allowed coverage is 10%

Generated by 🐒 cobertura-action against eccb8c6

@github-actions
Copy link
Contributor

📦 Download test reports to see details

@github-actions
Copy link
Contributor

📦 Download test reports to see details

@yyewolf yyewolf marked this pull request as draft October 22, 2025 07:43
@unshade unshade mentioned this pull request Oct 29, 2025
@yyewolf yyewolf changed the title fix: match api usage with latest api changes feat(dbaas): Update DBaaS for production release Nov 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📦 Download test reports to see details

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📦 Download test reports to see details

@unshade unshade force-pushed the fix/api-route-changes branch from 1d114a4 to 090fe44 Compare November 6, 2025 10:50
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📦 Download test reports to see details

@unshade unshade self-assigned this Nov 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📦 Download test reports to see details

@unshade unshade force-pushed the fix/api-route-changes branch from 4825fb1 to 60708d0 Compare November 6, 2025 14:13
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📦 Download test reports to see details

chore: clean things up

chore: remove outdated todo comment
* feat(dbaas): allowed cidrs schema

* feat(dbaas): resource CRUD ops

* feat(dbaas): read datasource

* docs(dbaas): cidr whitelist example

* fix(dbaas): minor fixes

* fix(dbaas): ip filtering api changes

* feat(dbaas): datasource

* fix(dbaas): update state after update

* feat(dbaas): add kubernetes identifier

* feat(dbaas): implement new datasources and improve api matching (#56)

* refactor(dbaas): clean unused backup resources

* feat(dbaas): replace backups by backup schedule

* docs(dbaas): backup schedule

* feat(dbaas): data datasources

* docs(dbaas): packs & consts datasources

* fix(dbaas): minor fixs

* fix(dbaas): api changes on backup schedules

* fix(dbaas): allowed cidrs type

* refactor: only use int64 (#57)

refactor(kaas): extract schemas

refactor(dbaas): extract schemas

refactor(domain): extract schemas

refactor: unused scopes packges

fix: minor fixes

Co-authored-by: Copilot <[email protected]>

fix(dbaas): latest api changes

fix: minor fixs
@unshade unshade force-pushed the fix/api-route-changes branch from 60708d0 to e5bd104 Compare November 6, 2025 14:22
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📦 Download test reports to see details

@yyewolf yyewolf closed this Nov 7, 2025
@yyewolf yyewolf deleted the fix/api-route-changes branch November 7, 2025 13:45
@yyewolf yyewolf restored the fix/api-route-changes branch November 7, 2025 13:45
@yyewolf yyewolf reopened this Nov 7, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

📊 Test Reports Available

🔍 Unit Test Results: View Detailed Report

🔍 Acceptance Mocked Test Results: View Detailed Report

📦 Download archive test reports to see details

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting api changes This issue is awaiting changes from the API documentation Improvements or additions to documentation enhancement New feature or request go Pull requests that update go code lgtm pre-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants