forked from mosip/esignet-signup
-
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.
* ES-430 Signed-off-by: ase-101 <[email protected]> * ES-430 Signed-off-by: ase-101 <[email protected]> * Updated template messages --------- Signed-off-by: ase-101 <[email protected]> Signed-off-by: Sreang Rathanak <[email protected]>
- Loading branch information
Showing
9 changed files
with
112 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
|
||
@Data | ||
public class RegistrationStatusResponse { | ||
|
||
private RegistrationStatus status; | ||
} |
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
9 changes: 8 additions & 1 deletion
9
signup-service/src/main/java/io/mosip/signup/util/RegistrationStatus.java
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,14 @@ | ||
package io.mosip.signup.util; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
public enum RegistrationStatus { | ||
PENDING, | ||
COMPLETED, | ||
FAILED | ||
FAILED; | ||
|
||
public static List<RegistrationStatus> getEndStatuses() { | ||
return Arrays.asList(RegistrationStatus.COMPLETED, RegistrationStatus.FAILED); | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
signup-service/src/main/java/io/mosip/signup/util/SignUpConstants.java
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,12 +1,16 @@ | ||
package io.mosip.signup.util; | ||
|
||
public class SignUpConstants { | ||
|
||
public static final String CHALLENGE_GENERATED = "challenge_generated"; | ||
public static final String CHALLENGE_VERIFIED = "challenge_verified"; | ||
public static final String REGISTERED_CACHE = "registered"; | ||
public static final String TRANSACTION_ID = "TRANSACTION_ID"; | ||
public static final String VERIFIED_TRANSACTION_ID = "VERIFIED_TRANSACTION_ID"; | ||
public static final String CONSENT_DISAGREE = "DISAGREE"; | ||
public static final String EMTPY = ""; | ||
public static final String SEND_OTP_SMS_NOTIFICATION_TEMPLATE_KEY = "mosip.signup.sms-notification-template.send-otp"; | ||
public static final String REGISTRATION_SMS_NOTIFICATION_TEMPLATE_KEY = "mosip.signup.sms-notification-template.registration"; | ||
|
||
|
||
} |
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