Skip to content

Commit

Permalink
update(schemas): add new field chain_id to context
Browse files Browse the repository at this point in the history
This commit adds the chain_id field to the context which is the id of
the full lifecycle of a request from source to deployment.

Signed-off-by: benjamin-j-powell <[email protected]>
  • Loading branch information
benjamin-j-powell committed Oct 28, 2023
1 parent 539b7f0 commit 41c3425
Show file tree
Hide file tree
Showing 39 changed files with 187 additions and 31 deletions.
6 changes: 5 additions & 1 deletion schemas/artifactpackaged.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -115,4 +119,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/artifactpublished.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -93,4 +97,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/artifactsigned.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -101,4 +105,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/branchcreated.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -112,4 +116,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/branchdeleted.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -112,4 +116,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/buildfinished.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -97,4 +101,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/buildqueued.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -93,4 +97,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/buildstarted.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -93,4 +97,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/changeabandoned.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -112,4 +116,4 @@
"context",
"subject"
]
}
}
4 changes: 4 additions & 0 deletions schemas/changecreated.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down
6 changes: 5 additions & 1 deletion schemas/changemerged.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -112,4 +116,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/changereviewed.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -112,4 +116,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/changeupdated.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -112,4 +116,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/environmentcreated.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -100,4 +104,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/environmentdeleted.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -97,4 +101,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/environmentmodified.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -100,4 +104,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/incidentdetected.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -140,4 +144,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/incidentreported.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -146,4 +150,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/incidentresolved.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -140,4 +144,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/pipelinerunfinished.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -106,4 +110,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/pipelinerunqueued.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -100,4 +104,4 @@
"context",
"subject"
]
}
}
6 changes: 5 additions & 1 deletion schemas/pipelinerunstarted.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -104,4 +108,4 @@
"context",
"subject"
]
}
}
Loading

0 comments on commit 41c3425

Please sign in to comment.