-
Notifications
You must be signed in to change notification settings - Fork 3
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 #5 from codecentric/feature/support-for-new-react-ui
New user interface
- Loading branch information
Showing
185 changed files
with
29,389 additions
and
14,324 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
7 changes: 7 additions & 0 deletions
7
services/gateway/src/intTest/resources/__files/ui-overview.html
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,7 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>hc-ui overview</title> | ||
</head> | ||
<body>DUMMY</body> | ||
</html> |
18 changes: 18 additions & 0 deletions
18
services/gateway/src/intTest/resources/mappings/ui/GET_ui-Overview.json
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,18 @@ | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "/ui/overview", | ||
"headers": { | ||
"Authorization": { | ||
"absent": true | ||
} | ||
} | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Content-Type": "text/html" | ||
}, | ||
"bodyFileName": "ui-overview.html" | ||
} | ||
} |
5 changes: 1 addition & 4 deletions
5
services/gateway/src/intTest/resources/mappings/ui/GET_ui.json
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
33 changes: 33 additions & 0 deletions
33
services/gateway/src/main/resources/META-INF/additional-spring-configuration-metadata.json
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,33 @@ | ||
{ | ||
"groups": [ | ||
{ | ||
"name": "gateway.auth", | ||
"type": "de.codecentric.hc.gateway.security.GatewayAuthConfig", | ||
"description": "Auth related configuration" | ||
} | ||
], | ||
"properties": [ | ||
{ | ||
"name": "gateway.auth.type", | ||
"type": "de.codecentric.hc.gateway.security.GatewayAuthConfig.GatewayAuthType", | ||
"sourceType": "de.codecentric.hc.gateway.security.GatewayAuthConfig", | ||
"description": "Authentication method used for Spring Security.", | ||
"defaultValue": "HTTP_BASIC" | ||
} | ||
], | ||
"hints": [ | ||
{ | ||
"name": "gateway.auth.type", | ||
"values": [ | ||
{ | ||
"value": "HTTP_BASIC", | ||
"description": "Secure endpoints using HTTP basic auth." | ||
}, | ||
{ | ||
"value": "OAUTH_2_LOGIN", | ||
"description": "Secure endpoints using OAuth." | ||
} | ||
] | ||
} | ||
] | ||
} |
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 was deleted.
Oops, something went wrong.
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 @@ | ||
node_modules/ |
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,7 +1 @@ | ||
VUE_APP_HABIT_SERVICE_HOST=http://localhost:9001/ | ||
VUE_APP_TRACKING_SERVICE_HOST=http://localhost:9002/ | ||
VUE_APP_REPORT_SERVICE_HOST=http://localhost:9003/ | ||
VUE_APP_OIDC_AUTH=disabled | ||
VUE_APP_OIDC_AUTHORITY_HOST=http://localhost:8080/auth/realms/habitcentric/.well-known/openid-configuration | ||
VUE_APP_OIDC_CLIENT_ID=ui | ||
VUE_APP_UI_PATH=/ | ||
REACT_APP_OIDC_ENABLED=false |
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,7 +1 @@ | ||
VUE_APP_HABIT_SERVICE_HOST=http://localhost:9001/ | ||
VUE_APP_TRACKING_SERVICE_HOST=http://localhost:9002/ | ||
VUE_APP_REPORT_SERVICE_HOST=http://localhost:9003/ | ||
VUE_APP_OIDC_AUTH=enabled | ||
VUE_APP_OIDC_AUTHORITY_HOST=http://localhost:8080/auth/realms/habitcentric/.well-known/openid-configuration | ||
VUE_APP_OIDC_CLIENT_ID=ui | ||
VUE_APP_UI_PATH=/ | ||
REACT_APP_OIDC_ENABLED=true |
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,7 +1,2 @@ | ||
VUE_APP_HABIT_SERVICE_HOST=${HABIT_HOST} | ||
VUE_APP_TRACKING_SERVICE_HOST=${TRACKING_HOST} | ||
VUE_APP_REPORT_SERVICE_HOST=${REPORT_HOST} | ||
VUE_APP_OIDC_AUTH=${OIDC_AUTH} | ||
VUE_APP_OIDC_AUTHORITY_HOST=${OIDC_AUTHORITY_HOST} | ||
VUE_APP_OIDC_CLIENT_ID=${OIDC_CLIENT_ID} | ||
VUE_APP_UI_PATH=/ui | ||
PUBLIC_URL=\$PUBLIC_URL | ||
REACT_APP_OIDC_ENABLED=\$OIDC_ENABLED |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,30 +1,27 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
/test-reports | ||
/licenses | ||
/licenses.txt | ||
junit.xml | ||
|
||
# local env files | ||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.*.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# Log files | ||
/logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw* | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
/out/ |
Empty file.
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
Oops, something went wrong.