First commit
10
.idea/.gitignore
generated
vendored
Normal file
@@ -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/
|
||||
18
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.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
After run this python code, you will get a more detailed definitions for each orquestration steps mentioned previously in the Swagger.
|
||||
|
||||

|
||||

|
||||
|
||||
### Deploy the Swagger to OCI API Gateway
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
|
Before Width: | Height: | Size: 325 KiB After Width: | Height: | Size: 325 KiB |