Skip to content
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

Remove Jersey dependency and migrate WPS WSDL functionality to ResourcesServlet #1609

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

dstenger
Copy link
Contributor

@dstenger dstenger commented Dec 1, 2023

Aim was to remove Jersey dependency so that it is not part of deegree-webservices war anymore.

As this dependency was used by WSDL functionality of WPS, this feature was moved to ResourcesServlet.
The servlet now also returns files ending with .wsdl and .wsdl/ALL.

wps.wsdl file was created in services folder of WPS workspace to test the pull request.
Example of WSDL URL printed in Capabilities of WPS with the fix:
<wps:WSDL xlink:href="http://localhost:8081/deegree-webservices/resources/services/wps.wsdl/ALL"/>
Before is was:
<wps:WSDL xlink:href="http://localhost:8080/deegree-webservices/resources../rest/wsdl/wps/ALL"/> (which seems to be broken)

New URL is accessible and returns the added wps.wsdl.

Functionality seems not to be described in the handbook. As the aim of this pull request was to remove Jersey dependency, the handbook was not enhanced.

Finally, I checked if jersey-server dependency is still in WEB-INF/lib folder of deployed war. No jersey dependency was existing anymore.

@dstenger dstenger added the dependencies Pull requests that update a dependency (library) label Dec 1, 2023
@dstenger dstenger requested a review from stephanr December 1, 2023 10:09
@tfr42 tfr42 modified the milestones: 3.6, 3.5.5. Dec 1, 2023
@tfr42 tfr42 added the WPS deegree Web Processing Service label Dec 1, 2023
@stephanr stephanr merged commit 713bd19 into deegree:main Dec 1, 2023
@tfr42 tfr42 deleted the removeJersey branch March 27, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency (library) WPS deegree Web Processing Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants