M-class (pipeline): the runner's manifest says class core
The runner claims the seat mesh-pipeline-runner, so its delivery carries a contract of the mesh: the manifest check refuses a seat-claiming manifest with no class. Its states already name their caps. Builds: design 47 H2 §810, §814; H-A-394 (1)
This commit is contained in:
@@ -83,6 +83,8 @@ func TestManifest(t *testing.T) {
|
|||||||
equalSets(m.Streams[0].Events, []string{"finding-written.*", "finding-cleared.*", "findings-stated.*"})},
|
equalSets(m.Streams[0].Events, []string{"finding-written.*", "finding-cleared.*", "findings-stated.*"})},
|
||||||
// RN24 (§368): the version as MAJOR.MINOR, 0.1 with none published.
|
// RN24 (§368): the version as MAJOR.MINOR, 0.1 with none published.
|
||||||
{"version 0.1", m.Version == "0.1"},
|
{"version 0.1", m.Version == "0.1"},
|
||||||
|
// design 47 H2 §810, §814; H-A-394 (1): it claims a seat, so its class is core.
|
||||||
|
{"class core", m.Class == catalogue.ClassCore},
|
||||||
// RN25 (§477, §533, §59): a foundation part whose seat has verbs and events declares its sent store, 256 MiB.
|
// RN25 (§477, §533, §59): a foundation part whose seat has verbs and events declares its sent store, 256 MiB.
|
||||||
// design 47 H2 §791: step-outputs goes; a step's output is read where its build seat's holder keeps it.
|
// design 47 H2 §791: step-outputs goes; a step's output is read where its build seat's holder keeps it.
|
||||||
{"old objects section", equalSets(objects, []string{catalogue.SentObjectsLocal})},
|
{"old objects section", equalSets(objects, []string{catalogue.SentObjectsLocal})},
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"module": "mesh-delivery-pipeline",
|
"module": "mesh-delivery-pipeline",
|
||||||
"version": "0.1",
|
"version": "0.1",
|
||||||
|
"class": "core",
|
||||||
"slug": "pipeline",
|
"slug": "pipeline",
|
||||||
"claims": [
|
"claims": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user