Last modified by Danniar Firdausy on 2024/09/18 13:34

From version 2.4
edited by Bouke Reitsma
on 2023/02/28 16:48
Change comment: There is no comment for this version
To version 2.6
edited by Bouke Reitsma
on 2023/02/28 17:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 2  
3 -In our crash course on the API Gateway pattern, we have learned about setting up the API Gateway. By default, the messaging format chosen for your gateway is json. However, in some instances, XML is more appropriate as default message format. In this microlearning, we focus on changing the default message format and show the impact this has on flows in Create.
3 +In our crash course on the API Gateway pattern, we have learned about setting up the API Gateway. By default, the messaging format chosen for your gateway is JSON. However, in some instances, XML is more appropriate as default message format. In this microlearning, we focus on changing the default message format and show the impact this has on flows in Create.
4 4  
5 5  Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
6 6  
... ... @@ -14,42 +14,29 @@
14 14  
15 15  == 3. Changing the default messaging format ==
16 16  
17 -In our crash course on the API Gateway pattern, we have learned about setting up the API Gateway. By default, the messaging format selected for your gateway is json. However, you can change the default messaging format to XML in your project. This change can be made in Design -> Settings -> API Management. On the right side of this overview are the gateway settings. The last entry of this overview is the Default Format. By clicking on the Edit settings button, you enter the following overview
17 +In our crash course on the API Gateway pattern, we have learned about setting up the API Gateway. By default, the messaging format selected for your gateway is JSON. However, you can change the default messaging format to XML in your project. This change can be made in Design -> Settings -> API Management. On the right side of this overview are the gateway settings. The last entry of this overview is the Default Format. By clicking on the Edit settings button, you enter the following overview
18 18  
19 19   AFBEELDING 1 TOEVOEGEN
20 20  
21 +The last option allows you to switch between JSON or XML as your default messaging format in the gateway. In order to apply your new default to your project, you must press "Apply settings" in Design -> Architecture to confirm your change.
21 21  
22 -
23 23  {{info}}~* Note Changing the default messaging format does not affect existing operations in create. Migrating these flows require a reset of the exit flow.{{/info}}
24 24  
25 -
26 26  == 4. Impact in Create ==
27 27  
28 -Apart from updating your API Gateway solution in Create, you can only update parts of the API Gateway solution in Create. Here we mainly talk about changing the gateway messages. Any other changes on the 'exit gate' level have no special impact compared to changing parts of other flows. We discern two parts of updating a (gateway) message that you can execute in the Create phase:
27 +The automatic flow creation in the Create phase is updated to incroperate these changes. When changing .....
29 29  
30 -* Changing the dataType (i.e. from dateTime to date)
31 -* Adding valid enum values
32 -
33 -In both cases, eMagiz will automatically update your Swagger definition and all-entry flow by recreating the swagger definition to reflect these changes and executing a version bump of the all-entry.
34 -
35 -As is the case with all new versions in Create the changes will only be effectuated when you deploy your solution via the Deploy phase of eMagiz.
36 -
37 37  == 4. Assignment ==
38 38  
39 -Think of three changes you want to apply to an API Gateway solution and see if you can determine which flow in Create needs an update.
31 +Change the default messaging format to XML.
40 40  This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment.
41 41  
42 42  == 5. Key takeaways ==
43 43  
44 -* Updating can happen from Design
45 -* Updating can happen from Create
46 -* Both situations have a different impact
47 -* Adding a new operation to an existing solution does not involve a reset
48 -* Updating from Create does not involve a reset
49 -* Updating from Design involves a reset
36 +* The default messaging format can be changed to XML
37 +* Updating this only affects new flows
38 +* Migrating existing operations can be done by reseting the exit flow
50 50  
51 -
52 -
53 53  == 6. Suggested Additional Readings ==
54 54  
55 55  If you are interested in this topic and want more information on it please read the help text provided by eMagiz.
... ... @@ -56,6 +56,6 @@
56 56  
57 57  == 7. Silent demonstration video ==
58 58  
59 -As this is a more theoretical microlearning we did not provide a video for this one.
46 +To be recorded.
60 60  
61 61  )))((({{toc/}}))){{/container}}{{/container}}