You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Steven Huypens <st...@gmail.com> on 2025/10/09 07:59:56 UTC

Re: Configuring a String Array with an Environment Variable

Hi JB,

Did you manage to reproduce the issue ?

Kind regards,
Steven

On Thu, Sep 25, 2025 at 6:16 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>
> Thanks Steven!
>
> Let me try to reproduce (with a simple atomic config).
> I will reply to the GitHub Issue.
>
> Regards
> JB
>
> On Thu, Sep 25, 2025 at 1:31 PM Steven Huypens <st...@gmail.com> wrote:
> >
> > Hi JB,
> >
> > Thanks for your instant response. Here you go :
> > https://github.com/apache/karaf/issues/2062
> >
> > I'm happy to try any escaping, but I'm not sure what you have in mind.
> >
> > Best regards,
> > Steven
> >
> > On Thu, Sep 25, 2025 at 10:54 AM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> > >
> > > Hi Steven
> > >
> > > The [] syntax should work (possibly with escape).
> > >
> > > Let me try to reproduce. Do you mind to create an issue on
> > > https://github.com/apache/karaf/issues ?
> > >
> > > Thanks !
> > > Regards
> > > JB
> > >
> > > On Thu, Sep 25, 2025 at 10:00 AM Steven Huypens
> > > <st...@gmail.com> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I'm trying to configure my Karaf instance with environment variables
> > > > as described in
> > > > https://karaf.apache.org/manual/latest/#_environment_variables_system_properties
> > > >
> > > > However I cannot find how to configure a String array as required by
> > > > for instance the Felix Healthchecks when I want to configre the
> > > > tags-property in
> > > > org.apache.felix.hc.core.impl.servlet.HealthCheckExecutorServlet-default.config
> > > >
> > > > Does anybody know how to configure it (for instance
> > > > ["tag1","tag2","-tag3"]) using
> > > > ORG_APACHE_FELIX_HC_CORE_IMPL_SERVLET_HEALTHCHECKEXECUTORSERVLET_DEFAULT_TAGS
> > > > ?
> > > >
> > > >
> > > > This did not work for me:
> > > >
> > > > ORG_APACHE_FELIX_HC_CORE_IMPL_SERVLET_HEALTHCHECKEXECUTORSERVLET_DEFAULT_TAGS=["tag1","tag2","-tag3"]
> > > >
> > > >
> > > >
> > > >
> > > > Kind regards,
> > > > Steven

Re: Configuring a String Array with an Environment Variable

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Steven

Not yet, I will do the investigations during the weekend.
I will keep you posted.

Thanks!
Regards
JB

On Thu, Oct 9, 2025 at 9:59 AM Steven Huypens <st...@gmail.com> wrote:
>
> Hi JB,
>
> Did you manage to reproduce the issue ?
>
> Kind regards,
> Steven
>
> On Thu, Sep 25, 2025 at 6:16 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> >
> > Thanks Steven!
> >
> > Let me try to reproduce (with a simple atomic config).
> > I will reply to the GitHub Issue.
> >
> > Regards
> > JB
> >
> > On Thu, Sep 25, 2025 at 1:31 PM Steven Huypens <st...@gmail.com> wrote:
> > >
> > > Hi JB,
> > >
> > > Thanks for your instant response. Here you go :
> > > https://github.com/apache/karaf/issues/2062
> > >
> > > I'm happy to try any escaping, but I'm not sure what you have in mind.
> > >
> > > Best regards,
> > > Steven
> > >
> > > On Thu, Sep 25, 2025 at 10:54 AM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> > > >
> > > > Hi Steven
> > > >
> > > > The [] syntax should work (possibly with escape).
> > > >
> > > > Let me try to reproduce. Do you mind to create an issue on
> > > > https://github.com/apache/karaf/issues ?
> > > >
> > > > Thanks !
> > > > Regards
> > > > JB
> > > >
> > > > On Thu, Sep 25, 2025 at 10:00 AM Steven Huypens
> > > > <st...@gmail.com> wrote:
> > > > >
> > > > > Hi all,
> > > > >
> > > > > I'm trying to configure my Karaf instance with environment variables
> > > > > as described in
> > > > > https://karaf.apache.org/manual/latest/#_environment_variables_system_properties
> > > > >
> > > > > However I cannot find how to configure a String array as required by
> > > > > for instance the Felix Healthchecks when I want to configre the
> > > > > tags-property in
> > > > > org.apache.felix.hc.core.impl.servlet.HealthCheckExecutorServlet-default.config
> > > > >
> > > > > Does anybody know how to configure it (for instance
> > > > > ["tag1","tag2","-tag3"]) using
> > > > > ORG_APACHE_FELIX_HC_CORE_IMPL_SERVLET_HEALTHCHECKEXECUTORSERVLET_DEFAULT_TAGS
> > > > > ?
> > > > >
> > > > >
> > > > > This did not work for me:
> > > > >
> > > > > ORG_APACHE_FELIX_HC_CORE_IMPL_SERVLET_HEALTHCHECKEXECUTORSERVLET_DEFAULT_TAGS=["tag1","tag2","-tag3"]
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Kind regards,
> > > > > Steven