Replace hardcoded context roots from app-cfg.js
See original GitHub issueWhen deploying the Flowable UI Apps under a different context root from the default /flowable-*
, it is possible to make everything work using changes in property files (e.g. flowable.common.app.idm-url
is configurable), except for one party pooper: the file ./src/main/resources/static/scripts/app-cfg.js
has hardcoded context root strings:
FLOWABLE.CONFIG = {
'onPremise' : true,
'contextRoot' : '/flowable-idm',
'webContextRoot' : '/flowable-idm',
'datesLocalization' : false
};
If these static strings weren’t there, then the app wars could be transparently deployed under a different context root. Currently, putting an app on a different context root requires modifying the war file.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Get rid of hard-coding the context path of web apps in external ...
What happens is that the included JavaScript file named websockets.js where the global variable contextPath is attempted to be accessed, ...
Read more >Deploy Spring Boot and Angular application to Heroku
Preparing Angular app for Production · Maintain different URLs for Dev and Prod environments · Replace Hardcoded URL with environment variable.
Read more >Customizing context roots for the components in a deployment ...
To customize the context roots in an existing deployment environment, complete the following steps: Stop all running servers in the deployment environment. In...
Read more >Spring Framework Reference Documentation
You can change the root URL from /release/ to /milestone/ or /snapshot/ as appropriate. Once configured, you can add dependencies in the usual...
Read more >pdf - NetIQ Identity and Access Management (IAM) | CyberRes
Changing the Default Administrator Assignments after Installation . ... provisioning occurs within the context of the corporate security policy.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the ping, this is implemented with the PR indeed.
@jbarrez @tijsrademakers what do you think, #1100 solved this?