I don't know the details about the Opentracing TCK but no MicroProfile implementation is required to provide servlet API. If a TCK requires it it's a bug and the TCK needs to be fixed.
Ondro
--
You received this message because you are subscribed to a topic in the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/microprofile/fY2e-e1YLFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/48f783bf-52c8-44bf-b41f-167ae00ae1ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think that the same can be achieved with a JAX-RS app, which is also a kind of servlet and binds to a specific URL. We should fix the tests to use JAX-RS and avoid using Servlets. Instead we should use only MP depencies, e.g. JAX-RS.If the TCK tests applications that require non-MP dependencies it violates the requirements of MP specs. Although TCK tests may depend on non-MP dependencies, tested application packages shouldn't. Otherwise, the TCK requires more than specified in the spec.This should be fixed in TCKs of all specs, including OpenTracing, OpenAPI and JWT.--Ondro
št 11. 10. 2018 o 17:51 Pavol Loffay napísal(a):
Hi,--these servlets are used to simulate metrics and health endpoints. TCK verifies that these endpoints are not traced. The main motivation behind this is to avoid adding other spec impls to run the TCK.Here was the conversation https://github.com/eclipse/microprofile-opentracing/pull/95The same concern might apply for other specs. Although not sure how servlet API is used there. It seems that only for tests:OpenAPI servlet filter https://github.com/eclipse/microprofile-open-api/blob/master/tck/src/main/java/org/eclipse/microprofile/openapi/apps/petstore/util/ApiOriginFilter.javaRegards,
On Monday, October 8, 2018 at 9:15:29 AM UTC+2, Mark Struberg wrote:+1I understand that opentracing needs some integration setup.But that should be abstracted away so that it could run on Servlets, Low-level Connection servers, etcAnd this abstraction then has to be integrated with the implementation under test.LieGrue,strub
Am Samstag, 29. September 2018 00:07:47 UTC+2 schrieb Ondro Mihályi:Hi,I don't know the details about the Opentracing TCK but no MicroProfile implementation is required to provide servlet API. If a TCK requires it it's a bug and the TCK needs to be fixed.
Ondro
You received this message because you are subscribed to a topic in the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/microprofile/fY2e-e1YLFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to microprofile+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/48f783bf-52c8-44bf-b41f-167ae00ae1ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/7b5132b5-6462-447d-be41-cc15a554c591%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.