From 666474ac17f544f73e78ee902f7e0bffd111614c Mon Sep 17 00:00:00 2001 From: Cristiano Hoshikawa Date: Sun, 22 Oct 2023 00:59:47 -0300 Subject: [PATCH] Including files --- README.md | 15 +++++++++++++-- files/MIgration_form.xlsx | Bin 9862 -> 0 bytes files/{femsa_export.json => source_apis.json} | 4 ++-- index.md | 15 +++++++++++++-- 4 files changed, 28 insertions(+), 6 deletions(-) delete mode 100644 files/MIgration_form.xlsx rename files/{femsa_export.json => source_apis.json} (84%) diff --git a/README.md b/README.md index de1a9d8..d754b54 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ +--- +duration: PT1H00M0S +description: Migrate your APIs to Oracle Cloud API Gateway with Oracle Integration +level: Advanced +roles: Devops;Developer +products: en/cloud/oracle-cloud-infrastructure/oci +keywords: api gateway;oracle integration;APIs REST/SOAP +inject-note: true +--- + # Migrate your APIs to Oracle Cloud API Gateway with Oracle Integration ## Introduction @@ -102,11 +112,12 @@ So, there is a JSON structure to work! "HEADER_VALUE" : "" } ] +You can find these file here: [source_apis.json](files%2Fsource_apis.json) ## Task 2: Understand the OCI API Gateway Deployment Data -Often, a simple structure is enough to implement an API, but as details such as security, header rules, parameters or other details appear, the JSON structure becomes larger. Well, this would be the complete JSON structure for any type of deployment. We will use it in our OIC flow. +Often, a simple structure is enough to implement an API, but as details such as security, header rules, parameters or other details appear, the JSON structure becomes larger. Well, this would be the complete JSON structure for any type of deployment. We will use it in our OIC flow. You can find the file here: [apigw_structure.json](files%2Fapigw_structure.json) { "requestPolicies": { @@ -307,7 +318,7 @@ If you don't know how to create an Oracle Integration Connection, you can view h ![Connection_Rest_2.png](images%2FConnection_Rest_2.png) 3. For your Trigger Endpoint, you can execute a request with the Oracle Integration Basic Authentication. So, you can use an username and password. ![Connect_Rest_3.png](images%2FConnect_Rest_3.png) -4. In the second connection, as you did in the first connection, give a name and identifier (for example, "APIGW_REST_API"). Select the proper OCI API Gateway REST for your region (in the example, the region is Ashburn). See here to view the proper endpoint for your region [OCI API Gateway endpoints](https://docs.oracle.com/en-us/iaas/api/#/en/api-gateway/20190501/). Obtain your OCI Credentials to provide access to the OCI API gateway services. +4. In the second connection, as you did in the first connection, give a name and identifier (for example, "APIGW_REST_API"). Remember to select the Invoke type unlike the first configuration. Select the proper OCI API Gateway REST for your region (in the example, the region is Ashburn). See here to view the proper endpoint for your region [OCI API Gateway endpoints](https://docs.oracle.com/en-us/iaas/api/#/en/api-gateway/20190501/). Obtain your OCI Credentials to provide access to the OCI API gateway services. ![Connection_Apigateway_Rest_Api.png](images%2FConnection_Apigateway_Rest_Api.png) ## Task 4: Create the Integration diff --git a/files/MIgration_form.xlsx b/files/MIgration_form.xlsx deleted file mode 100644 index de62a5c5b9bf76eb93709e9f811c06bc9415f336..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9862 zcmeHtWmg^9*7d=i;O_2DaEB1w6WrY`NRYrGI0QJjYj6+l1c%`6Zo%E*A?e#U-MRg~ zf8gHwP&LjtwdSbWd(E|H&9xO}ARsXS&;VEf06+>bJWMs$1p@#gAprn%04%tcn4PV& ziLJAqs=K|3lMa)cjWtOYBsfh50Q~v>{~iCuBTyVOAm71)B60QlUTlL=dZAJnmh%AE zgGQ$$*wz`{U1+40W?}J^7JP>ynu%%2Re?6V;K6n>XkKY+Qv(d@Zd67L_3dp_)5Ygv z?&{g6Y{kX}IcjPgWnkb7v*POMg_|Y=5*%tflsUv#MWl=I%rUV9eb!UwdfuQech@5p zYUcCw&bP0~zga@%?k^ZeSsz88u(Y7{&^=pcl!6Q;^H{)g(fzDQs;)w7s9f)O8!yx1 zL{rB;sc!_n#1atMjJ!Cs4BgnmMI^_8S6L8pUZ~j}X+_`asqOi`mF83Ex#DfZOH6Y; zMy)hqUsB-M3_#H;vJU5Dmp>uGQM#`T12F=JPw%+!^-EL zG;swUE;^uhUTEOCZr#vs+GM$?&=qY*JL^pd_HYmMi0X^lA2io zB%vT4+5NFZ%w8u$v)NM5UTe~e8$2}?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>&!5X5c zl4-L%x~t}U;RiVob0}fU;~OWiz_SH|yjGM>u6t_1+PX58iUMh{8ytvJ9%y5+c!<;M zhVQI`U8eay5B#LULP0V|=bRjI8zw2b zK0oNugPsL=xU}8oKI8#-a(gH0?*YH)w~(2qH24x%(6_QKLaD5EVa z#F8^g;Z~D()|6g@AU?ZQ42L5w-KzVlNjqQvS9qsI$m<{ah|J73dpCA7``6(bdyZIkI z9Ee+D#6^4_8zn^FV#C*O&&v(LKrUwTxkj0l6hXyN`_l?FqZ6|(bK%6yx`J8xhsde) z?`4hs$~qmDLcp8hsxR)O`HzU0ghGKho=8k?#hs{93%j8TmeHb}omd6ESZQ>lY(23t z#+v&+SoH@^d2j^~Ll$!bBOFsJUMzNm@8jN@xYM7s?N}8vulFg+ekw|Pnyx}NUCEAL zWHr?@8lYNxZgtLF zjkx{dcc(5+U6gd=Z}iMKDTPWkpZ>84yGRr)BKw@h9?$(H)W2r2k)5N-|I+w5fB$ua zfs|xASTOvTp`OJ0Jd$&r#6;(P`_l;E;RA%2L?h@xMJ`TBBnU>n<25G zKrS&{P;>6fieZGyzJ^S2$b_B!>Rq1PbBwk)AI!AcG?JLg!G|Hw5MA5qaD#V(Fg(Ry z64xAp0gduSd@qrsKd#u7!4xf&K{T^D(CxmE+i?!#GeHmx%Jw+gFt?t6X<_CS7MZ>> zees~8#~If!j|ro?1yr&1bvGKQ-k9Q6x!K7qqzK%Z^&LFv9JTpkI#kxNMh~~Pbv!*% z&)PJBjh_aA>YwjSpyJQQIz>Rz~8qL{2BP;8vk6K|FW^* z_rSlmSN|H=^h}rkceC|(oZowHzmSfeyKujC;C>JO-Q@oj+=%!y_&+TF-w}RyqJJT% zBmaT$Z(sWN(BDnDU!g&$|9C;HKZ~TI4AgVF{Mg2V02qC)r0GBGO~C&F D=6pU+ diff --git a/files/femsa_export.json b/files/source_apis.json similarity index 84% rename from files/femsa_export.json rename to files/source_apis.json index fe48fb9..b7a6905 100644 --- a/files/femsa_export.json +++ b/files/source_apis.json @@ -4,7 +4,7 @@ "METHOD" : "GET", "PATH_PREFIX" : "/okecep", "PATH" : "/cep", - "ENDPOINT" : "http://129.153.138.208/cep", + "ENDPOINT" : "http://x.x.x.x/cep", "QUERY_PARAMETERS" : "cep", "GROOVY_SCRIPT" : "", "AUTHENTICATION_TYPE" : "BASIC", @@ -17,7 +17,7 @@ "METHOD" : "POST", "PATH_PREFIX" : "/dneonline", "PATH" : "/calculator", - "ENDPOINT" : "http://www.dneonline.com/calculator.asmx", + "ENDPOINT" : "http://www.example.com/calculator.asmx", "QUERY_PARAMETERS" : "", "GROOVY_SCRIPT" : "", "AUTHENTICATION_TYPE" : "BASIC", diff --git a/index.md b/index.md index ffefea1..b657d3b 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,13 @@ +--- +duration: PT1H00M0S +description: Migrate your APIs to Oracle Cloud API Gateway with Oracle Integration +level: Advanced +roles: Devops;Developer +products: en/cloud/oracle-cloud-infrastructure/oci +keywords: api gateway;oracle integration;APIs REST/SOAP +inject-note: true +--- + # Migrate your APIs to Oracle Cloud API Gateway with Oracle Integration ## Introduction @@ -102,11 +112,12 @@ So, there is a JSON structure to work! "HEADER_VALUE" : "" } ] +You can find these file here: [source_apis.json](files%2Fsource_apis.json) ## Task 2: Understand the OCI API Gateway Deployment Data -Often, a simple structure is enough to implement an API, but as details such as security, header rules, parameters or other details appear, the JSON structure becomes larger. Well, this would be the complete JSON structure for any type of deployment. We will use it in our OIC flow. +Often, a simple structure is enough to implement an API, but as details such as security, header rules, parameters or other details appear, the JSON structure becomes larger. Well, this would be the complete JSON structure for any type of deployment. We will use it in our OIC flow. You can find the file here: [apigw_structure.json](files%2Fapigw_structure.json) { "requestPolicies": { @@ -307,7 +318,7 @@ If you don't know how to create an Oracle Integration Connection, you can view h ![Connection_Rest_2.png](images%2FConnection_Rest_2.png) 3. For your Trigger Endpoint, you can execute a request with the Oracle Integration Basic Authentication. So, you can use an username and password. ![Connect_Rest_3.png](images%2FConnect_Rest_3.png) -4. In the second connection, as you did in the first connection, give a name and identifier (for example, "APIGW_REST_API"). Select the proper OCI API Gateway REST for your region (in the example, the region is Ashburn). See here to view the proper endpoint for your region [OCI API Gateway endpoints](https://docs.oracle.com/en-us/iaas/api/#/en/api-gateway/20190501/). Obtain your OCI Credentials to provide access to the OCI API gateway services. +4. In the second connection, as you did in the first connection, give a name and identifier (for example, "APIGW_REST_API"). Remember to select the Invoke type unlike the first configuration. Select the proper OCI API Gateway REST for your region (in the example, the region is Ashburn). See here to view the proper endpoint for your region [OCI API Gateway endpoints](https://docs.oracle.com/en-us/iaas/api/#/en/api-gateway/20190501/). Obtain your OCI Credentials to provide access to the OCI API gateway services. ![Connection_Apigateway_Rest_Api.png](images%2FConnection_Apigateway_Rest_Api.png) ## Task 4: Create the Integration