Twitter native test : Locale and Timezone
I've been testing the twitter extension in native mode. And as I have a Locale fr, I've got errors parsing the responses from Twitter.com. The Twitter Java API expect to have the Locale.US installed and expect also Timezone UTC. We need to address the issue or at least document it.
related to camel-quarkus-1861 and quarkus-5244
Hi @zbendhiba ,
About Locale, Hi @zbendhiba ,
Just FYI, if it's only one no-default locale needed in native mode, we can specify it in application.properties like
quarkus.native.user-country=US
quarkus.native.user-language=en
Please take a look at https://github.com/apache/camel-quarkus/issues/2550#issuecomment-832204615 to get more details.
About the timezone, please take a look at my way to fix https://github.com/apache/camel-quarkus/issues/2542
Best Regards Freeman
thanks @ffang
The quarkus.native.user-country, and quarkus.native.user-language work fine for me. From a user point of view, I hope, we can define more than one locale in near future.
For the timeZone, we don't use docker for twitter API. There is fix here. I wanted to ask you to test Twitter integration tests to check if there is problem with TimeZone, but it requires developer credentials.
If someone could document this one and add the country/Language parameters to make this native build work for everyone.
based on (transitively) linked issues, it seems that Locale support can be now managed at GraalVM level https://github.com/oracle/graal/issues/2908