OpenNTF / org.openntf.xsp.jakartaee

XPages Jakarta EE support libraries
Apache License 2.0
21 stars 7 forks source link

Consider moving stock endpoints to separate servlets #86

Open jesse-gallagher opened 2 years ago

jesse-gallagher commented 2 years ago

Things like MP Metrics are added to the app's JAX-RS space in order to piggback on the scaffolding done there, but then it limits the options for what a developer can name their services. It may make sense to instead create separate servlets in the NSF for these.

It's also worth considering registering these as Equinox servlets instead of adding them to the ComponentModule. This would require a new type of work, but would allow this project to be MicroProfile-spec-compliant, which requires these endpoints to be available at the root.

jesse-gallagher commented 1 year ago

Since this will technically be a breaking change, it'd make sense to put this in 3.0