From 808036270f66d7afca9a5567b727fdb660e04058 Mon Sep 17 00:00:00 2001 From: Cristiano Hoshikawa Date: Tue, 28 Jan 2025 19:43:58 -0300 Subject: [PATCH] First commit --- .idea/.gitignore | 10 ++++++++++ README.md | 18 +++++++++--------- img.png => images/img.png | Bin img_1.png => images/img_1.png | Bin img_2.png => images/img_2.png | Bin img_3.png => images/img_3.png | Bin img_4.png => images/img_4.png | Bin img_5.png => images/img_5.png | Bin img_6.png => images/img_6.png | Bin img_7.png => images/img_7.png | Bin 10 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 .idea/.gitignore rename img.png => images/img.png (100%) rename img_1.png => images/img_1.png (100%) rename img_2.png => images/img_2.png (100%) rename img_3.png => images/img_3.png (100%) rename img_4.png => images/img_4.png (100%) rename img_5.png => images/img_5.png (100%) rename img_6.png => images/img_6.png (100%) rename img_7.png => images/img_7.png (100%) diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..0a8642f --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Zeppelin ignored files +/ZeppelinRemoteNotebooks/ diff --git a/README.md b/README.md index 5b6711f..6bd5948 100644 --- a/README.md +++ b/README.md @@ -51,21 +51,21 @@ These are the steps for migration: This is the link to know how to export APIs definitions in the OAG: [Exporting API Gateway configuration](https://docs.oracle.com/cd/E39820_01/doc.11121/gateway_docs/content/general_export.html) You will get a XML file that will contain all the APIs definitions. -![img_1.png](img_1.png) +![img_1.png](images/img_1.png) -![img.png](img.png) +![img.png](images/img.png) -![img_2.png](img_2.png) +![img_2.png](images/img_2.png) ### Convert the Oracle API Gateway XML to a Swagger Specification -Change the variable filename to your exported OAG XML file (there is an example in this article named "Export_OAG.xml" if you want to test) and execute the Python generate_swagger.py file. +Change the variable filename to your exported OAG XML file and execute the Python generate_swagger.py file. -![img_3.png](img_3.png) +![img_3.png](images/img_3.png) -![img_4.png](img_4.png) +![img_4.png](images/img_4.png) -![img_5.png](img_5.png) +![img_5.png](images/img_5.png) You will receive files with YAML extension. Each file is a Swagger definition for a API defined in the OAG. @@ -73,11 +73,11 @@ You will get inside the Swagger definition some lines commented. This lines repr Change the map_details.py Python file to include your OAG XML definition file and a filename for you output mapping definitions. -![img_6.png](img_6.png) +![img_6.png](images/img_6.png) After run this python code, you will get a more detailed definitions for each orquestration steps mentioned previously in the Swagger. -![img_7.png](img_7.png) +![img_7.png](images/img_7.png) ### Deploy the Swagger to OCI API Gateway diff --git a/img.png b/images/img.png similarity index 100% rename from img.png rename to images/img.png diff --git a/img_1.png b/images/img_1.png similarity index 100% rename from img_1.png rename to images/img_1.png diff --git a/img_2.png b/images/img_2.png similarity index 100% rename from img_2.png rename to images/img_2.png diff --git a/img_3.png b/images/img_3.png similarity index 100% rename from img_3.png rename to images/img_3.png diff --git a/img_4.png b/images/img_4.png similarity index 100% rename from img_4.png rename to images/img_4.png diff --git a/img_5.png b/images/img_5.png similarity index 100% rename from img_5.png rename to images/img_5.png diff --git a/img_6.png b/images/img_6.png similarity index 100% rename from img_6.png rename to images/img_6.png diff --git a/img_7.png b/images/img_7.png similarity index 100% rename from img_7.png rename to images/img_7.png