-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix frontendproperties readFile() to work with classpath and update d…
…ownload_custom_buttons_json reference (#10946) * app.properties: add new download_custom_buttons_json to enum and confic_service property list * FrontendProperty enum: fix ordering so list ends on correct line * app.properties example for download_custom_buttons_json fixed - changed example to use absolute path based on default docker config, since classpath: isn't supported - updated documentation - added TODO on readFile() method * merge in docs updates from master * download_custom_buttons: doc tweak * application.properties example updated to match reference * FrontEndProperties: update readFile() to support relative and classpath by leveraging spring ResourceUtils * download_custom_buttons_json: update examples back to "classpath:" * Application.properties example: updated classpath relative path * Frontend Properties readFile: changed classpath to use ClassLoader.getResourceAsStream() instead of ResourceUtils.getFile() - check both the file system and the classpath * readfile: logging, fix style * readFile: split out file/resource search code to new method locateFile() - modified logging to use the verb "Found" --------- Co-authored-by: Denis Papp <[email protected]> Co-authored-by: Denis Papp <[email protected]>
- Loading branch information
1 parent
b3ae689
commit ff85ba4
Showing
4 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters