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

Add support for URL rewriting in tool specifications #162

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

szschaler
Copy link
Contributor

This PR adds support for tool specifications to use {{BASE-URL}} to refer to the URL from which the tool is deployed (strictly, the URL where the tool specification is hosted, minus the file name of the tool specification and any trailing /). This will automatically be rewritten when the tool specification is loaded, so that tool specifications can be written independently of location of deployment.

@szschaler szschaler self-assigned this Jan 12, 2024
@szschaler szschaler added the enhancement New feature or request label Jan 12, 2024
A minor additional fix to avoid accumulating `/`-es over time
@szschaler szschaler marked this pull request as ready for review January 12, 2024 09:49
Copy link
Collaborator

@barnettwilliam barnettwilliam left a comment

Choose a reason for hiding this comment

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

LGTM. Testing this higlighted an issue with the Xtext tool service endpoint structure but raised as - mdenet/platformtools#37

@szschaler szschaler merged commit 29cd13f into main Jan 12, 2024
2 checks passed
@szschaler szschaler deleted the feature/tool-base-url-rewriting branch January 12, 2024 12:24
barnettwilliam added a commit to mdenet/educationplatform-docker that referenced this pull request Jan 18, 2024
…l parallel build logs combined and mdenet/educationplatform#163 hiding of generated activities. Features mdenet/platformtools#155 resource management of editor instances and mdenet/educationplatform#162 tool base url rewriting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants