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

From version 1.1
edited by eMagiz
on 2023/03/31 11:48
Change comment: There is no comment for this version
To version 5.1
edited by eMagiz
on 2023/03/31 15:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,18 +12,29 @@
12 12  
13 13  Below the various exercises to learn more
14 14  
15 -=== 2.1 Data modelling OMS Carrier ===
15 +=== 2.1 Complete create phase for OMS Carrier ===
16 16  
17 -Please implement the GET operation for Carrier taking the following into account:
17 +Please ensure the following is achieved in this exercise
18 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
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 (order-tracking.p.rapidapi.com)
24 + ** x-rapidapi-key (a70b15d09fmsh7213ecdbb3bfa76p16e0e9jsn05783bbb2e32)
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 Carriers
22 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 -
27 27  == 3. Solution ==
28 28  
29 29