- 05 Dec 2024
-
DarkLight
-
PDF
Current Limitations
- Updated on 05 Dec 2024
-
DarkLight
-
PDF
Described below are known limitations with regard to creating an Integration Model, along with the steps involved in editing an integration model after it has been imported.
Servers
Currently a single server endpoint is supported for Integrations. If the OpenAPI document has more than one server listed in its servers
object, the first server will be selected for use. This endpoint can be updated in the service configuration after the Integration is created.
Example Template for Single Server Endpoint
Any server URL using the OpenAPI path template expressions will have the default value for variables applied. Below is an example of a configuration using multiple servers and URLs using path template expressions.
"servers": [
{
"description": "The s3 multi-region endpoint",
"url": "https://s3.{region}.amazonaws.com",
"variables": {
"region": {
"default": "us-east-2",
"description": "The AWS region",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2"
]
}
}
},
{
"description": "The s3 multi-region endpoint",
"url": "https://s3.{region}.amazonaws.com",
"variables": {
"region": {
"default": "us-east-1",
"description": "The AWS region",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2"
]
}
}
}
]
The resulting URL used in the service configuration will be the following:
https://s3.us-east-2.amazonaws.com/
This URL result was determined by taking the first server listed in the array and applying the default variable values to the template URL. Again, this URL can be edited in the service configuration after the Integration is created.
Updating Integration Models
It is currently impossible to edit an integration model after it has been imported into Itential Automation Platform (IAP). Instead, the integration model must be deleted and replaced. To do this:
- Delete all integrations associated with the model.
- Delete the integration model.
- Import an updated version of the integration model.
- Recreate all integrations associated with the model.
- Recreate any workflow tasks that reference prior integration versions, ensuring that each now references an updated version instead. This must be done on a per-workflow, task-by-task basis.
Swagger and OpenAPI Support
Swagger 2.0 and OpenAPI 3.0 are currently supported for creating an Integration Model. A Swagger 2.0 document is converted to an OpenAPI 3 document on import. All OpenAPI 3.0 documents must conform to the OpenAPI v3.0 Specification.