Changes for page Changing the default message format
Last modified by Danniar Firdausy on 2024/09/18 13:34
From version 9.2
edited by Bouke Reitsma
on 2023/03/03 13:13
on 2023/03/03 13:13
Change comment:
There is no comment for this version
To version 2.6
edited by Bouke Reitsma
on 2023/02/28 17:05
on 2023/02/28 17:05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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, othermessageformats are more appropriate as default. 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,24 +14,21 @@ 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, the default messaging format can be changed in your project to for example, XML. 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 + 19 + AFBEELDING 1 TOEVOEGEN 18 18 19 - [[image:Main.Images.Microlearning.WebHome@intermediate-api-management-changing-default-messaging-format--edit-settings.png]]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. 20 20 21 - The last optionallowsyoutoswitchbetweenJSON or XML as yourdefault messaging formatinthegateway.In orderapplyyournew default toyourproject, youmustpress "Apply settings"inDesign-> Architecturetoconfirm your change~*.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}} 22 22 23 -{{info}}~* Note Changing the default messaging format does not affect existing operations in Create. Migrating these flows requires a reset of the exit flow. Additionally, the default response in Catalog has to be changed to application/xml. 24 - {{/info}} 25 - 26 26 == 4. Impact in Create == 27 27 28 -The automatic flow creation in the Create phase is adapted tothe new default setting. Whenchanging the messaging format toXML, the components of newly generatedflows are created withdifferent namesand settings.The imagebelowshowsan example of an API GET operation withXML as thedefault messagingformat. Besides thechanged namingof the transformation, no support objects are required for this GET operation, since your gateway does not require a JSON response any more.27 +The automatic flow creation in the Create phase is updated to incroperate these changes. When changing ..... 29 29 30 -[[image:Main.Images.Microlearning.WebHome@intermediate-api-management-changing-default-messaging-format--get-operation.png]] 31 - 32 32 == 4. Assignment == 33 33 34 -Change the default messaging format to XML. 31 +Change the default messaging format to XML. 35 35 This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 36 36 37 37 == 5. Key takeaways == ... ... @@ -38,7 +38,7 @@ 38 38 39 39 * The default messaging format can be changed to XML 40 40 * Updating this only affects new flows 41 -* Migrating existing operations can be done by reset ting the exit flow38 +* Migrating existing operations can be done by reseting the exit flow 42 42 43 43 == 6. Suggested Additional Readings == 44 44