Summary
Create a new integration.
Description
Create a new integration in IAP.
Route
POST /integrations
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
properties |
object |
yes |
An object containing all the integration properties. |
Copied to Clipboard
{
"properties": {
"name": "Local AAA",
"type": "Application",
"virtual": false,
"loggerProps": {
"log_max_files": 100,
"log_max_file_size": 1048576,
"log_level": "info",
"log_directory": "/var/log/pronghorn",
"log_filename": "pronghorn.log",
"console_level": "warn",
"description": "Logger Settings",
"log_timezone_offset": -5,
"metrics_filename": "metrics.log",
"metrics_max_files": 31,
"metrics_rotation_interval": "7d",
"metrics_rotation_size": "10M",
"syslog": {
"level": "error",
"facility": "local0",
"type": "5424",
"path": "/dev/log",
"pid": "process.pid",
"localhost": "",
"app_name": "",
"eol": "CR"
}
},
"isEncrypted": true,
"model": "@itential/adapter-local_aaa"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"properties": {
"title": "properties",
"type": "object",
"properties": {
"loggerProps": {
"$ref": "services-schema#/properties/loggerProps"
},
"isEncrypted": {
"$ref": "services-schema#/properties/isEncrypted"
},
"model": {
"$ref": "services-schema#/properties/model"
},
"name": {
"$ref": "services-schema#/properties/name"
},
"type": {
"$ref": "services-schema#/properties/type"
},
"properties": {
"$ref": "services-schema#/properties/properties"
},
"virtual": {
"$ref": "services-schema#/properties/virtual"
}
},
"required": [
"name",
"type",
"properties",
"virtual"
]
}
},
"required": [
"properties"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the integration creation process. |
Copied to Clipboard
{
"status": "Created",
"message": "A sample success message",
"data": {
"metadata": {
"name": "@itentialopensource/cisco-nx-upgrade",
"version": "1.0.0",
"description": "A basic description",
"author": "Itential Artifacts",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://gitlab.com:itentialopensource/pre-built-automations/content-workflow.git"
},
"keywords": [
"Itential",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "aggregateFunctions",
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "ac-agenda-job",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "template",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "integration",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
},
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "automation",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
]
},
"bundles": [
{
"type": "transformation"
},
{
"type": "integration"
}
],
"readme": "example of readme"
}
}