contracts-node-engine-apply-order-and-word: the verb apply-order and the constant want:version on the seat node-engine
Generated with seatgen whose identifier function splits on ':' (H-A-64, the contracts-indexer-bridge developer's change in mesh-delivery-sdk/seatgen); seatgen -check passes only with it. Builds: design 47 H §771, §772, H-A-45, H-A-46, H-A-63, H-A-64
This commit is contained in:
@@ -259,5 +259,29 @@
|
||||
},
|
||||
"withheld-unknown": "withheld unknown: the grants part does not answer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "apply-order answers the changed wants in the order they are applied, with why and what each waits on",
|
||||
"of": "verb:apply-order.answer",
|
||||
"given": {
|
||||
"order": [
|
||||
{
|
||||
"module": "mesh-broker",
|
||||
"position": 1,
|
||||
"why": "the bus module is applied first",
|
||||
"waits": []
|
||||
},
|
||||
{
|
||||
"module": "mesh-delivery-view",
|
||||
"pipeline": "main.2",
|
||||
"rank": 2,
|
||||
"position": 2,
|
||||
"why": "rank 2 of main.2, after rank 1",
|
||||
"waits": [
|
||||
"mesh-delivery-indexer"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -724,6 +724,67 @@
|
||||
},
|
||||
"class": "read"
|
||||
},
|
||||
{
|
||||
"name": "apply-order",
|
||||
"optional": true,
|
||||
"description": "The order this machine's engine will apply its changed wants in, with why: one row per unapplied changed want, the bus module and the backup holder first, then each pipeline's wants by rank, then the rest by name, its own want last, a reverted module first (design 47 H 771, H-A-46). Read-only. Answered by this machine's engine alone.",
|
||||
"input": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"answer": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"order": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"module": {
|
||||
"type": "string",
|
||||
"description": "the module whose want waits to be applied"
|
||||
},
|
||||
"pipeline": {
|
||||
"type": "string",
|
||||
"description": "the want's pipeline (its key); absent for a want in none"
|
||||
},
|
||||
"rank": {
|
||||
"type": "integer",
|
||||
"description": "the mover's tier in its pipeline; absent for a want in none"
|
||||
},
|
||||
"position": {
|
||||
"type": "integer",
|
||||
"description": "its place in the order, the first applied being 1"
|
||||
},
|
||||
"why": {
|
||||
"type": "string",
|
||||
"description": "why it stands there, in one sentence"
|
||||
},
|
||||
"waits": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "the modules it waits on; empty when it waits for nothing"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"module",
|
||||
"position",
|
||||
"why",
|
||||
"waits"
|
||||
]
|
||||
},
|
||||
"description": "one row per unapplied changed want, in the order it will be applied"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"order"
|
||||
],
|
||||
"description": "the order this machine's engine applies its changed wants in"
|
||||
},
|
||||
"class": "read"
|
||||
},
|
||||
{
|
||||
"name": "seat-list",
|
||||
"description": "The seat list this engine holds and what it waits for (novox/hq ADR 0636 §7): each seat's source (trunk or bootstrap) and digest, the seats held from the bootstrap alone, the definitions refused, the last error and whether the seat mesh-catalog has answered. Read-only.",
|
||||
@@ -1855,6 +1916,13 @@
|
||||
],
|
||||
"description": "the answer of an act the operator is asked"
|
||||
},
|
||||
"ManifestReadWord": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"want:version"
|
||||
],
|
||||
"description": "the word a node-engine states in manifest-reads when it reads a want by version and not by digests (design 47 H 772, H-A-45); the assigner holds a node whose engine does not state it. Other words in manifest-reads are free"
|
||||
},
|
||||
"ManifestReadsChanged": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user