-
Notifications
You must be signed in to change notification settings - Fork 36
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
Allow tokens to be provided via properties files #1483
Conversation
than via the ServletFilter
can be used via intelij
the token replacing reader
instead of implying the exception via a null value
TokenFinder exception to TokenReplacementException
using the new PropertyFileTokenFinder
reader so it can be decoupled from BRJS when it logs warnings
replacing tokens inside BRJS
token replacements arent found
in a single message don't have to verify several messages that arent applicable to the test
request 'mode' (prod or dev)
WEB-INF doesnt exist
Yes, let's do it that way since then we can point other people at this work around if they ever hit the same issue. |
Hi @andyberry88 . A few issues with this one. 1: The js bundle is truncated when I load the dashboard or any app on this build. This is the end of my dashboard bundle:
2: Even when I include default.properties file with a replacement for my token, I still get the following error:
3: Can we have some nice docs on how to use this feature? |
…adeRunnerJS/brjs into allow-tokens-static-files-749
This was caused by the incorrect encoding being used when calculating the
I can't reproduce this. Tokens are working without any problems for me. Waiting for @thecapdan to confirm is this now works.
Docs changes branch is at BladeRunnerJS/brjs-site#113. |
This doesn't quite work. Replacing |
the 3 issues i described above have been addressed and fixed. the suggested solution for the there's an encoding issue when we run the tests on windows, andrew is having a look |
…-749 Allow tokens to be provided via properties files
BRJS.
'system' tokens (move the bundlePath token logic into a single shared location #775)BladeRunnerJS/brjs-site#113 is an associated PR which contains docs updates.