From 14dff64392a83a017ae2999757a42ece55eae44a Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:32:18 +0000 Subject: [PATCH] Add component definition: openstack-nova --- component.json | 413 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 413 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..ab01411 --- /dev/null +++ b/component.json @@ -0,0 +1,413 @@ +{ + "component": { + "kind": "component", + "name": "openstack-nova", + "title": "OpenStack Nova", + "description": "Access OpenStack to manage compute resources.", + "deprecated": false, + "firstVersion": "2.19.0", + "label": "container", + "javaType": "org.apache.camel.component.openstack.nova.NovaComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-openstack", + "version": "4.10.2", + "scheme": "openstack-nova", + "extendsScheme": "", + "syntax": "openstack-nova:host", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "FlavorId": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "flavor server", + "label": "flavor server", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "ID of the flavor.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#FLAVOR_ID" + }, + "RAM": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "flavor", + "label": "flavor", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Size of RAM.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#RAM" + }, + "VCPU": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "flavor", + "label": "flavor", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The number of flavor VCPU.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#VCPU" + }, + "disk": { + "index": 3, + "kind": "header", + "displayName": "", + "group": "flavor", + "label": "flavor", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Size of disk.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#DISK" + }, + "swap": { + "index": 4, + "kind": "header", + "displayName": "", + "group": "flavor", + "label": "flavor", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Size of swap.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#SWAP" + }, + "rxtxFactor": { + "index": 5, + "kind": "header", + "displayName": "", + "group": "flavor", + "label": "flavor", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Rxtx Factor.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#RXTXFACTOR" + }, + "AdminPassword": { + "index": 6, + "kind": "header", + "displayName": "", + "group": "server", + "label": "server", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Admin password of the new server.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#ADMIN_PASSWORD" + }, + "ImageId": { + "index": 7, + "kind": "header", + "displayName": "", + "group": "server", + "label": "server", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The Image ID.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#IMAGE_ID" + }, + "KeypairName": { + "index": 8, + "kind": "header", + "displayName": "", + "group": "server", + "label": "server", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The Keypair name.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#KEYPAIR_NAME" + }, + "NetworkId": { + "index": 9, + "kind": "header", + "displayName": "", + "group": "server", + "label": "server", + "required": false, + "javaType": "List", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The list of networks (by id).", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#NETWORK" + }, + "action": { + "index": 10, + "kind": "header", + "displayName": "", + "group": "server", + "label": "server", + "required": false, + "javaType": "org.openstack4j.model.compute.Action", + "enum": [ + "PAUSE", + "UNPAUSE", + "STOP", + "START", + "LOCK", + "UNLOCK", + "SUSPEND", + "RESUME", + "RESCUE", + "UNRESCUE", + "SHELVE", + "SHELVE_OFFLOAD", + "UNSHELVE", + "FORCEDELETE" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "An action to perform.", + "constantName": "org.apache.camel.component.openstack.nova.NovaConstants#ACTION" + }, + "operation": { + "index": 11, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The operation to perform.", + "constantName": "org.apache.camel.component.openstack.common.OpenstackConstants#OPERATION" + }, + "ID": { + "index": 12, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The ID.", + "constantName": "org.apache.camel.component.openstack.common.OpenstackConstants#ID" + }, + "name": { + "index": 13, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The name.", + "constantName": "org.apache.camel.component.openstack.common.OpenstackConstants#NAME" + } + }, + "properties": { + "host": { + "index": 0, + "kind": "path", + "displayName": "Host", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "OpenStack host url" + }, + "apiVersion": { + "index": 1, + "kind": "parameter", + "displayName": "Api Version", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "enum": [ + "V2", + "V3" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "V3", + "description": "OpenStack API version" + }, + "config": { + "index": 2, + "kind": "parameter", + "displayName": "Config", + "group": "producer", + "label": "", + "required": false, + "type": "object", + "javaType": "org.openstack4j.core.transport.Config", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "OpenStack configuration" + }, + "domain": { + "index": 3, + "kind": "parameter", + "displayName": "Domain", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "default", + "description": "Authentication domain" + }, + "operation": { + "index": 4, + "kind": "parameter", + "displayName": "Operation", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The operation to do" + }, + "password": { + "index": 5, + "kind": "parameter", + "displayName": "Password", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": true, + "description": "OpenStack password" + }, + "project": { + "index": 6, + "kind": "parameter", + "displayName": "Project", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The project ID" + }, + "subsystem": { + "index": 7, + "kind": "parameter", + "displayName": "Subsystem", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "enum": [ + "flavors", + "servers", + "keypairs" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "OpenStack Nova subsystem" + }, + "username": { + "index": 8, + "kind": "parameter", + "displayName": "Username", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": true, + "description": "OpenStack username" + }, + "lazyStartProducer": { + "index": 9, + "kind": "parameter", + "displayName": "Lazy Start Producer", + "group": "producer (advanced)", + "label": "producer,advanced", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." + } + } +} \ No newline at end of file