-
Notifications
You must be signed in to change notification settings - Fork 552
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
TargetURI needs to be configured outside of the WAR/EAR #124
Labels
Comments
Hi, |
Yes,
The web.xml would have the absolute path (or classpath path) of the
property file.
The property name could be fixed, so that you can reference an existing
property file.
…On Wed, 4 Oct 2017 at 14:25, David Smiley ***@***.***> wrote:
Hi,
Perhaps the proxy could be easily modified to load it's configuration
settings from a properties file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#124 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFbnJVThDiX71O1H6TBwFO5pXh4iDtBnks5so3khgaJpZM4Pta7r>
.
|
Hello, Do we have a solution for this requirement now ? |
I had a similar problem where I needed to control the target URI programmatically and (probably overkill for what you want) dynamically at runtime. I solved this by extending the Proxy Servlet and, essentially:
Hope this helps Phil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've got a requirement that the WAR/EAR can't be modified from DEV to PRODUCTION.
So I need that the targetURI can be configured outside of the WAR/EAR.
For example, all the properties of the application is read from Linux FS : /apps/configuration/web/myApp.properties
Is it possible out of the box?
Can it be configured after the container startup? Any sample code to do that?
Project is not using SpringMVC.
The text was updated successfully, but these errors were encountered: