Skip to content

feat(webapps-neo): Ship the neo webapp with the WildFly distribution - #3905

Merged
javahippie merged 2 commits into
mainfrom
feature/3870-neo-webapp-wildfly
Oct 22, 2026
Merged

javahippie merged 2 commits into
mainfrom
feature/3870-neo-webapp-wildfly

Conversation

@javahippie

Copy link
Copy Markdown
Contributor

Replaces #3885 because I messed up the stacked PRs

javahippie and others added 2 commits October 20, 2026 11:48
- adds operaton-webapp-neo-tomcat, a WAR overlay of operaton-webapp-neo
  with a servlet-container web.xml, RESTEasy for /api/admin and
  /api/engine, and a static config.json (same-origin backend, basic auth)
- deploys it as webapps/ROOT, like Operaton Run serves neo at /; the
  Tomcat default ROOT app is no longer shipped
- disabled by default, legacy webapps stay the standard: NeoEnabledFilter
  reads operaton.bpm.webapp.neo.enabled (system property) or
  OPERATON_BPM_WEBAPP_NEO_ENABLED; when off, / redirects to /operaton/
  and every other path returns 404
- SpaFallbackFilter forwards deep links to index.html, the servlet
  counterpart of the starter's SpaResourceResolver
- UserAuthenticationResource declares @produces(application/json): the
  SPA's fetch sends Accept */*, which Jersey answers with JSON but
  RESTEasy with application/octet-stream, failing login with a 500
- documents the switch in README.txt and setenv.{sh,bat}

WildFly follows separately.

related to #3870

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- adds operaton-webapp-neo-wildfly, a WAR overlay of operaton-webapp-neo
  with the same web.xml and config.json as the Tomcat variant, the
  legacy webapp's module Dependencies and deployment exclusions, and
  context root / via jboss-web.xml
- removes the undertow welcome-content location for / from
  standalone.xml and standalone-full.xml, which occupied the root
  context
- disabled by default through NeoEnabledFilter, like on Tomcat: when
  off, / redirects to /operaton/ and every other path returns 404
- undertow-handlers.conf adds SameSite=Lax to JSESSIONID; Undertow sets
  the session cookie past SessionCookieFilter and ignores the Servlet 6
  cookie-config attribute
- documents the switch in README.txt and standalone.conf{,.bat}

related to #3870

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added lang:java Pull requests that update Java code distro:wildfly Issues & changes related to the Wildfly distribution distro:tomcat Issues & changes related to the Tomcat distribution scope:tests Changes affecting only test code scope:webapp-neo Changes affecting the new webapps. labels Oct 22, 2026
@javahippie
javahippie merged commit f8eb5a9 into main Oct 22, 2026
12 checks passed
@sonarqubecloud

Copy link
Copy Markdown

@kthoms
kthoms deleted the feature/3870-neo-webapp-wildfly branch October 22, 2026 19:55
@kthoms kthoms added this to the 2.2.0 milestone Oct 23, 2026
@kthoms kthoms added the noteworthy Should be documented in the release notes label Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

distro:tomcat Issues & changes related to the Tomcat distribution distro:wildfly Issues & changes related to the Wildfly distribution lang:java Pull requests that update Java code noteworthy Should be documented in the release notes scope:tests Changes affecting only test code scope:webapp-neo Changes affecting the new webapps.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants