redhat-developer / vscode-rsp-ui

A unified UI for all RSP servers and RSP server-providers to integrate with
Eclipse Public License 2.0
38 stars 21 forks source link

Deployables options #260

Open keycube241 opened 1 year ago

keycube241 commented 1 year ago

What is the full list of deployables options ("options": {})? For example, how to remove appArtifatId from application url via deployment options setting (from http://localhost:8080/appArtifatId/hello to http://localhost:8080/hello)?

robstryker commented 1 year ago

This depends on what server you are using. Wildfly? Tomcat? EAP? Or some other server?

Generally, I believe if you deploy an application as ROOT.war, it will remove that middle segment. But this may be different based on application server.

niphor commented 6 months ago

@keycube241 It can be filled one by one as you add a deployment. When this popup appears, choose 'Yes'. image

In the case of Tomcat, this will remove appArtifatId from application url

make sure to manually delete ROOT before adding a deployment, if not working

"deployables": {
"xxx": {
"label": "xxx",
"path": "xxx",
"options": {
"option": {
"deployment.output.name": "ROOT"
}
}
}
}

I think.