Skip to content

Commit

Permalink
MOSIP-29702
Browse files Browse the repository at this point in the history
Signed-off-by: Pankaj Godiyal <[email protected]>
  • Loading branch information
pg-techno123 committed Oct 27, 2023
1 parent 98f162f commit 246d4ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,8 @@ public String uploadPacket(String path, String contextKey) throws Exception {

// To do -- Need to review these two below tags once the conclusion happens what
// tags will be set on the packet
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Finger",
"--TAG_VALUE_NOT_AVAILABLE--");
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Face",
"--TAG_VALUE_NOT_AVAILABLE--");
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Finger", "MOSIP-FINGER01-2345678901");
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Face", "MOSIP-FACE01-2345678901");

logger.debug("Tags set while generating the packet: "
+ VariableManager.getVariableValue(contextKey, "META_INFO-OPERATIONS_DATA-supervisorId")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ String generateMetaDataJson(ResidentModel resident, String preRegistrationId, St
}
}
identity.put(DOCUMENTS, docArray);
identity.put("capturedRegisteredDevices", new JSONArray());
identity.put("capturedRegisteredDevices", templateIdentity.getJSONArray("capturedRegisteredDevices"));

identity.put("creationDate", CommonUtil.getUTCDateTime(null));
identity = constructBioException(resident, identity, contextSchemaDetail.getSchema());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ public static String uploadPackets( List<String> packetPaths,String contextKey)
VariableManager.setVariableValue(contextKey, "SUPERVISOR_APPROVAL_STATUS", "APPROVED");

// Need to review these two below tags once the conclusion happens what tags will be set on the packet
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Finger", "--TAG_VALUE_NOT_AVAILABLE--");
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Face", "--TAG_VALUE_NOT_AVAILABLE--");
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Finger", "MOSIP-FINGER01-2345678901");
VariableManager.setVariableValue(contextKey, "META_INFO-CAPTURED_REGISTERED_DEVICES-Face", "MOSIP-FACE01-2345678901");

logger.debug("Tags set while generating the packet: "
+ VariableManager.getVariableValue(contextKey, "META_INFO-OPERATIONS_DATA-supervisorId")
Expand Down

0 comments on commit 246d4ca

Please sign in to comment.