Skip to content

21 20 json api and rsp multitenancy#22

Merged
matt-beanland merged 4 commits into
devfrom
21-20-json-api-and-rsp-multitenancy
Apr 26, 2026
Merged

21 20 json api and rsp multitenancy#22
matt-beanland merged 4 commits into
devfrom
21-20-json-api-and-rsp-multitenancy

Conversation

@matt-beanland
Copy link
Copy Markdown
Collaborator

This closes issues #20 and #21

- RSP resource with AshStateMachine lifecycle (inactive/active/suspended)
- Ash Policy multi-tenancy: SetRspId change, OwnedByActor and NoActor checks, RspOwnership macro shared across 5 RSP-owned resources
- NTD and UNI are NBN-owned infrastructure: readable by any RSP, mutable only by nil actor
- JSON API via AshJsonApi and Plug.Cowboy on port 4000
- RSP list action with epid sort; field_policy restricts state visibility to record owner
- Livebook moved to documentation/domains/diffo_example_nbn.livemd with Kino RSP selector and actor-scoped provisioning flow
- documentation/domains/nbn.md: Perentie ecosystem narrative and RSP spirit animals
- README updated to describe both NBN and Access domains
@matt-beanland matt-beanland merged commit 3d3863f into dev Apr 26, 2026
2 checks passed
@matt-beanland matt-beanland deleted the 21-20-json-api-and-rsp-multitenancy branch May 23, 2026 09:39
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.

1 participant