Last modified by Danniar Firdausy on 2024/08/21 15:48

From version 19.1
edited by Erik Bakker
on 2022/08/12 15:01
Change comment: There is no comment for this version
To version 21.1
edited by Carlijn Kokkeler
on 2022/09/30 09:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ebakker
1 +XWiki.CarlijnKokkeler
Content
... ... @@ -21,14 +21,26 @@
21 21  * The CDM holds all entities and attributes that are relevant within the context of your complete integration landscape.
22 22  * The CDM message is tailor-made for a specific piece of data (i.e. Order, Invoice, Employee) and only holds the entities and attributes relevant for that piece of data.
23 23  
24 -So that means that when you navigate to Design -> CDM you will see everything
24 +When a new system message needs to be processed, new entities have to be created. These entities have to be generic, according to the language and notation of the CDM. Thus, the entities have to be created in the CDM first. After that, these entities can be created in a CDM message, gateway message, or topic message. Once the entities and attributes have been created in a CDM message, gateway message, or topic message, they can be mapped to the entities and attributes from the system message.
25 +
26 +Note that both the CDM and CDM/gateway/topic message show all entities and attributes that are relevant within the context of your complete integration landscape. The main difference is that the CDM message only holds the entities and attributes that are tailor-made for a specific piece of data. This is indicated in green.
27 +
28 +Below, the CDM for a model is shown.
25 25  
30 +
26 26  [[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-difference-between-cdm-and-cdm-messages--cdm-overview.png]]
27 27  
28 -Afterward when you zoom in on one of the available message types to create or view your CDM message the overview changes to show the structure of the message and to show which parts of the CDM are used for the CDM message. As seen below all used entities and attributes within the CDM message are shown in green in the CDM.
33 +An example of a CDM message for this model is the following:
29 29  
30 30  [[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-difference-between-cdm-and-cdm-messages--cdm-overview-message-type-selected.png]]
36 +
37 +This CDM message holds the entities CrashCourse and Design, as indicated in green.
38 +Once the entities and attributes have been created, the message definitions have to be added. As explained before, a system message is specific to the system, whereas a CDM/gateway/topic message is generic and consistent across systems. For the system message, it is possible to add complete entities, but it is also possible to add only one attribute to the system message definition. This can be done by using the Toggle canvas edit mode button, hovering over the desired attribute and clicking on it. The attributes can also be removed individually.
31 31  
40 +[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-difference-between-cdm-and-cdm-messages--toggle-canvas-edit-mode.png]]
41 +
42 +For a CDM/gateway/topic message it also possible to add and remove entities and attributes. This can be done by hovering over the desired entities or attributes and clicking on them. The Toggle canvas edit mode button is not present here, it is only needed to hover over the entities/attributes. A minus will appear when the entity/attribute is already present in the message definition. By clicking, the entity/attribute will then be removed from the message definition. In case a plus appears, the entity/attribute is not yet present in the message definition, and can be added by clicking on it.
43 +
32 32  == 4. Assignment ==
33 33  
34 34  Open the CDM of your (Academy) project and subsequently open one of the CDM messages that are created within your (Academy) project and spot the differences.