Skip to content
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

ES-498 #23

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
2add714
Initial commit
rathanak-0080 Nov 3, 2023
2742cff
add signup-ui
Nov 6, 2023
25083f4
ES-407-sign-up-ui-khmer-language-bundle-creation
Nov 6, 2023
7026c2e
update translation
Nov 6, 2023
dd20a57
initial sign up ui commit
bunsyy Nov 6, 2023
7fcf92d
feat: add common error pages
bunsyy Nov 8, 2023
18adbe4
feat: add account setup page to the steps
bunsyy Nov 8, 2023
64a6dd7
feat: add success registration page
bunsyy Nov 8, 2023
cc1a4af
Code code base from esignet to esignet-signup
Nov 8, 2023
e9df1af
Signup page css and design changes
aranaravi Nov 9, 2023
82d05ba
Added the new line as per the comment
aranaravi Nov 9, 2023
388b96c
chore: refactor code and fix user interface
bunsyy Nov 10, 2023
eef429a
fix: fix phone user interface
bunsyy Nov 10, 2023
fb3cfbf
fix: fix otp step user interface
bunsyy Nov 10, 2023
f86e61a
fix: fix phone status creation step UI
bunsyy Nov 10, 2023
d097677
fix: fix sign up page layout
bunsyy Nov 10, 2023
d8e33bf
fix: fix button and steps ui
bunsyy Nov 10, 2023
2293894
fix: fix phone and otp steps ui
bunsyy Nov 10, 2023
1fa2f1c
fix: disable username input of account setup step
bunsyy Nov 10, 2023
5234f2b
chore: add .env.example and update README
bunsyy Nov 10, 2023
dca9c77
fix: fix pass and confirm pass validation
bunsyy Nov 13, 2023
0e024f0
fix: fix verify challenge endpoint call
bunsyy Nov 13, 2023
add28c1
fix: remove deprecated file
bunsyy Nov 13, 2023
a92917f
chore: add eof
bunsyy Nov 13, 2023
48f3bc9
fix: move nav bar and footer to app
bunsyy Nov 13, 2023
63c9565
chore: delete use client
bunsyy Nov 13, 2023
0e124dc
fix: fix layout
bunsyy Nov 13, 2023
7f80722
feat: navigate to error on http error
bunsyy Nov 13, 2023
f15a350
feat: translate texts
bunsyy Nov 14, 2023
ef5a546
fix: add i18next icu package
bunsyy Nov 14, 2023
e02c9d2
fix: remove deprecated code
bunsyy Nov 14, 2023
613cf41
feat: add language dropdown and logo
bunsyy Nov 14, 2023
f0d781c
fix: fix package installation
bunsyy Nov 14, 2023
22cf1cc
fix: move locales to public folder
bunsyy Nov 15, 2023
2bf7f59
chore: add translation steps to Readme
bunsyy Nov 15, 2023
5da160f
fix: fix string interpolation translation
bunsyy Nov 15, 2023
fe7b741
fix: remove vscode
bunsyy Nov 15, 2023
4240399
chore: ignore vscode settings
bunsyy Nov 15, 2023
af58953
chore: add placeholder for base url
bunsyy Nov 15, 2023
05c0bf0
fix: use default json key values
bunsyy Nov 15, 2023
a73034b
fix: use svg instead of lucide-react
bunsyy Nov 15, 2023
a173f60
ES-400-sign-up-ui-terms-conditions-privacy-policy-page
Nov 13, 2023
ce743f5
add newline
Nov 13, 2023
8080183
update translation key
Nov 13, 2023
c2a229e
change term condition page to modal
Nov 15, 2023
6193955
change term condition page to modal
Nov 15, 2023
3860f00
Add newline
Nov 15, 2023
a129c0c
Remove casting
Nov 15, 2023
4cf1674
chore: add double quotes
bunsyy Nov 17, 2023
a3fba3d
[ES-432] [ES-402] Signup UI: common page layout across UI module (#13)
gk-4VII Nov 23, 2023
553d371
ES-406-sign-up-ui-enabling-context-based-navigation-post-successful-a…
rathanak-0080 Nov 29, 2023
565d3bf
ES-430 (#16)
rathanak-0080 Nov 30, 2023
999a575
Add docker and github workflow (#7)
rathanak-0080 Nov 30, 2023
71d544a
Add github workflow key (#19)
rathanak-0080 Nov 30, 2023
eb95e08
ES-401 (#18)
bunsy-0900 Nov 30, 2023
f1b0c33
ES-406 (#20)
rathanak-0080 Nov 30, 2023
2c5201b
ES-427 (#5)
panharith-0118 Dec 1, 2023
5265e2e
Add licenses to pow file service (#22)
rathanak-0080 Dec 1, 2023
c04b3af
Add developer to pow file service (#23)
rathanak-0080 Dec 1, 2023
cf92de5
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
4bccdce
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
62cd074
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
bfd7d99
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
023c75a
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
a3c3502
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
d0e05d6
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
8bdbd65
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
3a23c5f
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
367b94f
Update codeql-analysis.yml
rathanak-0080 Dec 1, 2023
a32a30c
update pom to skip gpg (#26)
rathanak-0080 Dec 1, 2023
79317d1
ES-429 (#28)
ase-101 Dec 5, 2023
08a1450
DSD-3968 (#30)
ase-101 Dec 5, 2023
5d20990
Update codeql-analysis.yml
rathanak-0080 Dec 6, 2023
498ee36
Update codeql-analysis.yml
rathanak-0080 Dec 6, 2023
efed621
Update codeql-analysis.yml
rathanak-0080 Dec 6, 2023
b369041
ES-427 (#34)
ase-101 Dec 6, 2023
edd8e19
ES-517: Refactoring signup-ui code (#25)
bunsy-0900 Dec 7, 2023
cfb8495
ES-427 Add ASYNC: Invoke sms notification endpoint (#32)
mengleang-0090 Dec 7, 2023
b379db7
ES-391 (#35)
ase-101 Dec 8, 2023
9cf550b
Update push-trigger.yml
rathanak-0080 Dec 8, 2023
db364d6
Update push-trigger.yml
rathanak-0080 Dec 8, 2023
5a96c3b
Update push-trigger.yml
rathanak-0080 Dec 8, 2023
70a51b9
ES-513: wiring signup UI with signup service endpoints (#31)
bunsy-0900 Dec 11, 2023
5c12ab6
ES-515 (#36)
mengleang-0090 Dec 12, 2023
274e168
fix error from wiring backend and frontend (#33)
panharith-0118 Dec 13, 2023
64270b4
update signup ui env (#41)
rathanak-0080 Dec 13, 2023
8c21818
ES-430 (#42)
ase-101 Dec 14, 2023
4c4f523
[DSD-3968] Updated the helm charts directory structure for signup ser…
Mohanraj209 Dec 14, 2023
4ce5add
Fix signup ui call wrong url (#44)
rathanak-0080 Dec 14, 2023
eeb1b7d
ES-405 - Mobile responsive on verify OTP pages (#40)
lengheang-0116 Dec 15, 2023
00d2c06
fix: enforce default lang (#45)
bunsy-0900 Dec 15, 2023
4805274
add Khmer translation for signup (#46)
rathanak-0080 Dec 15, 2023
15d1700
ES-513 (#47)
panharith-0118 Dec 15, 2023
84ca7bd
fix: disable reload on language change (#50)
bunsy-0900 Dec 18, 2023
e342628
hotfix: fix password masking and otp length (#52)
bunsy-0900 Dec 18, 2023
925e413
Add translation keys from ID repo (#48)
rathanak-0080 Dec 18, 2023
b11f525
Add missing translation for error keys (#56)
rathanak-0080 Dec 22, 2023
3a432ad
ES-613 (#55)
rathanak-0080 Dec 22, 2023
26eda5e
ES-601 (#61)
ase-101 Dec 26, 2023
8c10d23
ES-559 - UI Forgot Password Landing Page (#49)
bunsy-0900 Dec 27, 2023
2533e97
ES-620 (#60)
panharith-0118 Dec 27, 2023
6a19e9a
ES-604 (#53)
panharith-0118 Dec 27, 2023
10ad337
ES-556 (#51)
panharith-0118 Dec 28, 2023
ad78d00
ES-560 - UI changes in verify_challenge input in "Enter OTP page" (#58)
bunsy-0900 Dec 28, 2023
46e9665
ES-598 - UI Forgot Password Mobile responsiveness (#63)
lengheang-0116 Dec 28, 2023
8d6648f
ES-553- UI Reset Password page (#59)
bunsy-0900 Jan 2, 2024
27082f0
ES-598-V02 - UI Reset Password Mobile responsiveness (#66)
lengheang-0116 Jan 2, 2024
5e96477
ES-621 - UI Restrict User Input i Input Fields (#62)
bunsy-0900 Jan 2, 2024
c1173ca
ES-555 and ES-557 (#64)
mengleang-0090 Jan 2, 2024
15b6bfa
Add error translation key (#69)
rathanak-0080 Jan 3, 2024
aaf85d5
ES-598-V03 - UI ResetPasswordConfirmation and Failed Mobile responsiv…
lengheang-0116 Jan 3, 2024
3838e61
ES-561 - UI Wiring endpoint in Reset Password page (#71)
bunsy-0900 Jan 3, 2024
cc26692
Update README.md
rathanak-0080 Jan 3, 2024
bd32f9e
ES-473 and ES-474 (#73)
mengleang-0090 Jan 4, 2024
dbba524
Update translation text (#75)
rathanak-0080 Jan 5, 2024
2cdbf3c
Fix base 64 bug (#77)
rathanak-0080 Jan 5, 2024
6e43f27
update docker file (#78)
rathanak-0080 Jan 5, 2024
0dd20a4
ES-635: fix verify button enabled unexpectedly (#76)
bunsy-0900 Jan 5, 2024
94bfd83
ES-522 (#72)
mengleang-0090 Jan 5, 2024
08a4754
ES-414 (#79)
ase-101 Jan 5, 2024
6e81199
ES-414: Update inline text and error popup (#80)
rathanak-0080 Jan 5, 2024
6c32715
ES-391 (#82)
ase-101 Jan 8, 2024
d2d896c
ES-391 (#83)
ase-101 Jan 8, 2024
a555381
ES-391 fixed validation issue (#84)
ase-101 Jan 8, 2024
83798d1
ES-632: getting validation message even before providing input (#85)
bunsy-0900 Jan 9, 2024
f429877
chore: fix validation message (#81)
bunsy-0900 Jan 9, 2024
170448f
Add term and condition content (#86)
rathanak-0080 Jan 9, 2024
ccde052
[ES-624] Fixed the issue of updated language in login screen is not r…
gk-4VII Jan 9, 2024
4122d34
fix: add custom waiting duration (#88)
bunsy-0900 Jan 11, 2024
dca30b4
fix: show invalid transaction as a popup when resending otp (#89)
bunsy-0900 Jan 12, 2024
8e9f524
fix: disallow leading and trailing whitespaces when filling the full …
bunsy-0900 Jan 12, 2024
cf4fc2a
ES-664: password mask/unmask icon is overlapped in specific browser v…
bunsy-0900 Jan 12, 2024
df3491a
ES-658: Fix issue where the back arrow in the signup card overlaps wi…
lengheang-0116 Jan 15, 2024
5fdb188
UI not match to user story (#92)
rathanak-0080 Jan 15, 2024
9b775a6
Fix conflict README
Jan 15, 2024
125e16c
Merge pull request #7 from DGTDept/add_signoff_on_commit
ase-101 Jan 15, 2024
fcd0923
ES-498
ase-101 Jan 15, 2024
df243f8
ES-498
ase-101 Jan 15, 2024
8b00734
Merge pull request #8 from ase-101/ES-498
ase-101 Jan 15, 2024
3caa7d2
fix: add missing imports
bunsy-0900 Jan 16, 2024
8e28fcc
Merge pull request #9 from bunsy-0900/bug/ES-676
ase-101 Jan 16, 2024
b081f21
fix: add missing imports
bunsy-0900 Jan 16, 2024
a0e118f
fix: fix overflow popup content
bunsy-0900 Jan 15, 2024
ba4dee7
fix: resize info icon on small screen
bunsy-0900 Jan 16, 2024
5ec0092
fix: fix truncated icons
bunsy-0900 Jan 17, 2024
a92e352
fix: add margin to icon label
bunsy-0900 Jan 17, 2024
6f00446
fix: add default width and height to label icon
bunsy-0900 Jan 17, 2024
894f63b
fix: replace info icon svg with png
bunsy-0900 Jan 17, 2024
fb791b4
ES-674 fix password regex that does not match user story
panharith-0118 Jan 17, 2024
fba6719
add registration service test
mengleang-ngoun Jan 16, 2024
116647a
add registration service test
mengleang-0090 Jan 16, 2024
5704d51
add registration service test
mengleang-0090 Jan 16, 2024
1cad3d2
add GoogleRecaptchaValidatorServiceTest
mengleang-0090 Jan 16, 2024
2b88d0a
add ChallengeManagerServiceTest
mengleang-0090 Jan 16, 2024
032d243
add RegistrationControllerTest
mengleang-0090 Jan 16, 2024
a7a6ec7
add serive and test case file
mengleang-0090 Jan 16, 2024
082609f
add end line
mengleang-0090 Jan 16, 2024
ef41c8e
remove test case function name
mengleang-0090 Jan 18, 2024
b7d5e87
fix: rename label popover to icon label popover for more specific name
bunsy-0900 Jan 18, 2024
59137ed
Merge pull request #12 from bunsy-0900/bug/ES-659-v2
ase-101 Jan 19, 2024
7deb8f3
fix: confirm users before they reload the page
bunsyy Jan 19, 2024
b8f2674
doc: update README.md
bunsyy Jan 19, 2024
63707f7
Account setup screen : The info icon message is not as per the story …
Jan 19, 2024
57c4567
Fix conflict
Jan 19, 2024
4674989
[MOSIP-30473] updated keycloak-init deployment script
syedsalman3753 Jan 19, 2024
b9ee7fb
fix cannot summit OTP at last attemp
mengleang-0090 Jan 22, 2024
a8a5956
Merge pull request #13 from panharith-0118/ES-674
ase-101 Jan 22, 2024
065e6e1
Merge pull request #20 from syedsalman3753/ES-498
ckm007 Jan 22, 2024
4e82503
doc: update README.md
bunsyy Jan 22, 2024
f1ff566
rename test case
mengleang-0090 Jan 22, 2024
9712df7
update logic at block attempt
mengleang-0090 Jan 22, 2024
fb89d1e
ES-692 Write technical document for signup service
panharith-0118 Jan 17, 2024
0faa90a
Merge pull request #14 from panharith-0118/ES-692
ase-101 Jan 22, 2024
b1a53ce
update logic at block attempt
mengleang-0090 Jan 22, 2024
7113257
rename test case
mengleang-0090 Jan 22, 2024
adeb1b2
rename test case
mengleang-0090 Jan 22, 2024
a475888
rename test case
mengleang-0090 Jan 22, 2024
ed2f72e
ES-668 fix term and privacy header modal missing
lengheang-0116 Jan 22, 2024
871e695
Merge pull request #10 from mengleang-0090/ES-523-improve-test-coverage
ase-101 Jan 22, 2024
01e4feb
fix: change validation msg for all spaces input
bunsyy Jan 22, 2024
f580f13
Merge pull request #21 from mengleang-0090/ES-670
ase-101 Jan 22, 2024
2cc7795
Merge pull request #18 from bunsy-0900/bug/ES-693
ase-101 Jan 22, 2024
1d6182e
Merge pull request #22 from lengheang-0116/ES-668
aranaravi Jan 22, 2024
22c6bca
Merge pull request #19 from rathanak-0080/ES-695
aranaravi Jan 22, 2024
b63bb8e
Merge pull request #17 from bunsy-0900/bug/ES-396
aranaravi Jan 22, 2024
872bd5f
ES-628
ase-101 Jan 22, 2024
1cfbcdc
ES-647
ase-101 Jan 22, 2024
ad1e392
Updated postman collection
ase-101 Jan 22, 2024
3d3a8eb
fix: fix confirm password validation message
bunsyy Jan 23, 2024
8a6052b
Merge branch 'ES-498' of github-ditr:bunsy-0900/esignet-signup into b…
bunsyy Jan 23, 2024
0637591
fix: fix confirm password validation message
bunsyy Jan 23, 2024
5017e30
Merge pull request #24 from ase-101/ES-498
ase-101 Jan 23, 2024
28ef6d0
Merge pull request #25 from bunsy-0900/bug/ES-694-1
ase-101 Jan 23, 2024
5c54bc1
Merge pull request #26 from bunsy-0900/bug/ES-666-1
ase-101 Jan 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .github/keys/mosipgpgkey_pub.gpg
Binary file not shown.
Binary file added .github/keys/mosipgpgkey_sec.gpg
Binary file not shown.
63 changes: 63 additions & 0 deletions .github/workflows/chart-lint-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Validate / Publish helm charts

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'charts/**'
workflow_dispatch:
inputs:
IGNORE_CHARTS:
description: 'Provide list of charts to be ignored separated by pipe(|)'
required: false
default: ''
type: string
CHART_PUBLISH:
description: 'Chart publishing to gh-pages branch'
required: false
default: 'NO'
type: string
options:
- YES
- NO
INCLUDE_ALL_CHARTS:
description: 'Include all charts for Linting/Publishing (YES/NO)'
required: false
default: 'NO'
type: string
options:
- YES
- NO
push:
branches:
- '!release-branch'
- master
- 1.*
- 0.*
- develop
- MOSIP*
- release*
- ES-*
paths:
- 'charts/**'

jobs:
chart-lint-publish:
uses: mosip/kattu/.github/workflows/chart-lint-publish.yml@master
with:
CHARTS_DIR: ./helm
CHARTS_URL: https://mosip.github.io/mosip-helm
REPOSITORY: mosip-helm
BRANCH: gh-pages
INCLUDE_ALL_CHARTS: "${{ inputs.INCLUDE_ALL_CHARTS || 'NO' }}"
IGNORE_CHARTS: "${{ inputs.IGNORE_CHARTS ||'redis' }}"
CHART_PUBLISH: "${{ inputs.CHART_PUBLISH || 'YES' }}"
LINTING_CHART_SCHEMA_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/chart-schema.yaml"
LINTING_LINTCONF_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/lintconf.yaml"
LINTING_CHART_TESTING_CONFIG_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/chart-testing-config.yaml"
LINTING_HEALTH_CHECK_SCHEMA_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/health-check-schema.yaml"
secrets:
TOKEN: ${{ secrets.ACTION_PAT }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
42 changes: 42 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# # For most projects, this workflow file will not need changing; you simply need
# # to commit it to your repository.
# #
# # You may wish to alter this file to override the set of languages analyzed,
# # or to provide custom queries or build logic.
# #
# # ******** NOTE ********
# # We have attempted to detect the languages in your repository. Please check
# # the `language` matrix defined below to confirm you have the correct set of
# # supported CodeQL languages.
# #
# name: "CodeQL"

# permissions:
# actions: read
# security-events: write
# contents: read

# on:
# release:
# types: [published]
# pull_request:
# types: [opened]
# workflow_dispatch:
# inputs:
# message:
# description: 'Message for manually triggering'
# required: false
# default: 'Triggered for Updates'
# type: string
# push:
# branches:
# - '!release-branch'
# - master
# - 1.*
# - develop
# - MOSIP*
# - release*

# jobs:
# analyze:
# uses: mosip/kattu/.github/workflows/codeql-analysis.yml@master
90 changes: 90 additions & 0 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Maven Package upon a push

on:
release:
types: [published]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
push:
branches:
- '!release-branch'
- master
- 1.*
- develop
- MOSIP*
- release*
- feature*
- ES-*

jobs:
build-maven-signup-service:
uses: mosip/kattu/.github/workflows/maven-build.yml@master
with:
SERVICE_LOCATION: 'signup-service'
BUILD_ARTIFACT: signup-service
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

sonar_analysis:
needs: build-maven-signup-service
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
with:
SERVICE_LOCATION: 'signup-service'
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_KEY: ${{ secrets.ORG_KEY }}
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-dockers:
needs: build-maven-signup-service
strategy:
matrix:
include:
- SERVICE_LOCATION: 'signup-service'
SERVICE_NAME: 'signup-service'
BUILD_ARTIFACT: 'signup-service'
fail-fast: false
name: ${{ matrix.SERVICE_NAME }}
uses: mosip/kattu/.github/workflows/docker-build.yml@master
with:
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }}
SERVICE_NAME: ${{ matrix.SERVICE_NAME }}
BUILD_ARTIFACT: ${{ matrix.BUILD_ARTIFACT }}
secrets:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-dockers-signup-ui:
strategy:
matrix:
include:
- SERVICE_LOCATION: 'signup-ui'
SERVICE_NAME: 'signup-ui'
fail-fast: false
name: ${{ matrix.SERVICE_NAME }}
uses: mosip/kattu/.github/workflows/docker-build.yml@master
with:
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }}
SERVICE_NAME: ${{ matrix.SERVICE_NAME }}
secrets:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
29 changes: 29 additions & 0 deletions .github/workflows/release-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release/pre-release Preparation.

on:
workflow_dispatch:
inputs:
MESSAGE:
description: 'Triggered for release or pe-release'
required: false
default: 'Release Preparation'
RELEASE_TAG:
description: 'tag to update'
required: true
SNAPSHOT_TAG:
description: 'tag to be replaced'
required: true
BASE:
description: 'base branch for PR'
required: true
jobs:
maven-release-preparation:
uses: mosip/kattu/.github/workflows/release-changes.yml@master
with:
MESSAGE: ${{ inputs.MESSAGE }}
RELEASE_TAG: ${{ inputs.RELEASE_TAG }}
SNAPSHOT_TAG: ${{ inputs.SNAPSHOT_TAG }}
BASE: ${{ inputs.BASE }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
ACTION_PAT: ${{ secrets.ACTION_PAT }}
35 changes: 35 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Tagging of repos

on:
workflow_dispatch:
inputs:
TAG:
description: 'Tag to be published'
required: true
type: string
BODY:
description: 'Release body message'
required: true
default: 'Changes in this Release'
type: string
PRE_RELEASE:
description: 'Pre-release? True/False'
required: true
default: False
type: string
DRAFT:
description: 'Draft? True/False'
required: false
default: False
type: string

jobs:
tag-branch:
uses: mosip/kattu/.github/workflows/tag.yml@master
with:
TAG: ${{ inputs.TAG }}
BODY: ${{ inputs.BODY }}
PRE_RELEASE: ${{ inputs.PRE_RELEASE }}
DRAFT: ${{ inputs.DRAFT }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

# other directories
target/
.idea/
*.p12
*.iml
.settings/
.setting/
.mvn/
.project/
helm/*/Chart.lock
helm/*/charts/
signup-service/target
.idea/
62 changes: 61 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,61 @@
# esignet-signup
# esignet-signup

signup-service is part of the esignet modules, but has a separate Helm chart so as to install and manage it in a completely independent namespace.

## Installing in k8s cluster using helm
### Pre-requisites
1. Set the kube config file of the Mosip cluster having dependent services is set correctly in PC.
2. Make sure [DB setup](db_scripts/README.md#install-in-existing-mosip-k8-cluster) is done.
3. Add / merge below mentioned properties files into existing config branch:
* [signup-default.properties](https://github.com/mosip/mosip-config/blob/v1.2.0.1-B3/esignet-default.properties)
* [application-default.properties](https://github.com/mosip/mosip-config/blob/v1.2.0.1-B3/application-default.properties)
4. Below are the dependent services required for signup service integrated with MOSIP IDA:
| Chart | Chart version |
|---|---|
|[Keycloak](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/iam) | 7.1.18 |
|[Keycloak-init](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/iam) | 12.0.1-B3 |
|[Postgres](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/postgres) | 10.16.2 |
|[Postgres Init](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/postgres) | 12.0.1-B3 |
|[Minio](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/object-store) | 10.1.6 |
|[Kafka](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/kafka) | 0.4.2 |
|[Config-server](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/mosip/config-server) | 12.0.1-B3 |
|[Websub](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/mosip/websub) | 12.0.1-B2 |
|[Artifactory server](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/mosip/artifactory) | 12.0.1-B3 |
|[Keymanager service](https://github.com/mosip/mosip-infra/blob/v1.2.0.1-B3/deployment/v3/mosip/keymanager) | 12.0.1-B2 |
|[Kernel services](https://github.com/mosip/mosip-infra/blob/v1.2.0.1-B3/deployment/v3/mosip/kernel) | 12.0.1-B2 |
|[Biosdk service](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/mosip/biosdk) | 12.0.1-B3 |
|[Idrepo services](https://github.com/mosip/mosip-infra/blob/v1.2.0.1-B3/deployment/v3/mosip/idrepo) | 12.0.1-B2 |
|[Pms services](https://github.com/mosip/mosip-infra/blob/v1.2.0.1-B3/deployment/v3/mosip/pms) | 12.0.1-B3 |
|[IDA services](https://github.com/mosip/mosip-infra/blob/v1.2.0.1-B3/deployment/v3/mosip/ida) | 12.0.1-B3 |

### Install
* Install `kubectl` and `helm` utilities.
* Run `install-all.sh` to deploy signup services.
```
cd helm
./install-all.sh
```
* During the execution of the `install-all.sh` script, a prompt appears requesting information regarding the presence of a public domain and a valid SSL certificate on the server.
* If the server lacks a public domain and a valid SSL certificate, it is advisable to select the `n` option. Opting it will enable the `init-container` with an `emptyDir` volume and include it in the deployment process.
* The init-container will proceed to download the server's self-signed SSL certificate and mount it to the specified location within the container's Java keystore (i.e., `cacerts`) file.
* This particular functionality caters to scenarios where the script needs to be employed on a server utilizing self-signed SSL certificates.

### Delete
* Run `delete-all.sh` to remove signup services.
```
cd helm
./delete-all.sh
```

### Restart
* Run `restart-all.sh` to restart signup services.
```
cd helm
./restart-all.sh
```

## APIs
API documentation is available [here](https://mosip.stoplight.io/docs/identity-provider/branches/signupV1/t9tvfbteqqokf-e-signet-signup-portal-ap-is).

## License
This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).
Loading
Loading