This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-21265-gcp
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/CAMEL-21265-gcp by this push:
     new b8e7d077b9d CAMEL-21265 - Create ApplicationEnvironmentPreparedEvent 
for Vault components - Google Secret Manager
b8e7d077b9d is described below

commit b8e7d077b9da8810d2c719fe878fe7b1cdaf3fc2
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Oct 16 16:16:00 2024 +0200

    CAMEL-21265 - Create ApplicationEnvironmentPreparedEvent for Vault 
components - Google Secret Manager
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../SpringBootGoogleSecretManagerPropertiesParser.java   | 16 ++++++++++++++++
 .../manager/springboot/EarlyResolvedPropertiesTest.java  |  8 +++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git 
a/components-starter/camel-google-secret-manager-starter/src/main/java/org/apache/camel/component/google/secret/manager/springboot/SpringBootGoogleSecretManagerPropertiesParser.java
 
b/components-starter/camel-google-secret-manager-starter/src/main/java/org/apache/camel/component/google/secret/manager/springboot/SpringBootGoogleSecretManagerPropertiesParser.java
index 1b9c6079a82..979ce6087cf 100644
--- 
a/components-starter/camel-google-secret-manager-starter/src/main/java/org/apache/camel/component/google/secret/manager/springboot/SpringBootGoogleSecretManagerPropertiesParser.java
+++ 
b/components-starter/camel-google-secret-manager-starter/src/main/java/org/apache/camel/component/google/secret/manager/springboot/SpringBootGoogleSecretManagerPropertiesParser.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.camel.component.google.secret.manager.springboot;
 
 import com.google.cloud.secretmanager.v1.SecretManagerServiceClient;
diff --git 
a/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
 
b/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
index edb99913231..c2ae93ea7ec 100644
--- 
a/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
+++ 
b/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
@@ -16,7 +16,13 @@
  */
 package org.apache.camel.component.google.secret.manager.springboot;
 
-import com.google.cloud.secretmanager.v1.*;
+import com.google.cloud.secretmanager.v1.ProjectName;
+import com.google.cloud.secretmanager.v1.Replication;
+import com.google.cloud.secretmanager.v1.Secret;
+import com.google.cloud.secretmanager.v1.SecretManagerServiceClient;
+import com.google.cloud.secretmanager.v1.SecretManagerServiceSettings;
+import com.google.cloud.secretmanager.v1.SecretName;
+import com.google.cloud.secretmanager.v1.SecretPayload;
 import com.google.protobuf.ByteString;
 import org.apache.camel.spring.boot.CamelAutoConfiguration;
 import org.apache.camel.test.spring.junit5.CamelSpringBootTest;

Reply via email to