Skip to content

Commit

Permalink
Add Helm Events to ACR Schema for Event Grid (#5109)
Browse files Browse the repository at this point in the history
* update ACR spec for Event Grid

* format fix

* edit artifact descriptions
  • Loading branch information
jaysterp authored and praries880 committed Jan 31, 2019
1 parent d847550 commit 6f4cee5
Showing 1 changed file with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@
],
"properties": {}
},
"ContainerRegistryChartPushedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.",
"allOf": [
{
"$ref": "#/definitions/ContainerRegistryArtifactEventData"
}
],
"properties": {}
},
"ContainerRegistryChartDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event.",
"allOf": [
{
"$ref": "#/definitions/ContainerRegistryArtifactEventData"
}
],
"properties": {}
},
"ContainerRegistryEventData": {
"description": "The content of the event request message.",
"properties": {
Expand Down Expand Up @@ -59,6 +77,28 @@
}
}
},
"ContainerRegistryArtifactEventData": {
"description": "The content of the event request message.",
"properties": {
"id": {
"description": "The event ID.",
"type": "string"
},
"timestamp": {
"format": "date-time",
"description": "The time at which the event occurred.",
"type": "string"
},
"action": {
"description": "The action that encompasses the provided event.",
"type": "string"
},
"target": {
"$ref": "#/definitions/ContainerRegistryArtifactEventTarget",
"description": "The target of the event."
}
}
},
"ContainerRegistryEventTarget": {
"description": "The target of the event.",
"properties": {
Expand Down Expand Up @@ -94,6 +134,40 @@
}
}
},
"ContainerRegistryArtifactEventTarget": {
"description": "The target of the event.",
"properties": {
"mediaType": {
"description": "The MIME type of the artifact.",
"type": "string"
},
"size": {
"format": "int64",
"description": "The size in bytes of the artifact.",
"type": "integer"
},
"digest": {
"description": "The digest of the artifact.",
"type": "string"
},
"repository": {
"description": "The repository name of the artifact.",
"type": "string"
},
"tag": {
"description": "The tag of the artifact.",
"type": "string"
},
"name": {
"description": "The name of the artifact.",
"type": "string"
},
"version": {
"description": "The version of the artifact.",
"type": "string"
}
}
},
"ContainerRegistryEventRequest": {
"description": "The request that generated the event.",
"properties": {
Expand Down

0 comments on commit 6f4cee5

Please sign in to comment.