Skip to content

Commit a07f15f

Browse files
Fix actual path to the 'womp' request handler
1 parent 356454d commit a07f15f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ng-appserver/src/main/java/ng/appserver/NGApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private NGRouteTable createSystemRoutes() {
195195
systemRoutes.map( NGResourceRequestHandler.DEFAULT_PATH + "*", new NGResourceRequestHandler() );
196196
systemRoutes.map( NGResourceRequestHandlerDynamic.DEFAULT_PATH + "*", new NGResourceRequestHandlerDynamic() );
197197
systemRoutes.map( NGDirectActionRequestHandler.DEFAULT_PATH + "*", new NGDirectActionRequestHandler() );
198-
systemRoutes.map( "/womp/", new WOMPRequestHandler() );
198+
systemRoutes.map( WOMPRequestHandler.DEFAULT_PATH, new WOMPRequestHandler() );
199199
systemRoutes.map( "/sessionCookieReset/", ( request ) -> {
200200
return resetSessionCookie();
201201
} );

ng-appserver/src/main/java/ng/appserver/wointegration/WOMPRequestHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class WOMPRequestHandler extends NGRequestHandler {
2121

2222
private static final Logger logger = LoggerFactory.getLogger( WOMPRequestHandler.class );
2323

24-
public static final String KEY = "womp";
24+
public static final String DEFAULT_PATH = "/womp/instanceRequest";
2525

2626
/**
2727
* FIXME: Currently just checking for substrings in the requests's XML content. We should be properly deserializing.

0 commit comments

Comments
 (0)