-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/mosip/inji-verify into i…
…njiver-846-ovp-pending-tasks Signed-off-by: srikanth716 <[email protected]>
- Loading branch information
Showing
14 changed files
with
53 additions
and
41 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
27 changes: 7 additions & 20 deletions
27
...rc/main/java/io/inji/verify/dto/authorizationrequest/AuthorizationRequestResponseDto.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,26 +1,13 @@ | ||
package io.inji.verify.dto.authorizationrequest; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import io.inji.verify.dto.presentation.VPDefinitionResponseDto; | ||
import io.inji.verify.models.PresentationDefinition; | ||
import io.inji.verify.shared.Constants; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import org.springframework.cache.annotation.Cacheable; | ||
|
||
import java.time.Instant; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@Cacheable | ||
public class AuthorizationRequestResponseDto { | ||
|
||
private final String responseType = Constants.RESPONSE_TYPE; | ||
private final String responseUri = Constants.RESPONSE_SUBMISSION_URI_ROOT+Constants.RESPONSE_SUBMISSION_URI; | ||
private final long issuedAt = Instant.now().toEpochMilli(); | ||
private final String clientId; | ||
private final String presentationDefinitionUri; | ||
private final VPDefinitionResponseDto presentationDefinition; | ||
private final String nonce; | ||
} | ||
@Getter | ||
public class VPRequestResponseDto { | ||
String transactionId; | ||
String requestId; | ||
AuthorizationRequestResponseDto authorizationDetails; | ||
long expiresAt; | ||
} |
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
5 changes: 4 additions & 1 deletion
5
verify-service/src/main/java/io/inji/verify/dto/presentation/ConstraintsDTO.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
6 changes: 4 additions & 2 deletions
6
verify-service/src/main/java/io/inji/verify/dto/presentation/InputDescriptorDto.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
3 changes: 2 additions & 1 deletion
3
verify-service/src/main/java/io/inji/verify/dto/presentation/SubmissionRequirementDto.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
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
5 changes: 3 additions & 2 deletions
5
...src/main/java/io/inji/verify/repository/AuthorizationRequestCreateResponseRepository.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
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: 4 additions & 3 deletions
7
verify-service/src/main/java/io/inji/verify/services/VPDefinitionServiceImpl.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
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