Skip to content

Commit

Permalink
WFPREV-70,82 Implement IDIR (WebADE) Authentication and Authorization…
Browse files Browse the repository at this point in the history
… in Angular App with Spring Boot Backend (#321)

Co-authored-by: Henry Saldyga <[email protected]>
  • Loading branch information
ssylver93 and hsaldyga authored Dec 6, 2024
1 parent 48f6f29 commit 6ec382c
Show file tree
Hide file tree
Showing 49 changed files with 7,296 additions and 3,742 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ jobs:
WFPREV_CLIENT_SECRET: ${{secrets.WFPREV_CLIENT_SECRET}}
WEBADE_OAUTH2_CHECK_TOKEN_URL: ${{vars.WEBADE_OAUTH2_CHECK_TOKEN_URL}}
WEBADE_OAUTH2_CHECK_AUTHORIZE_URL: ${{vars.WEBADE_OAUTH2_CHECK_AUTHORIZE_URL}}
WFPREV_BASE_URL: ${{vars.WFPREV_BASE_URL}}
WFPREV_DATASOURCE_URL: ${{vars.WFPREV_DATASOURCE_URL}}
WFPREV_DATASOURCE_USERNAME: ${{secrets.WFPREV_USERNAME}}
WFPREV_DATASOURCE_PASSWORD: ${{secrets.DB_PASS}}
server_count: ${{vars.WFPREV_SERVER_INSTANCE_COUNT}}
# WFPREV UI
CLIENT_IMAGE: ${{ steps.getDigestUI.outputs.IMAGE_UI_BY_DIGEST }}
WEBADE_OAUTH2_WFPREV_UI_CLIENT_SECRET: ${{ secrets.WEBADE_OAUTH2_WFPREV_UI_CLIENT_SECRET }}
WFPREV_CHECK_TOKEN_URL: ${{vars.WFPREV_CHECK_TOKEN_URL}}

# DB
WFPREV_USERNAME: ${{secrets.WFPREV_USERNAME}}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:
-DWEBADE_OAUTH2_CHECK_AUTHORIZE_URL=${{ vars.WEBADE_OAUTH2_CHECK_TOKEN_URL }} \
-DWFPREV_DATASOURCE_URL=${{ vars.WFPREV_DATASOURCE_URL }} \
-DWFPREV_DATASOURCE_USERNAME=${{ secrets.WFPREV_USERNAME }} \
-DWFPREV_DATASOURCE_PASSWORD=${{ secrets.DB_PASS }}
-DWFPREV_DATASOURCE_PASSWORD=${{ secrets.DB_PASS }} \
-DWFPREV_BASE_URL=${{ vars.WFPREV_BASE_URL }}
- name: SonarCloud Scan Action
uses: SonarSource/sonarcloud-github-action@master
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/terragrunt-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ jobs:
WFPREV_CLIENT_SECRET: ${{secrets.WFPREV_CLIENT_SECRET}}
WEBADE_OAUTH2_CHECK_TOKEN_URL: ${{vars.WEBADE_OAUTH2_CHECK_TOKEN_URL}}
WEBADE_OAUTH2_CHECK_AUTHORIZE_URL: ${{vars.WEBADE_OAUTH2_CHECK_AUTHORIZE_URL}}
WFPREV_BASE_URL: ${{vars.WFPREV_BASE_URL}}
WFPREV_DATASOURCE_URL: ${{vars.WFPREV_DATASOURCE_URL}}
WFPREV_DATASOURCE_USERNAME: ${{secrets.WFPREV_USERNAME}}
WFPREV_DATASOURCE_PASSWORD: ${{secrets.DB_PASS}}
Expand All @@ -151,6 +152,7 @@ jobs:
WEBADE_OAUTH2_WFPREV_UI_CLIENT_SECRET: ${{ secrets.WEBADE_OAUTH2_WFPREV_UI_CLIENT_SECRET }}
WFPREV_CLIENT_MEMORY: ${{vars.WFPREV_CLIENT_MEMORY}}
WFPREV_CLIENT_CPU_UNITS : ${{vars.WFPREV_CLIENT_CPU_UNITS}}
WFPREV_CHECK_TOKEN_URL: ${{vars.WFPREV_CHECK_TOKEN_URL}}

# DB
WFPREV_USERNAME: ${{secrets.WFPREV_USERNAME}}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ htmlReport/
**/.env.*
.DS_Store
**/.DS_Store
yarn.lock
6 changes: 5 additions & 1 deletion client/wfprev-war/src/main/angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/assets/data/appConfig.json"
],
"styles": [
"src/styles.scss",
Expand Down Expand Up @@ -142,5 +143,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
Loading

0 comments on commit 6ec382c

Please sign in to comment.