Questions tagged [microprofile]

The Eclipse MicroProfile project defines a programming model for developing microservice applications in an Enterprise Java environment.

The Eclipse MicroProfile project is a CDI-first approach to building microservice applications and supported by both community and Java application server vendors. There are a number of active projects within MicroProfile, which can be viewed at the official website.

296 questions
0
votes
2 answers

Eclipse How to create new run configuration with commands

I'm working on an Eclipse microprofile application, and I would like to create a run configuration that executes these 3 commands in order: mvn clean package mvn package java -jar target/myApp.jar How can I do this? I have this: Where and how can…
Usr
  • 2,628
  • 10
  • 51
  • 91
0
votes
1 answer

Why @Fallback() isn't triggered in a trivial .war deployed to thorntail+microprofile?

I have a trivial "Hello World!" REST service which uses the microprofile for fault-tolerance, in particular, the @Fallback annotation // HelloApplication.java import javax.ws.rs.ApplicationPath; import…
gubaer
  • 236
  • 2
  • 11
0
votes
0 answers

How do I create a org.reactivestreams Processor out of a RxJava Operator for use in another ReactiveStreams library

What is the best way of packaging a RxJava operator as a Processor object? I am writing some simple test cases for a MicroProfile Reactive Streams implementation in OpenLiberty. I have RxJava on the classpath and want to explore packaging an RxJava…
0
votes
0 answers

Cannot build runnable Jar with Open Liberty 18.0.0.4

I'm trying to build a runnable jar for a MicroProfile 2.1 application using Open Liberty 18.0.0.4. I copied most code from the guide-getting-started and updated the version number from 18.0.03 to 18.0.0.4. However, the runnable Jar is not build and…
sithmein
  • 437
  • 3
  • 11
0
votes
0 answers

WELD-001409: Ambiguous dependencies for type InjectionPoint with qualifiers

I am doing POC on CDI2.0 with JavaSE using wildfly Weld for CDI implementation.I am able to run the application using maven exec:java command. I have added maven single jar with dependency plugin to make a single jar with java main class. took…
Gnana
  • 2,130
  • 5
  • 26
  • 57
0
votes
0 answers

MicroProfile and Wildfly Swarm time to rebuild in development environment

We are working in a micro service project using MicroProfile and Wildfly Swarm, and we are having a problem in the development enviroment with the build time, it's taking over 3 minutes and every changes that we do in the project we have to rebuild…
0
votes
2 answers

OpenLiberty MP Config Sample getProperties() repetitive called

I tried the OpenLiberty MP Config Sample (guide-microprofile-config), so far it works. But when analyzing it more closely, I found out that the method getProperties() in the file CustomConfigSource is called several times in repetition. This is a…
Igor
  • 41
  • 5
0
votes
1 answer

Not able to access in-memory mongodb using NoSqlUnit

I have an arquillian component test where I am wanting to use an in-memory MongoDB (Fongo) database using NoSqlUnit. I am using a @Producer to define my DataStoreConnection and I am using Eclipse MicroProfile on Java SE 8. The issue is that after…
0
votes
1 answer

MicroProfile Rest Client not working

I had created a demo application using Wildfly Swarm generator, and I want to add the MicroProfile Rest Client on it. I just added the dependency: org.wildfly.swarm
Victor
  • 8,309
  • 14
  • 80
  • 129
0
votes
1 answer

Swagger on a eclipse microprofile application

I have a java microprofile application that I want to add swagger to. The application has a "custom" Application class @ApplicationPath("/api") public class RestApplication extends Application { public RestApplication() { Swagger…
munHunger
  • 2,572
  • 5
  • 34
  • 63
0
votes
0 answers

OpenLiberty server.xml boolean variable data-types

OpenLiberty does not seem to support variable substitution of boolean data-types. I have a MicroProfile JWT configuration element (ignoreApplicationAuthMethod) that I would like to tokenize. Are there best practices for externalizing boolean…
1 2 3
19
20