[P1-02] Define the public library API, runtime object, and dependency-injection ports #40
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Current APIs are globals and package internals:
*sys*,*targets*, global pools, global producer agent, global Ningle app, global settings, and startup hooks. Multiple runtime instances cannot be safely composed or tested.Required public API
Define stable operations equivalent to:
make-runtimestart-runtimestop-runtimeruntime-stateruntime-healthsubmit-documentupdate-documentget-documentsearch-documentssubmit-targetacquire-target-leaserenew-target-leaserelease-target-leaseRequired ports
Protocols for:
Requirements
Acceptance tests