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

Object store and packet writer implementation #13

Closed
wants to merge 23 commits into from

Conversation

anshulv1401
Copy link
Contributor

@anshulv1401 anshulv1401 commented Jan 18, 2022

#2 Port 'Packet Manager' and 'KeyManager' service to new repo
Added PosixImplementation :

  1. Packets are stored in the location provided in config.properties key "objectstore.base.location".
  2. Only supports external storage.
    Added PackerWriterImplementation.
  3. Currently support added to demographic and document dataset.

Pending things

  1. Key manager integration for sign and encrypt.
  2. Biometric XML serialization.

//@Data
//@NoArgsConstructor
//@AllArgsConstructor
public class QualityType implements Serializable {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the classes related to BIR should be part of packetmanager


//@XmlType(name = "PurposeType")
//@XmlEnum
public enum PurposeType implements Serializable {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the classes related to BIR should be part of packetmanager


//@XmlType(name = "ProcessedLevelType")
//@XmlEnum
public enum ProcessedLevelType implements Serializable {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the classes related to BIR should be part of packetmanager

@@ -0,0 +1,117 @@
package io.mosip.registration.clientmanager.contant;

public class PacketManagerConstants {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the packetManagerConstants added in clientmanager ?


//@XmlType(name = "SingleTypeType")
//@XmlEnum
public enum BiometricType implements Serializable {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the classes related to BIR should be part of packetmanager

@@ -28,6 +28,17 @@ android {
}

dependencies {
implementation 'com.google.dagger:dagger:2.38.1'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dagger, lombok are already added, please remove duplicates

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CryptoRequestDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CryptoResponseDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@AllArgsConstructor
@NoArgsConstructor
public class PublicKeyRequestDto {
@NotBlank(message = "Invalid Request")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PublicKeyResponseDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SignRequestDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SignResponseDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SignVerifyRequestDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SignVerifyResponseDto {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DTO is already present in keymanager

@anshulv1401 anshulv1401 changed the title Object store and packet writer implementation #2 Object store and packet writer implementation Mar 11, 2022
@anshulv1401 anshulv1401 changed the title #2 Object store and packet writer implementation Object store and packet writer implementation Mar 11, 2022
@ase-101
Copy link
Collaborator

ase-101 commented Mar 11, 2022

Different PR is raised for the same code changes.

@ase-101 ase-101 closed this Mar 11, 2022
@anshulv1401 anshulv1401 deleted the develop branch May 27, 2022 06:02
@anshulv1401 anshulv1401 restored the develop branch May 27, 2022 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants