Wiki source code of Finish Create phase API Gateway
Show last authors
author | version | line-number | content |
---|---|---|---|
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 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 | |||
4 | Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. | ||
5 | |||
6 | == 1. Prerequisites == | ||
7 | |||
8 | * Have read the business case as the first exercise | ||
9 | * Completed the previous microlearnings of this crash course | ||
10 | |||
11 | == 2. Exercise == | ||
12 | |||
13 | Below the various exercises to learn more | ||
14 | |||
15 | === 2.1 Complete create phase for OMS Carrier === | ||
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 (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 | ||
37 | |||
38 | == 3. Solution == | ||
39 | |||
40 | |||
41 | )))((({{toc/}}))){{/container}}{{/container}} |