Change 19803

tjuricek
tjuricek committed this change into //guest/perforce_software/helix-web-services/main/source
Request Review
Download .zip
Setting up the server to be deployable as a servlet, and adding custom "prefix" addition to all routes.

It's not completely clear exactly when you'd want to do this, but, you could include the hws.jar in your app server and run this way.

This adds a new "servlet example project" that we use to execute a basic test in the new suite.
  • Files 21
  • Comments 0
12 edited 9 added 0 deleted
server/src/main/java/com/perforce/hws/server/ApiPath.java#8
Loading...
server/src/main/java/com/perforce/hws/server/ApiPathUtils.java#1
Loading...
server/src/main/java/com/perforce/hws/server/ConfigurationKey.java#2
Loading...
server/src/main/java/com/perforce/hws/server/HWSSettings.java#5
Loading...
server/src/main/java/com/perforce/hws/server/HelixWebServices.java#19
Loading...
server/src/main/java/com/perforce/hws/server/filters/PlatformVersionFilter.java#5
Loading...
server/src/main/java/com/perforce/hws/server/routes/VersionRoute.java#2
Loading...
server/src/main/java/com/perforce/hws/server/routes/perforce/PerforceVersionRoute.java#2
Loading...
settings.gradle#18
Loading...
testing/build.gradle#26
Loading...
testing/proxy/build.gradle#2
Loading...
testing/servlet/build.gradle#1
Loading...
testing/servlet/config/checkstyle/checkstyle.xml#1
Loading...
testing/servlet/config/dev.yaml#1
Loading...
testing/servlet/config/p4ds/localhost#1
Loading...
testing/servlet/src/main/java/com/perforce/hws/testing/ServletContainer.java#1
Loading...
testing/src/main/java/com/perforce/hws/testing/proxy/ProxyEnvironmentTestSetup.java#2
Loading...
testing/src/main/java/com/perforce/hws/testing/servlet/ServletClientTests.java#1
Loading...
testing/src/main/java/com/perforce/hws/testing/servlet/ServletEnvironmentTestSetup.java#1
Loading...
testing/testng-all.xml#17
Loading...
testing/testng-servlet-16.1.xml#1
Loading...
Tip: Use n and p to cycle through the changes.