Commit graph

6 commits

Author SHA1 Message Date
Henrique Santos
4e8514df00
Logging and error handling improvements, bug fixes (#21)
- Uniformed logs and diagnostics:
  - Logging and adding to diagnostics is done by the highest level function (Create/Read/Update/Delete/Import) using `LogAndAddError`
  - Lower-level routines' signature changed to return error instead of writing to diagnostics
  - Standardize summary and details across services
  - Removed manual adding of relevant variables to details (they're in the context, TF adds them to logs)
- Changed validators to be closer to official implementation
- Fix logging wrong output after wait
- Fix Argus checking wrong diagnostics
- Fix Resource Manager not updating state after project update
- Fix unnecessary pointer in LogAndAddError
2023-09-21 14:52:52 +01:00
João Palet
386ccac6b4
Extend DSA Reads to compute plan name and version from plan ID (#20)
* Extend Read to compute plan name and version from plan ID

* Lint

* Fix error handling; Pass client to loadPlanNameAndVersion

* Change error to warning

* Replicate to other DSA

* Update acc tests to test import of plan name and version
2023-09-20 11:00:08 +02:00
João Palet
82b0c6ff6c
Document resource's internal ID structure and create foundation for migration guide (#12)
* Add internal ID structure to DSA instance descriptions

* Add internal ID structure to DSA credential descriptions

* Add internal ID structure to Argus descriptions

* Add internal ID structure to DNS descriptions

* Add internal ID structure to PostgresFlex descriptions

* Add internal ID structure to ResourceManager descriptions

* Add internal ID structure to SKE descriptions

* Generate updated docs

* Add first basis for migration guide
2023-09-08 18:03:26 +01:00
João Palet
d5274a83d0
Fix DSA acceptance tests (#7)
* Fix MariaDB acceptance test

* Fix PostgreSQL acceptance test

* Fix LogMe acceptance test

* Fix RabbitMQ acceptance test

* Fix Redis acceptance test

* Fix OpenSearch acceptance test
2023-09-08 13:08:18 +02:00
Henrique Santos
6800f7a421
Update DSA dependencies (#5)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-07 16:09:14 +01:00
vicentepinto98
e4c8a6fbf4 Initial commit 2023-09-07 11:34:45 +01:00