]> git.corax.cc Git - foundry/commitdiff
spec/*: Rename "tid" field to "context"
authorMatthias Kruk <m@m10k.eu>
Sun, 18 Jul 2021 00:37:20 +0000 (09:37 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 18 Jul 2021 00:37:20 +0000 (09:37 +0900)
The object that is used to corellate parts of a build transaction has
been renamed from transaction to context, and therefore the name
"transaction identifier" is not correct anymore.
This commit updates all message specifications so that the field that
stores the context identifier is called "context".

spec/build.json
spec/buildrequest.json
spec/dist.json
spec/distrequest.json
spec/merge.json
spec/mergerequest.json
spec/sign.json
spec/signrequest.json
spec/test.json
spec/testrequest.json

index bcbb1c7d1b4897fe379340f26eeed9af62900271..79c59488eddb57f5df695474945a4357ada53199 100644 (file)
@@ -5,8 +5,8 @@
     "type": "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -47,6 +47,7 @@
     },
 
     "required": [
+       "context",
        "repository",
        "branch",
        "commit",
index b0b2c01bff0167521900a93677fa410f0c001ed3..940e8690054c7119618c2718db6a4c570dc9154d 100644 (file)
@@ -5,8 +5,8 @@
     "type":    "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -28,7 +28,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "repository",
        "branch",
        "commit"
index fd5395735d872c05501079af5761381b8073add7..014334de00bae6fd1d57807a6f7cd7883c60b5b4 100644 (file)
@@ -5,8 +5,8 @@
     "type":    "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -26,7 +26,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "artifacts",
        "repository"
     ],
index 7013a0e6a0bbff5ae653b57c120dec5839ae2a78..e2b77c6d3d5e588e347728e544d6fb0d3cdb7482 100644 (file)
@@ -5,8 +5,8 @@
     "type": "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -36,7 +36,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "repository",
        "branch",
        "commit",
index 5f9b67eb728c6b601ebad60238c9d2c0bab3575b..9b5e66e2e5ea10f2584cca434a59bdec89cd5496 100644 (file)
@@ -5,8 +5,8 @@
     "type": "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -37,7 +37,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "repository",
        "source-branch",
        "destination-branch",
index 378e0700243b046eefd72e06795b322d0bed7b5a..d7c489bcd0eaa46182f83414b2d6e90d1eeae5a3 100644 (file)
@@ -5,8 +5,8 @@
     "type":    "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -27,7 +27,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "repository",
        "source-branch",
        "destination-branch"
index b1412804a023014f00eb91fbc7ac9e059a595a62..e4bacaf434c6fe98bfd45b12aab4051866926dc6 100644 (file)
@@ -5,8 +5,8 @@
     "type":    "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -26,7 +26,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "artifacts",
        "key"
     ],
index 440218ac979c60ce707a2b2b8b696c40f287685e..f5034d0cc51b684bccd5078406ecab71f89f74b9 100644 (file)
@@ -5,8 +5,8 @@
     "type":    "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -21,7 +21,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "artifacts"
     ],
 
index d6ad14ea9b3c5c2d1745f0d9ad5369e8f4fc795e..de805b2c5a8cbb446a6598086c55dcea1e1586eb 100644 (file)
@@ -5,8 +5,8 @@
     "type": "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -41,7 +41,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "repository",
        "branch",
        "commit",
index 88a2a3a4f7192c695c7737dded5dd3e10b351431..83ce716bb7ef92f019a8af879e9639ff79f6c698 100644 (file)
@@ -5,8 +5,8 @@
     "type": "object",
 
     "properties": {
-       "tid": {
-           "description": "Unique identifier of this transaction",
+       "context": {
+           "description": "Context identifier of this transaction",
            "type": "string"
        },
 
@@ -28,7 +28,7 @@
     },
 
     "required": [
-       "tid",
+       "context",
        "repository",
        "branch",
        "commit"