-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from RADAR-base/release-1.3.0
Release 1.3.0
- Loading branch information
Showing
64 changed files
with
3,112 additions
and
2,153 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ out | |
.gradle | ||
.git | ||
authorizer-app/* | ||
docker/ | ||
RADAR-Rest-Source-Auth.iml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules/ | ||
/e2e | ||
dist/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
ROOT_DIR=/usr/share/nginx/html | ||
# Replace env vars in JavaScript files | ||
echo "Replacing env vars in JS" | ||
# So far, the main.*.js is the only file where the app is compiled into | ||
for file in $ROOT_DIR/main.*.js* $ROOT_DIR/index.html | ||
do | ||
echo "Processing $file ..."; | ||
|
||
sed -i 's|/\?BASE_HREF|'${BASE_HREF}'|g' $ROOT_DIR/index.html | ||
sed -i 's|BACKEND_BASE_URL|'${BACKEND_BASE_URL}'|g' $file | ||
sed -i 's|VALIDATE|'${VALIDATE}'|g' $file | ||
sed -i 's|AUTH_GRANT_TYPE|'${AUTH_GRANT_TYPE}'|g' $file | ||
sed -i 's|AUTH_CLIENT_ID|'${AUTH_CLIENT_ID}'|g' $file | ||
sed -i 's|AUTH_CLIENT_SECRET|'${AUTH_CLIENT_SECRET}'|g' $file | ||
sed -i 's|AUTH_CALLBACK_URL|'${AUTH_CALLBACK_URL}'|g' $file | ||
sed -i 's|AUTH_URI|'${AUTH_URI}'|g' $file | ||
done | ||
|
||
echo "Static files ready" | ||
exec "$@" |
Oops, something went wrong.