Closed fabiobrz closed 4 years ago
Developing a very simple app and deploy to Wildfly built from feature branch to audit server.log for those warnings.
Done, see https://github.com/fabiobrz/basic-programming-model WARN is not popping up and same happens with Wildfly TS, following manual repro (from Paul):
* Create a OASModelReader class. Put it in the org.wildfly.test.integration.microprofile.openapi.service package
* Edit org.wildfly.test.integration.microprofile.openapi.OpenAPIFormatTestCase class, add the following to the deployment configuration:
.addAsManifestResource(new StringAsset("mp.openapi.model.reader=" + YourModelReader.class.getName), "microprofile-config.properties")
* Run mvn clean install or: mvn clean install -Dtest=OpenAPIFormatTestCase -DtestLogToFile=false from the testsuite/integration/microprofile directory
I had to add one dependency to MP OpenAPI integration test POM for model classes, though:
...
<dependency>
<groupId>org.eclipse.microprofile.openapi</groupId>
<artifactId>microprofile-openapi-api</artifactId>
<scope>test</scope>
</dependency>
...
Anyway: no WARN in log, so it's second proof that the WARN pops up only when running TS tests.
Closing this and opening new specific issue.
see #6
Paul Ferraro showed me he is not reproducing the issue, so it needs to be investigated why it pops up in our TS.