This topic describes the type of Enterprise Distributed Application Service (EDAS) event that can be published to EventBridge.

Event type

The following table describes the type of EDAS event that can be published to EventBridge.

Event type Value of the type parameter
Application changes edas:ApplicationChange:ChangeOrder

For more information about the parameters defined in the CloudEvents specification, see Overview.

Application changes

The following example shows the event that EventBridge receives when an application changes:

{
    "id":"7de5d52e-c3c0-45fa-80c8-2a9d5bd1****",
    "time":"2020-11-19T21:04:41+08:00",
    "source":"acs.edas",
    "data":{
        "appId":"6826ccd2-5c57-46c0-a2e5-6caca07c****",
        "event":{
            "category":"OPERATION",
            "id":"e24b1dc2-3543-4f84-b1c4-ee78b3ef****",
            "involvedObject":{
                "additionalProperties":{
                    "changeOrderId":"28ab8de8-22b9-430d-9952-00f67693****",
                    "description":"Version: Wed Nov 04 21:30:55 CST 2020 | Package Name: download | Deployment Target: Default Group",
                    "eventType":"onSuccess",
                    "targets":"i-2ze12crf3p25aljy****"
                },
                "id":"6826ccd2-5c57-46c0-a2e5-6caca07c****",
                "name":"ticketcore-service",
                "type":"APPLICATION"
            },
            "labels":{

            },
            "level":"NORMAL",
            "message":"msg.app.codeploy.success",
            "payloads":{

            },
            "primaryUser":{
                "id":"153441211526****",
                "name":"linksus_cloud_journey"
            },
            "reason":"APPLICATION_CODEPLOY_SUCCESS",
            "schemaVersion":"1.0",
            "secondaryUser":{
                "id":"29489074400958****",
                "name":"29489074400958****"
            },
            "subjectType":"USER",
            "timestamp":1604496738810
        }
    },
    "specversion":"1.0",
    "datacontenttype":"application/json",
    "type":"edas:ApplicationChange:ChangeOrder",
    "aliyunaccountid":"123456789098****",
    "aliyunpublishtime":"2020-11-19T21:04:42.179PRC",
    "aliyuneventbusname":"default",
    "aliyunregionid":"cn-hangzhou",
    "aliyunpublishaddr":"172.25.XX.XX"
}

The following table describes the fields in the data parameter.

Field Type Example Description
appId String 6826ccd2-5c57-46c0-a2e5-6caca07c**** The ID of the application that changes.
event Struct The content of the event.
category String OPERATION The type of the event.
id String e24b1dc2-3543-4f84-b1c4-ee78b3ef**** The ID of the event that is generated in EDAS.
involvedObject Struct The object that is involved in the application change.
additionalProperties Struct The additional properties.
changeOrderId String 28ab8de8-22b9-430d-9952-00f67693**** The ID of the change order.
description String Version: Wed Nov 04 21:30:55 CST 2020 | Package Name: download | Deployment Target: Default Group The description of the change.
eventType String onSuccess The event type of the object that the involvedObject parameter specifies.
targets String i-2ze12crf3p25aljy**** The changed object of the event.
id String 6826ccd2-5c57-46c0-a2e5-6caca07c**** The ID of the object that the involvedObject parameter specifies.
name String ticketcore-service The name of the object that the involvedObject parameter specifies.
type String APPLICATION The type of the object that the involvedObject parameter specifies.
labels String N/A The tag of the change.
level String NORMAL The severity of the event.
Valid values:
  • NORMAL
  • WARNING
message String msg.app.codeploy.success The message of the event.
payloads String N/A The data in the change request.
primaryUser Struct The user who initiated the change.
id String 153441211526**** The ID of the user who initiated the change.
name String linksus_cloud_journey The name of the user who initiated the change.
reason String APPLICATION_CODEPLOY_SUCCESS The cause of the event.
schemaVersion String 1.0 The version number of the event pattern.
secondaryUser Struct The RAM user that initiated the change.
id String 29489074400958**** The ID of the RAM user that initiated the change.
name String 29489074400958**** The name of the RAM user that initiated the change.
subjectType String USER The subject type that the event triggers.
timestamp Timestamp 1604496738810 The timestamp when the change was complete.