Skip to content

Conversation

jortel
Copy link
Contributor

@jortel jortel commented May 27, 2025

Feature branch for asset generation.
See individual (reviewed) PRs.

jortel added 3 commits May 27, 2025 11:20
Add application manifests discovered on the _source_ platform.
This PR will be merged to the `asset-generation` feature branch.

application `Manifest`.
This resource has 2 parts: The content (document) and the secret.
This PR adds /manifests endpoint.
Manifests can get fetched decrypted and injected. When injected, the
$(ref) in content is replaced with the value of the referenced secret.
Else, not.

- [x] model / migration
- [x] api
- [x] binding
- [x] api/test

closes #808

---------

Signed-off-by: Jeff Ortel <[email protected]>
Add support for _source_ platforms. A platform represents a platform on
which an application is deployed.

- [x] api
- [x] model
- [x] binding
- [x] test
- [x] scopes  

closes #809

---------

Signed-off-by: Jeff Ortel <[email protected]>
Add asset generators.

- [x] model
- [x] api
- [x] binding
- [x] test
- [x] scopes

Add target profiles owned by archetypes.

- [x] model
- [x] api
- [x] binding
- [x] test

closes #811
closes #812
closes #813

---
Adds `Association` which provides better support for managing
associations. The db.Association(_name_).Replace(_list_) does not
support Omit(clause.Associations) behavior. As a result, when a
referenced model does not exist, it is created
instead of the expected FK constraint error.
We get away with this because the UI always specifies references that
already exist.

Most if not all:

The db.Association(_name_).Replace(_list_)

should be replaced with:

h.Association(_ctx_, _name_).Replace(_list_)

---------

Signed-off-by: Jeff Ortel <[email protected]>
@jortel jortel changed the title :sparkles Asset generation. ✨ Asset generation. May 27, 2025
@jortel jortel marked this pull request as ready for review May 29, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants