Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active December 14, 2019 21:52
Show Gist options
  • Save AdamBien/46045e87888329caa3f8c29b2d56f3ea to your computer and use it in GitHub Desktop.
Save AdamBien/46045e87888329caa3f8c29b2d56f3ea to your computer and use it in GitHub Desktop.
69thAirhacksQ&A.md

Ask questions and see you at December, 9th, 8pm CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

68 airhacks.tv

Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

@sjetesjete
Copy link

Hi Adam,
could you please comment on https://thoughts-on-java.org/dont-expose-entities-in-api/ ? What are your experiences towards that?

Greetings from Frankfurt am Main.

@whyvrafvr
Copy link

whyvrafvr commented Dec 9, 2019

Hi Adam.

Thanks a lot for your work, you’re awesome 😎!

Do you know if it possible to use Microprofile config with DataSource annotation?
Payara offers a specific Tag ${MPCONFIG-foo} but it’s necessary to declare the variable foo using asadmin command line.
I guess we cannot use the default property file at the present time.

Working with docker and Kubernetes, we’ve decided to use environment variables but if you have a tip about using the microprofile properties, that’s perfect 👌

@ciment7
Copy link

ciment7 commented Dec 9, 2019

Hi Adam,
Do you have some experience how to protect open api endpoint generated by microprofile library to fetch open api files?
I don`t want to expose my API on production.

Thanks

@srnjak
Copy link

srnjak commented Dec 14, 2019

Hi Adam,

I have a project, where JUnit5 is used as testing framework. I would like to add some integration tests for JAX-RS functionality. After searching on internet, it became obvious that Arquillian doesn't support this version of JUnit.

What would be the best approach to make it possible to run Arquillian?
I was thinking about having JUnit5 and 4 as testing dependencies in the same project, but - is that even possible?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment