diff --git a/pkg/api/artifactpackaged.go b/pkg/api/artifactpackaged.go index 9b34535..4f6f6de 100644 --- a/pkg/api/artifactpackaged.go +++ b/pkg/api/artifactpackaged.go @@ -32,7 +32,7 @@ var ( ArtifactPackagedEventV1 CDEventType = CDEventType{ Subject: "artifact", Predicate: "packaged", - Version: "0.1.1", + Version: "0.1.0", } ) diff --git a/pkg/api/bindings_test.go b/pkg/api/bindings_test.go index 994b34f..a6457f0 100644 --- a/pkg/api/bindings_test.go +++ b/pkg/api/bindings_test.go @@ -107,10 +107,10 @@ var ( eventJsonCustomDataTemplate = `{ "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "%s", "source": "TestAsCloudEvent", - "type": "dev.cdevents.artifact.packaged.0.1.1", + "type": "dev.cdevents.artifact.packaged.0.1.0", "timestamp": "%s" }, "subject": { @@ -134,10 +134,10 @@ var ( eventImplicitJsonCustomDataTemplate = `{ "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "%s", "source": "TestAsCloudEvent", - "type": "dev.cdevents.artifact.packaged.0.1.1", + "type": "dev.cdevents.artifact.packaged.0.1.0", "timestamp": "%s" }, "subject": { @@ -161,10 +161,10 @@ var ( eventNonJsonCustomDataTemplate = `{ "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "%s", "source": "TestAsCloudEvent", - "type": "dev.cdevents.artifact.packaged.0.1.1", + "type": "dev.cdevents.artifact.packaged.0.1.0", "timestamp": "%s" }, "subject": { @@ -1130,7 +1130,7 @@ func TestNewFromJsonBytes(t *testing.T) { }{{ testFile: "future_event_major_version", description: "A newer major version in the event is backward incompatible and cannot be parsed", - wantError: "sdk event version 0.1.1 not compatible with 999.0.0", + wantError: "sdk event version 0.1.0 not compatible with 999.0.0", }, { testFile: "future_event_minor_version", description: "A newer minor version in the event is compatible and can be parsed, data is lost", diff --git a/pkg/api/branchcreated.go b/pkg/api/branchcreated.go index f539261..b73d83b 100644 --- a/pkg/api/branchcreated.go +++ b/pkg/api/branchcreated.go @@ -28,11 +28,11 @@ import ( var branchcreatedschema string var ( - // BranchCreated event v0.1.0 + // BranchCreated event v0.1.1 BranchCreatedEventV1 CDEventType = CDEventType{ Subject: "branch", Predicate: "created", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/branchdeleted.go b/pkg/api/branchdeleted.go index de8064c..4614300 100644 --- a/pkg/api/branchdeleted.go +++ b/pkg/api/branchdeleted.go @@ -28,11 +28,11 @@ import ( var branchdeletedschema string var ( - // BranchDeleted event v0.1.0 + // BranchDeleted event v0.1.1 BranchDeletedEventV1 CDEventType = CDEventType{ Subject: "branch", Predicate: "deleted", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/changeabandoned.go b/pkg/api/changeabandoned.go index c57de07..46e9e24 100644 --- a/pkg/api/changeabandoned.go +++ b/pkg/api/changeabandoned.go @@ -28,11 +28,11 @@ import ( var changeabandonedschema string var ( - // ChangeAbandoned event v0.1.0 + // ChangeAbandoned event v0.1.1 ChangeAbandonedEventV1 CDEventType = CDEventType{ Subject: "change", Predicate: "abandoned", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/changecreated.go b/pkg/api/changecreated.go index 9df36f4..0181aaf 100644 --- a/pkg/api/changecreated.go +++ b/pkg/api/changecreated.go @@ -28,11 +28,11 @@ import ( var changecreatedschema string var ( - // ChangeCreated event v0.1.0 + // ChangeCreated event v0.1.1 ChangeCreatedEventV1 CDEventType = CDEventType{ Subject: "change", Predicate: "created", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/changemerged.go b/pkg/api/changemerged.go index 07d7c4e..0aae090 100644 --- a/pkg/api/changemerged.go +++ b/pkg/api/changemerged.go @@ -28,11 +28,11 @@ import ( var changemergedschema string var ( - // ChangeMerged event v0.1.0 + // ChangeMerged event v0.1.1 ChangeMergedEventV1 CDEventType = CDEventType{ Subject: "change", Predicate: "merged", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/changereviewed.go b/pkg/api/changereviewed.go index fea0e63..70859e9 100644 --- a/pkg/api/changereviewed.go +++ b/pkg/api/changereviewed.go @@ -28,11 +28,11 @@ import ( var changereviewedschema string var ( - // ChangeReviewed event v0.1.0 + // ChangeReviewed event v0.1.1 ChangeReviewedEventV1 CDEventType = CDEventType{ Subject: "change", Predicate: "reviewed", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/changeupdated.go b/pkg/api/changeupdated.go index d4c64ce..80fdacd 100644 --- a/pkg/api/changeupdated.go +++ b/pkg/api/changeupdated.go @@ -28,11 +28,11 @@ import ( var changeupdatedschema string var ( - // ChangeUpdated event v0.1.0 + // ChangeUpdated event v0.1.1 ChangeUpdatedEventV1 CDEventType = CDEventType{ Subject: "change", Predicate: "updated", - Version: "0.1.0", + Version: "0.1.1", } ) diff --git a/pkg/api/spec b/pkg/api/spec index 8e8b3e0..ffe67bb 160000 --- a/pkg/api/spec +++ b/pkg/api/spec @@ -1 +1 @@ -Subproject commit 8e8b3e0c4bf7656abd32a258a4a86b97e2d4d6f5 +Subproject commit ffe67bb05f2abcf294b2b4d831dab3cb8f0eadd4 diff --git a/pkg/api/tests/artifact_packaged.json b/pkg/api/tests/artifact_packaged.json index 4153a88..8a205cc 100644 --- a/pkg/api/tests/artifact_packaged.json +++ b/pkg/api/tests/artifact_packaged.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", - "type": "dev.cdevents.artifact.packaged.0.1.1", + "type": "dev.cdevents.artifact.packaged.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/pkg/api/tests/artifact_published.json b/pkg/api/tests/artifact_published.json index fed876c..efeaae6 100644 --- a/pkg/api/tests/artifact_published.json +++ b/pkg/api/tests/artifact_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.artifact.published.0.1.0", diff --git a/pkg/api/tests/branch_created.json b/pkg/api/tests/branch_created.json index 98dc72c..347186c 100644 --- a/pkg/api/tests/branch_created.json +++ b/pkg/api/tests/branch_created.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.branch.created.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "branch", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.branch.created.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "branch", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/branch_deleted.json b/pkg/api/tests/branch_deleted.json index 93c4813..f7b885f 100644 --- a/pkg/api/tests/branch_deleted.json +++ b/pkg/api/tests/branch_deleted.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.branch.deleted.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "branch", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.branch.deleted.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "branch", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/build_finished.json b/pkg/api/tests/build_finished.json index 48b33ab..bfa4c4f 100644 --- a/pkg/api/tests/build_finished.json +++ b/pkg/api/tests/build_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.build.finished.0.1.0", diff --git a/pkg/api/tests/build_queued.json b/pkg/api/tests/build_queued.json index 2940af2..939c754 100644 --- a/pkg/api/tests/build_queued.json +++ b/pkg/api/tests/build_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.build.queued.0.1.0", diff --git a/pkg/api/tests/build_started.json b/pkg/api/tests/build_started.json index a8a4812..b62d65e 100644 --- a/pkg/api/tests/build_started.json +++ b/pkg/api/tests/build_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.build.started.0.1.0", diff --git a/pkg/api/tests/change_abandoned.json b/pkg/api/tests/change_abandoned.json index 6cf8dec..dc95af1 100644 --- a/pkg/api/tests/change_abandoned.json +++ b/pkg/api/tests/change_abandoned.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.change.abandoned.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "change", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.change.abandoned.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "change", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/change_created.json b/pkg/api/tests/change_created.json index 01bb534..73db63b 100644 --- a/pkg/api/tests/change_created.json +++ b/pkg/api/tests/change_created.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.change.created.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "change", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.change.created.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "change", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/change_merged.json b/pkg/api/tests/change_merged.json index 9a7dad9..5e6aeed 100644 --- a/pkg/api/tests/change_merged.json +++ b/pkg/api/tests/change_merged.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.change.merged.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "change", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.change.merged.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "change", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/change_reviewed.json b/pkg/api/tests/change_reviewed.json index dc8687d..c4fafb1 100644 --- a/pkg/api/tests/change_reviewed.json +++ b/pkg/api/tests/change_reviewed.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.change.reviewed.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "change", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.change.reviewed.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "change", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/change_updated.json b/pkg/api/tests/change_updated.json index 200a8c4..793f676 100644 --- a/pkg/api/tests/change_updated.json +++ b/pkg/api/tests/change_updated.json @@ -1,20 +1,20 @@ { - "context": { - "version": "0.1.1", - "id": "271069a8-fc18-44f1-b38f-9d70a1695819", - "source": "TestAsCloudEvent", - "type": "dev.cdevents.change.updated.0.1.0", - "timestamp": "2023-03-20T14:27:05.315384Z" - }, - "subject": { - "id": "mySubject123", - "source": "TestAsCloudEvent", - "type": "change", - "content": { - "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" - } - } - } + "context": { + "version": "0.1.2", + "id": "271069a8-fc18-44f1-b38f-9d70a1695819", + "source": "TestAsCloudEvent", + "type": "dev.cdevents.change.updated.0.1.1", + "timestamp": "2023-03-20T14:27:05.315384Z" + }, + "subject": { + "id": "mySubject123", + "source": "TestAsCloudEvent", + "type": "change", + "content": { + "repository": { + "id": "TestRepo/TestOrg", + "source": "https://example.org" + } + } + } } \ No newline at end of file diff --git a/pkg/api/tests/environment_created.json b/pkg/api/tests/environment_created.json index a469da5..0977b16 100644 --- a/pkg/api/tests/environment_created.json +++ b/pkg/api/tests/environment_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.environment.created.0.1.0", diff --git a/pkg/api/tests/environment_deleted.json b/pkg/api/tests/environment_deleted.json index a4ded1f..abab49d 100644 --- a/pkg/api/tests/environment_deleted.json +++ b/pkg/api/tests/environment_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.environment.deleted.0.1.0", diff --git a/pkg/api/tests/environment_modified.json b/pkg/api/tests/environment_modified.json index 0e9db8e..0f9a74d 100644 --- a/pkg/api/tests/environment_modified.json +++ b/pkg/api/tests/environment_modified.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.environment.modified.0.1.0", diff --git a/pkg/api/tests/future_event_major_version.json b/pkg/api/tests/future_event_major_version.json index 9898cd3..cedd575 100644 --- a/pkg/api/tests/future_event_major_version.json +++ b/pkg/api/tests/future_event_major_version.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "122CB7D5-84A7-4CCE-AD3F-D93ED17D7D65", "source": "TestAsCloudEvent", "type": "dev.cdevents.artifact.packaged.999.0.0", diff --git a/pkg/api/tests/future_event_minor_version.json b/pkg/api/tests/future_event_minor_version.json index cb3bfc2..1224824 100644 --- a/pkg/api/tests/future_event_minor_version.json +++ b/pkg/api/tests/future_event_minor_version.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "122CB7D5-84A7-4CCE-AD3F-D93ED17D7D65", "source": "TestAsCloudEvent", "type": "dev.cdevents.artifact.packaged.0.999.0", diff --git a/pkg/api/tests/future_event_patch_version.json b/pkg/api/tests/future_event_patch_version.json index cae4188..90ee612 100644 --- a/pkg/api/tests/future_event_patch_version.json +++ b/pkg/api/tests/future_event_patch_version.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "122CB7D5-84A7-4CCE-AD3F-D93ED17D7D65", "source": "TestAsCloudEvent", "type": "dev.cdevents.artifact.packaged.0.1.999", diff --git a/pkg/api/tests/pipelinerun_finished.json b/pkg/api/tests/pipelinerun_finished.json index bdae11d..0e74799 100644 --- a/pkg/api/tests/pipelinerun_finished.json +++ b/pkg/api/tests/pipelinerun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.pipelinerun.finished.0.1.0", diff --git a/pkg/api/tests/pipelinerun_queued.json b/pkg/api/tests/pipelinerun_queued.json index 0b1cb33..5d5bab0 100644 --- a/pkg/api/tests/pipelinerun_queued.json +++ b/pkg/api/tests/pipelinerun_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.pipelinerun.queued.0.1.0", diff --git a/pkg/api/tests/pipelinerun_started.json b/pkg/api/tests/pipelinerun_started.json index 029bfaa..ab570cc 100644 --- a/pkg/api/tests/pipelinerun_started.json +++ b/pkg/api/tests/pipelinerun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.pipelinerun.started.0.1.0", diff --git a/pkg/api/tests/repository_created.json b/pkg/api/tests/repository_created.json index ce38b6f..47a2bbf 100644 --- a/pkg/api/tests/repository_created.json +++ b/pkg/api/tests/repository_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.repository.created.0.1.0", diff --git a/pkg/api/tests/repository_deleted.json b/pkg/api/tests/repository_deleted.json index 64b1789..1d1c62e 100644 --- a/pkg/api/tests/repository_deleted.json +++ b/pkg/api/tests/repository_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.repository.deleted.0.1.0", diff --git a/pkg/api/tests/repository_modified.json b/pkg/api/tests/repository_modified.json index 82875a3..26caacb 100644 --- a/pkg/api/tests/repository_modified.json +++ b/pkg/api/tests/repository_modified.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.repository.modified.0.1.0", diff --git a/pkg/api/tests/service_deployed.json b/pkg/api/tests/service_deployed.json index bddff59..8c7fcb4 100644 --- a/pkg/api/tests/service_deployed.json +++ b/pkg/api/tests/service_deployed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.service.deployed.0.1.0", diff --git a/pkg/api/tests/service_published.json b/pkg/api/tests/service_published.json index 585213b..9420fc8 100644 --- a/pkg/api/tests/service_published.json +++ b/pkg/api/tests/service_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.service.published.0.1.0", diff --git a/pkg/api/tests/service_removed.json b/pkg/api/tests/service_removed.json index affbdaa..0782428 100644 --- a/pkg/api/tests/service_removed.json +++ b/pkg/api/tests/service_removed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.service.removed.0.1.0", diff --git a/pkg/api/tests/service_rolledback.json b/pkg/api/tests/service_rolledback.json index a7fc440..84837fc 100644 --- a/pkg/api/tests/service_rolledback.json +++ b/pkg/api/tests/service_rolledback.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.service.rolledback.0.1.0", diff --git a/pkg/api/tests/service_upgraded.json b/pkg/api/tests/service_upgraded.json index 9907ca1..14f2981 100644 --- a/pkg/api/tests/service_upgraded.json +++ b/pkg/api/tests/service_upgraded.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.service.upgraded.0.1.0", diff --git a/pkg/api/tests/taskrun_finished.json b/pkg/api/tests/taskrun_finished.json index bd4286b..4315985 100644 --- a/pkg/api/tests/taskrun_finished.json +++ b/pkg/api/tests/taskrun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.taskrun.finished.0.1.0", diff --git a/pkg/api/tests/taskrun_started.json b/pkg/api/tests/taskrun_started.json index ddccfa0..2f8b8f2 100644 --- a/pkg/api/tests/taskrun_started.json +++ b/pkg/api/tests/taskrun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.taskrun.started.0.1.0", diff --git a/pkg/api/tests/testcase_finished.json b/pkg/api/tests/testcase_finished.json index 6e36930..62cc1d5 100644 --- a/pkg/api/tests/testcase_finished.json +++ b/pkg/api/tests/testcase_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.testcase.finished.0.1.0", diff --git a/pkg/api/tests/testcase_queued.json b/pkg/api/tests/testcase_queued.json index 192f3e6..0207b86 100644 --- a/pkg/api/tests/testcase_queued.json +++ b/pkg/api/tests/testcase_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.testcase.queued.0.1.0", diff --git a/pkg/api/tests/testcase_started.json b/pkg/api/tests/testcase_started.json index 80b383c..9af2045 100644 --- a/pkg/api/tests/testcase_started.json +++ b/pkg/api/tests/testcase_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.testcase.started.0.1.0", diff --git a/pkg/api/tests/testsuite_finished.json b/pkg/api/tests/testsuite_finished.json index 0b66c39..77840d3 100644 --- a/pkg/api/tests/testsuite_finished.json +++ b/pkg/api/tests/testsuite_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.testsuite.finished.0.1.0", diff --git a/pkg/api/tests/testsuite_started.json b/pkg/api/tests/testsuite_started.json index 905bacf..6bf7b3f 100644 --- a/pkg/api/tests/testsuite_started.json +++ b/pkg/api/tests/testsuite_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "TestAsCloudEvent", "type": "dev.cdevents.testsuite.started.0.1.0", diff --git a/pkg/api/tests/unknown_type.json b/pkg/api/tests/unknown_type.json index 28aa491..ffbd2a0 100644 --- a/pkg/api/tests/unknown_type.json +++ b/pkg/api/tests/unknown_type.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.1.1", + "version": "0.1.2", "id": "122CB7D5-84A7-4CCE-AD3F-D93ED17D7D65", "source": "TestAsCloudEvent", "type": "dev.cdevents.artifact.gazumped.0.1.0", diff --git a/pkg/api/types.go b/pkg/api/types.go index 3c4692b..95bb306 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -30,7 +30,7 @@ import ( const ( EventTypeRoot = "dev.cdevents" - CDEventsSpecVersion = "0.1.1" + CDEventsSpecVersion = "0.1.2" CDEventsSchemaURLTemplate = "https://cdevents.dev/%s/schema/%s-%s-event" CDEventsTypeRegex = "^dev\\.cdevents\\.(?P[a-z]+)\\.(?P[a-z]+)\\.(?P.*)$" )