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

From version 15.1
edited by Erik Bakker
on 2022/06/13 11:18
Change comment: Renamed from xwiki:Migrated Pages.Difference between CDM and CDM messages
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
Title
... ... @@ -1,0 +1,1 @@
1 +Difference between CDM and CDM messages
Parent
... ... @@ -1,0 +1,1 @@
1 +WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ebakker
1 +XWiki.CarlijnKokkeler
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Content
... ... @@ -1,13 +1,8 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 -= Difference between CDM and CDM messages =
3 -
4 4  To conclude our section on microlearnings that all have something to do with the CDM we wrap things up by learning what the difference is between CDM and CDM messages.
5 5  
6 6  Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
7 7  
8 -* Last update: February 24th, 2021
9 -* Required reading time: 3 minutes
10 -
11 11  == 1. Prerequisites ==
12 12  
13 13  * Basic knowledge of the eMagiz platform
... ... @@ -19,8 +19,6 @@
19 19  
20 20  * The complete CDM consists of the collection of entities that are used or going to be used in the various CDM messages
21 21  
22 -
23 -
24 24  == 3. Difference between CDM and CDM messages ==
25 25  
26 26  Simply put the difference between the CDM and the CDM messages is as follows:
... ... @@ -28,17 +28,26 @@
28 28  * The CDM holds all entities and attributes that are relevant within the context of your complete integration landscape.
29 29  * 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.
30 30  
31 -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.
32 32  
30 +
33 33  [[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-difference-between-cdm-and-cdm-messages--cdm-overview.png]]
34 34  
35 -Afterward when you zoom in on one of the available message types to create or view your CDM message the overview
36 -changes to show the structure of the message and to show which parts of the CDM are used for the CDM message.
33 +An example of a CDM message for this model is the following:
37 37  
38 38  [[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.
39 39  
40 -
41 -
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 +
42 42  == 4. Assignment ==
43 43  
44 44  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.
... ... @@ -49,8 +49,6 @@
49 49  * The CDM holds all entities and attributes that are relevant within the context of your complete integration landscape.
50 50  * 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.
51 51  
52 -
53 -
54 54  == 6. Suggested Additional Readings ==
55 55  
56 56  If you are interested in this topic and want more information on it please read the help text provided by eMagiz when executing these actions.