Commit Graph
11 Commits
Author SHA1 Message Date
Mariell Hoversholm 2cc3fd7392 feat: pass resources directly 2024-11-28 09:39:44 +01:00
Mariell Hoversholm 46640cd882 POC/Provisioning: Resources: Move resource interactions to own package (#97107)
* POC/Provisioning: Resources: Move client to its own package

* POC/Provisioning: Resources: Move parsing to resources package

* POC/Provisioning: Test: Align disco response
2024-11-28 08:06:49 +01:00
Mariell Hoversholm ee91485b32 POC/Provisioning: Create an import endpoint (#97085)
* wip

* fix: don't panic on dirs

* fix: workaround dashboard Get returning 500 on 404
2024-11-27 10:10:29 +01:00
Mariell Hoversholm cc27ce5a5d POC/Provisioning: Export: Add upsert functionality (#96985)
* POC/Provisioning: Export: Add upsert functionality

* fix: handle 404 properly
2024-11-25 15:13:13 +01:00
Mariell Hoversholm 17582a3054 feat: pass around logger properly 2024-11-25 13:36:00 +01:00
Mariell Hoversholm cb72f89dfb feat: add more logs 2024-11-25 13:02:27 +01:00
Mariell Hoversholm 42e9570808 POC/Provisioning: Fix: Make github client not call prod GH in tests (#96926)
* refactor: create repository package

* refactor: abstract GH client

* feat: generate mock

* feat: wire in factories

* test: make tests pass

* chore: go fmt
2024-11-25 11:51:29 +01:00
Ryan McKinley 7d61a312da POC/Provisioning: Include the ref parameter everywhere (#96969) 2024-11-25 12:09:51 +03:00
Mariell Hoversholm 36f588fbef fix: use new lookup for exports
(cherry picked from commit 33762d33bc)
2024-11-22 09:19:00 +01:00
Mariell Hoversholm a04421556e feat: export metadata-less YAML resources (#96829)
* feat: export metadata-less YAML resources

* feat: add option to prefer YAML

(cherry picked from commit ed0db3d0e0)
2024-11-22 09:18:56 +01:00
Mariell Hoversholm 1aede325f2 POC/Prototype: Provisioning: add export endpoint (#96815)
* feat: add export endpoint

This is not at all complete, but acts as a good base.

* chore: more todos

* feat: fetch folders and their parents

* feat: export to folders

* refactor: use constant for folder key

(cherry picked from commit d403f5255e)
2024-11-22 09:18:41 +01:00