From 40da37f1181ddc1fbe582d4c0719abb97e0df0f6 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Mon, 12 Oct 2026 02:39:40 +0000 Subject: [PATCH] Add component definition: google-secret-manager --- component.json | 273 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 273 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..f10aedc --- /dev/null +++ b/component.json @@ -0,0 +1,273 @@ +{ + "component": { + "kind": "component", + "name": "google-secret-manager", + "title": "Google Secret Manager", + "description": "Manage Google Secret Manager Secrets", + "deprecated": false, + "firstVersion": "2.8.0", + "label": "cloud", + "javaType": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerComponent", + "supportLevel": "Stable", + "nativeSupported": true, + "metadata": { + "vault": "google-secret-manager", + "quarkusVersion": "3.36.0", + "camelArtifact": "org.apache.camel:camel-google-secret-manager", + "camelVersion": "4.20.0" + }, + "groupId": "org.apache.camel.quarkus", + "artifactId": "camel-quarkus-google-secret-manager", + "version": "4.20.0 (CEQ 3.36.0)", + "scheme": "google-secret-manager", + "extendsScheme": "", + "syntax": "google-secret-manager:project", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "componentProperties": { + "lazyStartProducer": { + "index": 0, + "kind": "property", + "displayName": "Lazy Start Producer", + "group": "producer", + "label": "producer", + "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." + }, + "autowiredEnabled": { + "index": 1, + "kind": "property", + "displayName": "Autowired Enabled", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": true, + "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc." + } + }, + "headers": { + "GoogleSecretManagerOperation": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerOperations", + "enum": [ + "createSecret", + "getSecretVersion", + "deleteSecret", + "listSecrets" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The operation to perform", + "constantName": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConstants#OPERATION" + }, + "CamelGoogleSecretManagerSecretId": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The id of the secret", + "constantName": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConstants#SECRET_ID" + }, + "CamelGoogleSecretManagerVersionId": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "defaultValue": "latest", + "description": "The version of the secret", + "constantName": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConstants#VERSION_ID" + } + }, + "properties": { + "project": { + "index": 0, + "kind": "path", + "displayName": "Project", + "group": "common", + "label": "common", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConfiguration", + "configurationField": "configuration", + "description": "The Google Cloud Project Id name related to the Secret Manager" + }, + "serviceAccountKey": { + "index": 1, + "kind": "parameter", + "displayName": "Service Account Key", + "group": "common", + "label": "common", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConfiguration", + "configurationField": "configuration", + "description": "Service account key to authenticate an application as a service account" + }, + "operation": { + "index": 2, + "kind": "parameter", + "displayName": "Operation", + "group": "producer", + "label": "producer", + "required": false, + "type": "enum", + "javaType": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerOperations", + "enum": [ + "createSecret" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConfiguration", + "configurationField": "configuration", + "description": "The operation to perform on the producer." + }, + "pojoRequest": { + "index": 3, + "kind": "parameter", + "displayName": "Pojo Request", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "configurationClass": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConfiguration", + "configurationField": "configuration", + "description": "Specifies if the request is a pojo request" + }, + "lazyStartProducer": { + "index": 4, + "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." + }, + "client": { + "index": 5, + "kind": "parameter", + "displayName": "Client", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "object", + "javaType": "com.google.cloud.secretmanager.v1.SecretManagerServiceClient", + "deprecated": false, + "deprecationNote": "", + "autowired": true, + "secret": false, + "configurationClass": "org.apache.camel.component.google.secret.manager.GoogleSecretManagerConfiguration", + "configurationField": "configuration", + "description": "The client to use during service invocation." + } + }, + "propertiesSchema": { + "properties": { + "project": { + "title": "Project", + "description": "The Google Cloud Project Id name related to the Secret Manager", + "type": "string", + "$comment": "group:common" + }, + "serviceAccountKey": { + "title": "Service Account Key", + "description": "Service account key to authenticate an application as a service account", + "type": "string", + "$comment": "group:common" + }, + "operation": { + "title": "Operation", + "description": "The operation to perform on the producer.", + "type": "string", + "enum": [ + "createSecret" + ], + "$comment": "group:producer" + }, + "pojoRequest": { + "title": "Pojo Request", + "description": "Specifies if the request is a pojo request", + "type": "boolean", + "$comment": "group:producer", + "default": false + }, + "lazyStartProducer": { + "title": "Lazy Start Producer", + "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.", + "type": "boolean", + "$comment": "group:producer (advanced)", + "default": false + }, + "client": { + "title": "Client", + "description": "The client to use during service invocation.", + "type": "string", + "$comment": "group:advanced", + "format": "bean:com.google.cloud.secretmanager.v1.SecretManagerServiceClient" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "project" + ] + } +} \ No newline at end of file