Last modified by Eva Torken on 2024/03/01 15:04

From version 12.1
edited by Eva Torken
on 2023/06/09 16:16
Change comment: There is no comment for this version
To version 1.1
edited by eMagiz
on 2023/03/31 11:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Finish Create phase API Gateway
1 +crashcourse-apigw-exercises-createphase
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.etorken
1 +XWiki.eMagiz
Content
... ... @@ -1,5 +1,5 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 -With this exercise, we start our journey into the eMagiz platform. This exercise will explain the business case used throughout all exercises linked to this Crash Course. In the following exercises, we will guide you step by step through the platform so you can learn how to use it.
2 +With this exercise, we start our journey into the eMagiz platform. This exercise will explain the business case used throughout all exercises linked to the Crash Course Platform Course. In the following exercises, we will guide you step by step through the platform so you can learn how to use it.
3 3  
4 4  Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5 5  
... ... @@ -10,32 +10,21 @@
10 10  
11 11  == 2. Exercise ==
12 12  
13 -Below the exercises for this part of the crash course.
13 +Below the various exercises to learn more
14 14  
15 -=== 2.1 Complete create phase for OMS Carrier ===
15 +=== 2.1 Data modelling OMS Carrier ===
16 16  
17 -Please ensure the following is achieved in this exercise
18 -
19 -* Integrations are added to Create
20 -* Final versions are pushed to Deploy
21 -* Exit gate holds HTTP Outbound gateway that connects to the endpoint of OMS Carriers
22 -* Necessary headers that need to be send to the end-point
23 - ** x-rapidapi-host (postal-ninja.p.rapidapi.com)
24 - ** x-rapidapi-key (f0bf0f2c3fmsh6eb7a42431a5513p163575jsne4f31a8e1133)
25 - ** User-Agent (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36)
26 -* Ensure to use this URL expression
27 -
28 -{{code}}
29 -'${gateway.exit.carrier}/carriers'+ (T(org.springframework.web.util.UriComponentsBuilder).fromHttpUrl(headers['http_requestUrl']).build(true).getQuery()==null?'':'?'+T(org.springframework.web.util.UriComponentsBuilder).fromHttpUrl(headers['http_requestUrl']).build(true).getQuery())
30 -{{/code}}
31 -
32 -=== 2.2 Complete create phase for OMS Order ===
33 -
34 -* Integrations are added to Create
35 -* Final versions are pushed to Deploy
36 -* Exit gate holds HTTP Outbound gateway that connects to the endpoint of OMS Order. Outbound URL to use: http://localhost:9090
37 -
17 +Please implement the GET operation for Carrier taking the following into account:
18 +
19 +* No path or query parameters are required
20 +* The endpoint to retrieve the Carriers: https://order-tracking.p.rapidapi.com/carriers
21 +* This endpoint is an REST/JSON based endpoint
22 +
23 +=== 2.2 Set up security API GW ===
24 +
25 +Please assign API Key as the default authentication method of the API GW
26 +
38 38  == 3. Solution ==
39 -{{video attachment="API_Gateway_1.14_Final.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
40 40  
29 +
41 41  )))((({{toc/}}))){{/container}}{{/container}}