The Gateway Manager supports the storage of API definitions in different formats. The format defines how the service is stored and differs also in the way differences can be managed within the repository. There are two supported file formats: “GMU Single File” and “APIIDA Enhanced”. The following article explains the differences between those formats.
Table of Contents |
---|
GMU Single File
The GMU Single File format relates to the storage format used by the Layer7 Tool “Gateway Migration Utility”. The storage format is shown in the following image:
...
To get a more detailed description of the service definitions within the “bundle.xml”, please refer to the Restman Documentation on your Layer7 API Gateway.
APIIDA Enhanced
The “APIIDA Enhanced” format adds to folders to the described format “GMU Single File”. A folder “policies” which contains one or more individual service definitions in XML as <l7:Service> objects. Additionally, a “conf” folder is added which contains several configuration descriptions in JSON. The format is shown below:
...
These JSON files contain descriptions of several resources used within one or multiple policies. The definition of “resource” is used here accordingly to the Layer7 definition (review the Restman documentation for a complete list of resources).
Examples:
“Folder.json” contains a JSON object which defines the folder of the solution:
...