Skip to content

Pax web 8 updates #1056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

malmgrens4
Copy link
Collaborator

@malmgrens4 malmgrens4 commented Apr 17, 2025

With the move to pax web 8 there were major changes. Most changes adhere to the specifications defined by OSGI Http Whiteboard R7 (https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html) with a few exceptions (see WAB exceptions/ordering here: ops4j/org.ops4j.pax.web@b6cf8ba and https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.war.html#d0e69887)

Servlet registration should follow the pattern specified by https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html#service.http.whiteboard.servletcontext
Currently everything is registered to the / path contexts (note it's an LDAP selection filter so ALL contexts with / as the path will have our servlets registered.
Pathing resolution for servlets is now done based on that context.
WABs have now been turned to resource mappings with a welcome file (see: connexta/ace#144)

<version>5.2.19-SNAPSHOT</version>
</parent>
<artifactId>catalog-ui-reroute</artifactId>
<name>DDF :: Catalog :: UI :: Reroute</name>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Is this still needed? Doesn't look like there is anything in this module

@@ -88,7 +88,7 @@

<feature name="javalin" version="${project.version}" description="Javalin Web Framework">
<feature prerequisite="true">wrap</feature>
<bundle>wrap:mvn:org.checkerframework/checker-qual/2.0.0$Bundle-Name=checker-qual&amp;Bundle-SymbolicName=checker-qual&amp;Bundle-Version=2.0.0&amp;Export-Package=org.checkerframework.checker.nullness.qual;version="2.0.0"</bundle>
<!-- <bundle>wrap:mvn:org.checkerframework/checker-qual/2.0.0$Bundle-Name=checker-qual&amp;Bundle-SymbolicName=checker-qual&amp;Bundle-Version=2.0.0&amp;Export-Package=org.checkerframework.checker.nullness.qual;version="2.0.0"</bundle>-->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Can be deleted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This always gives me trouble when building. That being said there's a chance of runtime issues if this is excluded. I haven't tested enough to confirm it can be removed. It also doesn't seem to give anyone else trouble. So I think I'll leave it in for now, but if it starts causing build issues for anyone else I can revisit removing it.

@malmgrens4 malmgrens4 changed the title [WIP] Pax web 8 updates Pax web 8 updates Apr 21, 2025
@malmgrens4 malmgrens4 requested a review from derekwilhelm April 21, 2025 19:11
@alexabird
Copy link
Collaborator

build now

@cxddfuibot
Copy link
Collaborator

Internal build has been started, your results will be available at build completion.

@cxddfuibot
Copy link
Collaborator

Build FAILURE See the job results in legacy Jenkins UI or in Blue Ocean UI.

@cxddfuibot
Copy link
Collaborator

Suspected Failure(s):

  • Error installing packages from yarn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants