chore: changed and refactored providers #36

Merged
marcel.henselin merged 31 commits from feat/alpha_user_database into alpha 2026-02-10 08:10:03 +00:00

31 commits

Author SHA1 Message Date
9b57339776 feat: refactor resource schema handling and add plan modifiers configuration
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 6m27s
CI Workflow / CI (pull_request) Failing after 6m32s
CI Workflow / Code coverage report (pull_request) Has been skipped
2026-02-10 08:53:26 +01:00
062fd98870 feat: add tests for plan modifiers configuration and resource schema handling 2026-02-10 08:08:47 +01:00
c4b31d0ba8 feat: refactor user and database resource import logic and identity handling 2026-02-10 07:19:18 +01:00
184e133a2a feat: refactor data source models and update mapping functions for improved consistency 2026-02-09 21:28:49 +01:00
f0e7c19cdf feat: add project_id and region attributes to database data source schema and refactor user model mapping 2026-02-09 15:38:54 +01:00
1284bcc8a3 feat: enhance database resource model with additional attributes and refactor data source schema 2026-02-09 15:26:44 +01:00
c4891b770d feat: add database data source schema and model with required attributes 2026-02-09 15:26:01 +01:00
d5d0caf5c7 feat: enhance user resource with identity data extraction and logging 2026-02-09 15:25:46 +01:00
5ec7e54d41 feat: add validation for project_id and instance_id attributes in datasource schema 2026-02-09 15:25:46 +01:00
a46e26b69b feat: enhance database resource model with project, region, and instance attributes 2026-02-09 15:25:46 +01:00
e2f7370849 feat: implement IdentitySchema for user resource to define unique identification fields 2026-02-09 15:25:46 +01:00
71dae54b8b feat: rename Model to ResourceModel for clarity in user resource handling 2026-02-09 15:25:46 +01:00
b6d3eb3858 feat: add documentation comments for Model and clientArg structures in resource.go 2026-02-09 15:25:46 +01:00
5d92c9b460 feat: refactor user data source and resource schemas to utilize shared models 2026-02-09 15:25:44 +01:00
bac8ebe236 feat: update name assignment to use GetName method in mapper 2026-02-09 15:25:06 +01:00
6802b64faf feat: add plan modifiers for user and instance attributes in YAML configuration 2026-02-09 15:25:06 +01:00
546eafcb2f feat: refactor Terraform ID handling and add user mapping functions 2026-02-09 15:25:06 +01:00
91913c3446 feat: add database_id attribute to resource model and update related functions 2026-02-09 15:25:06 +01:00
502b2f5e0a feat: refactor database resource model and enhance identity schema handling 2026-02-09 15:25:06 +01:00
c96328060d feat: update mapping functions to include region and improve error handling 2026-02-09 15:25:06 +01:00
936ad54f95 feat: enhance mapping functions for ListDatabase API response and improve error handling 2026-02-09 15:25:06 +01:00
4830d6196d feat: extend database data source schema with project_id, instance_id, region, and tf_id attributes 2026-02-09 15:25:04 +01:00
8fec464c31 feat: enhance error messages for invalid request parameters and not found cases 2026-02-09 15:24:42 +01:00
6c4ef0f8ac test: update error messages in getDatabase tests for clarity 2026-02-09 15:24:42 +01:00
a1365ba446 feat: refactor database data source to use new schema and improve error handling 2026-02-09 15:24:42 +01:00
fae9e05d8c feat: add plan modifiers and validators for database fields 2026-02-09 15:24:42 +01:00
2454353d24 fix: update mockRequest methods to use int32 for pagination parameters 2026-02-09 15:24:42 +01:00
3f9abd525c feat: implement field mapping for ListDatabase API response 2026-02-09 15:24:42 +01:00
615f88579b feat: add database resource schema for PostgreSQL flex alpha 2026-02-09 15:24:40 +01:00
eb736225a9 feat: refactor builder for datasource 2026-02-09 15:20:11 +01:00
f44659f703 feat: refactor builder for datasource 2026-02-09 15:20:11 +01:00