Changes for page Finish Create phase API Gateway
Last modified by Eva Torken on 2024/03/01 15:04
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - crashcourse-apigw-exercises-createphase1 +Finish Create phase API Gateway - 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 th eCrash CoursePlatform 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 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. 3 3 4 4 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 ... ... @@ -10,20 +10,31 @@ 10 10 11 11 == 2. Exercise == 12 12 13 -Below the variousexercises tolearnmore13 +Below the exercises for this part of the crash course. 14 14 15 -=== 2.1 DatamodellingOMS Carrier ===15 +=== 2.1 Complete create phase for OMS Carrier === 16 16 17 -Please implement the GET operation for Carriertaking the following intoaccount: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. Outbound URL to use: http://localhost:9090 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