You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2024/10/23 10:27:00 UTC

[jira] [Resolved] (CAMEL-21330) Camel-AWS-Secrets-Manager: Support Properties Function with Localstack

     [ https://issues.apache.org/jira/browse/CAMEL-21330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-21330.
--------------------------------------
    Resolution: Fixed

> Camel-AWS-Secrets-Manager: Support Properties Function with Localstack
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-21330
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21330
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Lukas Lowinger
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 4.9.0
>
>
> To make Localstack work we need to set correct *endpointOverride* which is done in the [common aws client|https://github.com/apache/camel/blob/main/components/camel-aws/camel-aws-secrets-manager/src/main/java/org/apache/camel/component/aws/secretsmanager/client/impl/SecretsManagerClientStandardImpl.java#L90] used in Camel. The problem is [PropertiesFunction|https://github.com/apache/camel/blob/main/components/camel-aws/camel-aws-secrets-manager/src/main/java/org/apache/camel/component/aws/secretsmanager/SecretsManagerPropertiesFunction.java#L138] doesn't provide such option. 
> Just for reference, here is [code|https://github.com/apache/camel-quarkus/blob/main/integration-tests-support/aws2/src/test/java/org/apache/camel/quarkus/test/support/aws2/Aws2TestEnvContext.java#L185] which sets it in Camel Quarkus project.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)