From 82ddd61c845985ab291d2fb20547ce4acbc35820 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:32:10 +0000 Subject: [PATCH] Add component definition: openshift-build-configs --- component.json | 443 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 443 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..46109c0 --- /dev/null +++ b/component.json @@ -0,0 +1,443 @@ +{ + "component": { + "kind": "component", + "name": "openshift-build-configs", + "title": "OpenShift Build Config", + "description": "Perform operations on OpenShift Build Configs.", + "deprecated": false, + "firstVersion": "2.17.0", + "label": "container,cloud", + "javaType": "org.apache.camel.component.openshift.build_configs.OpenshiftBuildConfigsComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-kubernetes", + "version": "4.10.2", + "scheme": "openshift-build-configs", + "extendsScheme": "", + "syntax": "openshift-build-configs:masterUrl", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "CamelKubernetesOperation": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The Producer operation", + "constantName": "org.apache.camel.component.kubernetes.KubernetesConstants#KUBERNETES_OPERATION" + }, + "CamelKubernetesNamespaceName": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The namespace name", + "constantName": "org.apache.camel.component.kubernetes.KubernetesConstants#KUBERNETES_NAMESPACE_NAME" + }, + "CamelKubernetesBuildConfigsLabels": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "Map", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The OpenShift Config Build labels", + "constantName": "org.apache.camel.component.kubernetes.KubernetesConstants#KUBERNETES_BUILD_CONFIGS_LABELS" + }, + "CamelKubernetesBuildConfigName": { + "index": 3, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The Openshift Config Build name", + "constantName": "org.apache.camel.component.kubernetes.KubernetesConstants#KUBERNETES_BUILD_CONFIG_NAME" + } + }, + "properties": { + "masterUrl": { + "index": 0, + "kind": "path", + "displayName": "Master Url", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "URL to a remote Kubernetes API server. This should only be used when your Camel application is connecting from outside Kubernetes. If you run your Camel application inside Kubernetes, then you can use local or client as the URL to tell Camel to run in local mode. If you connect remotely to Kubernetes, then you may also need some of the many other configuration options for secured connection with certificates, etc." + }, + "apiVersion": { + "index": 1, + "kind": "parameter", + "displayName": "Api Version", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Kubernetes API Version to use" + }, + "dnsDomain": { + "index": 2, + "kind": "parameter", + "displayName": "Dns Domain", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The dns domain, used for ServiceCall EIP" + }, + "kubernetesClient": { + "index": 3, + "kind": "parameter", + "displayName": "Kubernetes Client", + "group": "producer", + "label": "", + "required": false, + "type": "object", + "javaType": "io.fabric8.kubernetes.client.KubernetesClient", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "Default KubernetesClient to use if provided" + }, + "namespace": { + "index": 4, + "kind": "parameter", + "displayName": "Namespace", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The namespace" + }, + "operation": { + "index": 5, + "kind": "parameter", + "displayName": "Operation", + "group": "producer", + "label": "producer", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "Producer operation to do on Kubernetes" + }, + "portName": { + "index": 6, + "kind": "parameter", + "displayName": "Port Name", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The port name, used for ServiceCall EIP" + }, + "portProtocol": { + "index": 7, + "kind": "parameter", + "displayName": "Port Protocol", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "tcp", + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The port protocol, used for ServiceCall EIP" + }, + "lazyStartProducer": { + "index": 8, + "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." + }, + "connectionTimeout": { + "index": 9, + "kind": "parameter", + "displayName": "Connection Timeout", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "integer", + "javaType": "java.lang.Integer", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "Connection timeout in milliseconds to use when making requests to the Kubernetes API server." + }, + "caCertData": { + "index": 10, + "kind": "parameter", + "displayName": "Ca Cert Data", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The CA Cert Data" + }, + "caCertFile": { + "index": 11, + "kind": "parameter", + "displayName": "Ca Cert File", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The CA Cert File" + }, + "clientCertData": { + "index": 12, + "kind": "parameter", + "displayName": "Client Cert Data", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Client Cert Data" + }, + "clientCertFile": { + "index": 13, + "kind": "parameter", + "displayName": "Client Cert File", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Client Cert File" + }, + "clientKeyAlgo": { + "index": 14, + "kind": "parameter", + "displayName": "Client Key Algo", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Key Algorithm used by the client" + }, + "clientKeyData": { + "index": 15, + "kind": "parameter", + "displayName": "Client Key Data", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Client Key data" + }, + "clientKeyFile": { + "index": 16, + "kind": "parameter", + "displayName": "Client Key File", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Client Key file" + }, + "clientKeyPassphrase": { + "index": 17, + "kind": "parameter", + "displayName": "Client Key Passphrase", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Client Key Passphrase" + }, + "oauthToken": { + "index": 18, + "kind": "parameter", + "displayName": "Oauth Token", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "The Auth Token" + }, + "password": { + "index": 19, + "kind": "parameter", + "displayName": "Password", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "Password to connect to Kubernetes" + }, + "trustCerts": { + "index": 20, + "kind": "parameter", + "displayName": "Trust Certs", + "group": "security", + "label": "security", + "required": false, + "type": "boolean", + "javaType": "java.lang.Boolean", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "Define if the certs we used are trusted anyway or not" + }, + "username": { + "index": 21, + "kind": "parameter", + "displayName": "Username", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", + "configurationField": "configuration", + "description": "Username to connect to Kubernetes" + } + } +} \ No newline at end of file