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

MOSIP-28207,MOSIP-28446:Changed master data file name and contents from Blacklist… #869

Open
wants to merge 57 commits into
base: release-1.2.0.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
ad8f49c
MOSIP-28207:Changed master data file name and contents from Blacklist…
yashmsonkusare Jul 4, 2023
0304f33
Changed the delimiter in csv file for release 1201
yashmsonkusare Aug 24, 2023
9b34b49
Update the .csv file
yashmsonkusare Aug 24, 2023
31aae9e
Update and rename BlacklistedWord.csv to BlocklistedWord.csv
yashmsonkusare Jan 5, 2024
68dc47d
Mosip 23833 (#857)
ckm007 May 15, 2023
c5d01f9
[MOSIP-27353]Update 1.1.5.5_to_1.2.0.1-B1_rollback.sql
balaji-alluru Jun 8, 2023
13eef78
[MOSIP-27964] updated upgrade sql's
ckm007 Jun 13, 2023
07a3835
[MOSIP-27964]
ckm007 Jun 13, 2023
4c54066
[MOSIP-27982] Update 1.1.5.5_to_1.2.0.1-B1_upgrade.sql
balaji-alluru Jun 19, 2023
7d60eec
Update 1.1.5.5_to_1.2.0.1-B1_upgrade.sql
balaji-alluru Jun 19, 2023
6f82cc1
Update 1.1.5.5_to_1.2.0.1-B1_rollback.sql
balaji-alluru Jun 19, 2023
1d2c244
Update README.md
balaji-alluru Jun 19, 2023
4c41b3b
Added migr_bkp tables
ase-101 Jun 21, 2023
7d63148
Added migr_bkp table for ca_cert_store
ase-101 Jun 21, 2023
c14292a
Update 1.1.5.5_to_1.2.0.1-B1_rollback.sql
balaji-alluru Jun 21, 2023
8c15c7b
MOSIP-27982 : duplicate index creation removed (#866)
vishwa-vyom Jun 23, 2023
063ab8e
MOSIP-28008: Added support in clientsettings sync for 1.1.4 regclient
Jun 19, 2023
45bc3b0
Modified properties
Jun 23, 2023
a0dce0e
MOSIP-28008: Added deprecated annotations and device details
Jun 23, 2023
761fd5b
Update application-dev.properties
HimajaDhanyamraju2 Jun 23, 2023
6825ab7
Update application-dev.properties
HimajaDhanyamraju2 Jun 23, 2023
e049a54
Corrected the names
Jun 22, 2023
b0ecd3c
MOSIP-28110
Jun 22, 2023
ad985a7
renaming primary key constraint in migration script
Jun 22, 2023
4aaa37f
MOSIP-28213
Jun 30, 2023
01dab18
MOSIP-28192
Jul 1, 2023
4dd58a2
Updated as per review comments
Jul 5, 2023
7b7ff33
MOSIP-28285
Jul 6, 2023
5538874
MOSIP-28229
Jul 13, 2023
16f1960
MOSIP-28229
Jul 13, 2023
7881956
MOSIP-27529
Jul 13, 2023
8a777e5
MOSIP-27529
Jul 13, 2023
8ceb6cf
MOSIP-27529: Modified query
Jul 13, 2023
b810de8
Update pom.xml
balaji-alluru Jul 13, 2023
3622ac8
Update ApiExceptionHandler.java
balaji-alluru Jul 13, 2023
a317d37
Updated import
Jul 13, 2023
07397d0
Fixed test case failure MOSIP-27529
Jul 14, 2023
4e76c20
MOSIP-28461 MOSIP-28369
Jul 14, 2023
ee35fe1
Fixed test cases
Jul 14, 2023
bb9afd0
[MOSIP-27996] updated rollback sql
ckm007 Jun 15, 2023
0d2716a
MOSIP-21476 : xlsx and xls file format compatibility for Masterdata b…
balaji-alluru Jul 16, 2023
94b0588
[MOSIP-23518] added db user pwd to upgrade props (#883)
ckm007 Jul 17, 2023
6823cda
[MOSIP-23518] (#884)
ckm007 Jul 17, 2023
68e305a
Corrected the primary key name
Jul 17, 2023
ccb1059
[MOSIP-28484] Added error handling for deploy.sh script (#894)
akilalakshmanan Aug 22, 2023
6dfb7a5
MOSIP-29394
ase-101 Sep 13, 2023
d44573a
MOSIP-29394: Modified upd_dtimes to update to utc zone
Sep 18, 2023
7544c7b
[MOSIP-29162] Added Reusable Workflow to 1201 branch (#900)
VSIVAKALYAN Sep 21, 2023
cb96d5e
[MOSIP-29162] Added Secrets to release 1201 branch. (#903)
VSIVAKALYAN Sep 24, 2023
07bcaab
[MOSIP-29726]Update LocationExtnDto.java (#907)
balaji-alluru Oct 12, 2023
dd83255
[MOSIP-29918] added db-test.yml (#912) (#914)
Rakshithb1 Nov 24, 2023
4b5fc43
[MOSIP-29961] Updated push-trigger.yml (#923)
Rakshithb1 Dec 13, 2023
edf62c8
[DSD-3932] removed release-changes.yml, tag.yml and updated push-trig…
Prafulrakhade Dec 20, 2023
fbe8952
Release changes (#927)
ckm007 Dec 20, 2023
80c78e0
[MOSIP-31202] updated sql file names (#931)
Prafulrakhade Jan 17, 2024
9f0331d
[MOSIP-29094]Updated sql queries with case insensitive search (#920)
balaji-alluru Jan 21, 2024
10c23c5
Merge branch 'release-1.2.0.1' into release-1.2.0.1
yashmsonkusare Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions admin/admin-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,26 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down Expand Up @@ -139,6 +159,12 @@
</exclusions>
</dependency>

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>

<dependency>
<groupId>io.mosip.commons</groupId>
<artifactId>commons-packet-manager</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

import io.mosip.commons.packet.impl.OnlinePacketCryptoServiceImpl;
import io.mosip.commons.packet.keeper.PacketKeeper;

import javax.validation.Validator;

import org.mockito.Mockito;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.web.client.RestTemplate;
Expand Down Expand Up @@ -36,4 +40,8 @@ public PacketKeeper packetKeeper() {
return Mockito.mock(PacketKeeper.class);
}

@Bean
public Validator validator() {
return Mockito.mock(Validator.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public ResponseWrapper<PageResponseDto<UserCenterMappingExtnDto>> serachUserCent
auditUtil.auditRequest(MasterDataConstant.SEARCH_USER_DETAILS_API_IS_CALLED + SearchDto.class.getCanonicalName(),
MasterDataConstant.AUDIT_SYSTEM,
MasterDataConstant.SEARCH_USER_DETAILS_API_IS_CALLED + SearchDto.class.getCanonicalName(),"ADM-922");
responseWrapper.setResponse(userDetailsService.serachUserCenterMappingDetails(dto.getRequest()));
responseWrapper.setResponse(userDetailsService.searchUserCenterMappingDetails(dto.getRequest()));
return responseWrapper;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,10 @@ public class UserDetailsDto {


private String langCode;


public String getId() {
return this.id.toLowerCase();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@ public class ZoneUser extends BaseEntity implements Serializable {

@Column(name = "lang_code", nullable = true, length = 3)
private String langCode;

public String getUserId() {
return this.userId.toLowerCase();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public interface UserDetailsHistoryRepository extends BaseRepository<UserDetails
*/
// select a.id,a.langCode,a.name,a.uin,a.email,a.mobile,a.statusCode
// SELECT m.id,m.langCode,m.name,m.uin,m.email,m.mobile,m.statusCode,m.effDTimes
@Query(value = "select * from (SELECT * FROM master.user_detail_h m WHERE id = ?1 AND eff_dtimes<= ?2 and (is_deleted is null or is_deleted =false) ORDER BY eff_dtimes DESC) a LIMIT 1", nativeQuery = true)
@Query(value = "select * from (SELECT * FROM master.user_detail_h m WHERE LOWER(id) = LOWER(?1) AND eff_dtimes<= ?2 and (is_deleted is null or is_deleted =false) ORDER BY eff_dtimes DESC) a LIMIT 1", nativeQuery = true)
List<UserDetailsHistory> getByUserIdAndTimestamp(String userId, LocalDateTime effDTimes);
// (?2 BETWEEN effDTimes AND CURRENT_TIMESTAMP)

@Query(value = "Select * from master.user_detail_h m where m.regcntr_id = ?1 and m.id = ?2 and m.eff_dtimes <= ?3 and ( m.is_deleted = false or m.is_deleted is null) order by m.eff_dtimes desc ", nativeQuery = true)
@Query(value = "Select * from master.user_detail_h m where m.regcntr_id = ?1 and LOWER(m.id) = LOWER(?2) and m.eff_dtimes <= ?3 and ( m.is_deleted = false or m.is_deleted is null) order by m.eff_dtimes desc ", nativeQuery = true)
List<UserDetailsHistory> findByCntrIdAndUsrIdAndEffectivetimesLessThanEqualAndIsDeletedFalseOrIsDeletedIsNull(
String registrationCenterId, String userId, LocalDateTime lDateAndTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@ public interface UserDetailsRepository extends BaseRepository<UserDetails, Strin
nativeQuery = true)
public List<UserDetails> findByRegIdAndIsDeletedFalseOrIsDeletedIsNull(String centerId, Pageable pageable);

@Query("FROM UserDetails m where m.id = ?1 and (m.isDeleted is null or m.isDeleted = false)")
@Query("FROM UserDetails m where LOWER(m.id) = LOWER(?1) and (m.isDeleted is null or m.isDeleted = false)")
UserDetails findByIdAndIsDeletedFalseorIsDeletedIsNull(String id);

@Query("FROM UserDetails m where m.id = ?1")
@Query("FROM UserDetails m where LOWER(m.id) = LOWER(?1)")
UserDetails findUserDetailsById(String id);

@Query("FROM UserDetails m where (m.isDeleted is null or m.isDeleted = false)")
List<UserDetails> findAllByAndIsDeletedFalseorIsDeletedIsNull();

@Query("FROM UserDetails m where m.id = ?1 and (m.isDeleted is null or m.isDeleted = false) and isActive = true")
@Query("FROM UserDetails m where LOWER(m.id) = LOWER(?1) and (m.isDeleted is null or m.isDeleted = false) and isActive = true")
UserDetails findByIdAndIsDeletedFalseorIsDeletedIsNullAndIsActive(String id);

@Query("FROM UserDetails m where (m.isDeleted is null or m.isDeleted = false) and m.isActive = true")
Page<UserDetails> findAllByIsDeletedFalseorIsDeletedIsNull(Pageable pageable);

@Query("FROM UserDetails m where m.id = ?1 and m.langCode = ?2 and (m.isDeleted is null or m.isDeleted = false)")
@Query("FROM UserDetails m where LOWER(m.id) = LOWER(?1) and m.langCode = ?2 and (m.isDeleted is null or m.isDeleted = false)")
UserDetails findByIdAndIsDeletedFalseorIsDeletedIsNull(String id,String langCode);

@Modifying
@Query("UPDATE UserDetails m SET m.updatedBy=?3, m.isDeleted =true, m.isActive = false, m.updatedDateTime=?2 ,m.deletedDateTime = ?2 WHERE m.id =?1 and (m.isDeleted is null or m.isDeleted =false)")
@Query("UPDATE UserDetails m SET m.updatedBy=?3, m.isDeleted =true, m.isActive = false, m.updatedDateTime=?2 ,m.deletedDateTime = ?2 WHERE LOWER(m.id) = LOWER(?1) and (m.isDeleted is null or m.isDeleted =false)")
int deleteUserCenterMapping(String id, LocalDateTime deletedDateTime, String updatedBy);
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import io.mosip.kernel.masterdata.entity.id.ZoneUserHistoryId;
@Repository
public interface ZoneUserHistoryRepository extends BaseRepository<ZoneUserHistory, ZoneUserHistoryId>{
@Query(value = "SELECT * FROM master.zone_user_h m WHERE usr_id = ?1 AND eff_dtimes>= ?2 and (is_deleted is null or is_deleted =false) ORDER BY eff_dtimes DESC ", nativeQuery = true)
@Query(value = "SELECT * FROM master.zone_user_h m WHERE LOWER(usr_id) = LOWER(?1) AND eff_dtimes>= ?2 ORDER BY eff_dtimes DESC ", nativeQuery = true)
List<ZoneUserHistory> getByUserIdAndTimestamp(String userId, LocalDateTime localDateTime);

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,40 @@
*/
public interface ZoneUserRepository extends BaseRepository<ZoneUser, String> {

@Query("FROM ZoneUser zu WHERE zu.userId=?1 and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
public List<ZoneUser> findByUserIdNonDeleted(String userId);

@Query("FROM ZoneUser zu WHERE zu.userId=?1 and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
public ZoneUser findZoneByUserIdNonDeleted(String userId);

@Query("FROM ZoneUser zu WHERE zu.userId=?1 ")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) ")
public ZoneUser findByUserId(String userId);

@Query("FROM ZoneUser zu WHERE zu.userId=?1 and zu.zoneCode=?2 ")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) and zu.zoneCode=?2 ")
public List<ZoneUser> findByUserIdAndZoneCode(String userId, String zoneCode);

@Query("FROM ZoneUser zu WHERE zu.userId=?1 and zu.zoneCode=?2 and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) and zu.zoneCode=?2 and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
public ZoneUser findByIdAndIsDeletedFalseOrIsDeletedIsNull(String userId, String zoneCode);

@Query("FROM ZoneUser zu WHERE zu.zoneCode=?1 and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
public List<ZoneUser> findtoUpdateZoneUserByCode(String zoneCode);

@Query("FROM ZoneUser zu WHERE zu.userId=?1 and zu.langCode=?2 and zu.zoneCode=?3 and (zu.isDeleted IS NULL OR zu.isDeleted = false) and zu.isActive=true")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) and zu.langCode=?2 and zu.zoneCode=?3 and (zu.isDeleted IS NULL OR zu.isDeleted = false) and zu.isActive=true")
public ZoneUser findZoneUserByUserIdZoneCodeLangCodeIsActive(String userId, String langCode, String zoneCode);

@Query("FROM ZoneUser zu WHERE zu.userId IN :userids")
public List<ZoneUser> findByUserIds(@Param("userids") List<String> userIds);

@Query("FROM ZoneUser zu WHERE zu.userId=?1 and zu.isActive=true and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
@Query("FROM ZoneUser zu WHERE LOWER(zu.userId)=LOWER(?1) and zu.isActive=true and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
public ZoneUser findZoneByUserIdActiveAndNonDeleted(String userId);

@Query("FROM ZoneUser zu WHERE LOWER(zu.zoneCode) like (%?1%) and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
/*
* This is a query used by a deprecated end point /users/search, this should be removed in next release.
* The end point using this query was added in version 1.2.0-rc1 and marked as deprecated in version 1.2.0
* For security reason, we replaced the 'LIKE' query with equals in where clause.
*/

@Query("FROM ZoneUser zu WHERE LOWER(zu.zoneCode)=?1 and (zu.isDeleted IS NULL OR zu.isDeleted = false) ")
public List<ZoneUser> findZoneByZoneCodeActiveAndNonDeleted(String zoneCode);

@Modifying
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ public UsersDto getUsers(String roleName,int pageStart, int pageFetch,

public StatusResponseDto updateUserStatus(String id, @Valid boolean isActive);

public PageResponseDto<UserCenterMappingExtnDto> serachUserCenterMappingDetails(SearchDtoWithoutLangCode request);
public PageResponseDto<UserCenterMappingExtnDto> searchUserCenterMappingDetails(SearchDtoWithoutLangCode request);

}
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ public PageResponseDto<UserDetailsExtnDto> searchUserDetails(SearchDtoWithoutLan
}

@Override
public PageResponseDto<UserCenterMappingExtnDto> serachUserCenterMappingDetails(SearchDtoWithoutLangCode searchDto) {
public PageResponseDto<UserCenterMappingExtnDto> searchUserCenterMappingDetails(SearchDtoWithoutLangCode searchDto) {
PageResponseDto<ZoneUserSearchDto> pageDto = new PageResponseDto<>();
PageResponseDto<UserCenterMappingExtnDto> userCenterPageDto = new PageResponseDto<>();
List<UserCenterMappingExtnDto> userCenterMappingExtnDtos = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ public ZoneUserExtnDto createZoneUserMapping(ZoneUserDto zoneUserDto) {

// Throws exception if not found
zoneservice.getZone(zoneUserDto.getZoneCode(), languageUtils.getDefaultLanguage());

zu = zoneUserRepo.save(zu);
ZoneUserHistory zuh = new ZoneUserHistory();
MapperUtils.map(zu, zuh);
Expand Down Expand Up @@ -309,7 +308,7 @@ public StatusResponseDto updateZoneUserMapping(String userId, boolean isActive)
throw new MasterDataServiceException(ZoneUserErrorCode.USER_MAPPING_EXIST.getErrorCode(),
ZoneUserErrorCode.USER_MAPPING_EXIST.getErrorMessage());
}
masterdataCreationUtil.updateMasterDataStatus(ZoneUser.class, userId, isActive, "userId");
masterdataCreationUtil.updateMasterDataStatus(ZoneUser.class, userId.toLowerCase(), isActive, "userId");

ZoneUserHistory zoneUserHistory = new ZoneUserHistory();
MetaDataUtils.setUpdateMetaData(zoneUser, zoneUserHistory, true);
Expand Down
13 changes: 13 additions & 0 deletions db_scripts/mosip_master/dml/master-blocklisted_words.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
word,descr,lang_code,is_active,cr_by,cr_dtimes
shit,Blocklisted Word,eng,TRUE,superadmin,now()
damn,Blocklisted Word,eng,TRUE,superadmin,now()
nigga,Blocklisted Word,eng,TRUE,superadmin,now()
dammit,Blocklisted Word,eng,TRUE,superadmin,now()
الخراء,كلمة القائمة السوداء,ara,TRUE,superadmin,now()
لعنة,كلمة القائمة السوداء,ara,TRUE,superadmin,now()
نيغا,كلمة القائمة السوداء,ara,TRUE,superadmin,now()
اللعنة,كلمة القائمة السوداء,ara,TRUE,superadmin,now()
Merde,Mot sur la liste noire,fra,TRUE,superadmin,now()
Damn,Mot sur la liste noire,fra,TRUE,superadmin,now()
nigga,Mot sur la liste noire,fra,TRUE,superadmin,now()
bon sang,Mot sur la liste noire,fra,TRUE,superadmin,now()
12 changes: 4 additions & 8 deletions resources/bulkupload/cvsFile/BiometricAttribute.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
code,name,description,biometricTypeCode,langCode,isActive
AB,FOOT,Print ofFOOT,FTT,eng,TRUE
TM,الابهام,طباعة الإبهام الأيسر والأيمن,FNR,ara,TRUE
RH,لوح الحق,طباعة من اليمين لوح,FNR,ara,TRUE
LH,لوح اليسار,طباعة بلاطة اليسار,FNR,ara,TRUE
LI,غادر القزحية,طباعة القزحية اليسرى,IRS,ara,TRUE
RI,الحق ايريس,طباعة القزحية اليمنى,IRS,ara,TRUE
TM,Les pouces,Empreinte des pouces gauche et droit,FNR,fra,TRUE
code|name|description|biometricTypeCode|langCode|isActive
AB|FOOT|Print ofFOOT|FTT|eng|TRUE
TM|الابهام|طباعة الإبهام الأيسر والأيمن|FNR|ara|TRUE
RH|لوح الحق|طباعة من اليمين لوح|FNR|ara|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/BiometricType.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
code,name,description,langCode,isActive
FTT,FOOTPRINT,FOOTPRINT,eng,TRUE
code|name|description|langCode|isActive
FTT|FOOTPRINT|FOOTPRINT|eng|TRUE
2 changes: 0 additions & 2 deletions resources/bulkupload/cvsFile/BlacklistedWord.csv

This file was deleted.

2 changes: 2 additions & 0 deletions resources/bulkupload/cvsFile/BlocklistedWord.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
word|description|langCode|isActive
douchebag|slangUpdate|eng|TRUE
8 changes: 4 additions & 4 deletions resources/bulkupload/cvsFile/DaysOfWeek.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
code,name,day_seq,is_global_working,lang_code,is_active
108,ABC,8,TRUE,eng,TRUE
108,الاحد,8,FALSE,ara,TRUE
108,ABC,8,FALSE,fra,TRUE
code|name|day_seq|is_global_working|lang_code|is_active
108|ABC|8|TRUE|eng|TRUE
108|الاحد|8|FALSE|ara|TRUE
108|ABC|8|FALSE|fra|TRUE
8 changes: 4 additions & 4 deletions resources/bulkupload/cvsFile/Device.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,name,macAddress,serialNum,ipAddress,validityDateTime,deviceSpecId,zoneCode,regCenterId,langCode,isActive
3013,DeviceUploadTest,54-BF-64-4C-91-6B,222222,127.0.0.3,2022-11-17T09:50:23.637Z,736,KTA,10001,eng,TRUE
3013,DeviceUploadTest,54-BF-64-4C-91-6B,222222,127.0.0.4,2022-11-17T09:50:23.637Z,736,KTA,10001,ara,TRUE
3013,DeviceUploadTest,54-BF-64-4C-91-6B,222222,127.0.0.5,2022-11-17T09:50:23.637Z,736,KTA,10001,fra,TRUE
id|name|macAddress|serialNum|ipAddress|validityDateTime|deviceSpecId|zoneCode|regCenterId|langCode|isActive
3013|DeviceUploadTest|54-BF-64-4C-91-6B|222222|127.0.0.3|2022-11-17T09:50:23.637Z|736|KTA|10001|eng|TRUE
3013|DeviceUploadTest|54-BF-64-4C-91-6B|222222|127.0.0.4|2022-11-17T09:50:23.637Z|736|KTA|10001|ara|TRUE
3013|DeviceUploadTest|54-BF-64-4C-91-6B|222222|127.0.0.5|2022-11-17T09:50:23.637Z|736|KTA|10001|fra|TRUE
6 changes: 3 additions & 3 deletions resources/bulkupload/cvsFile/DeviceSpecification.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
id,name,brand,model,deviceTypeCode," minDriverversion
",descr,langCode,isActive
323,ewwv,Greenbit,DactyScan84c,FRS,string,To capture eng,eng,TRUE
id|name|brand|model|deviceTypeCode|" minDriverversion
"|descr|langCode|isActive
323|ewwv|Greenbit|DactyScan84c|FRS|string|To capture eng|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/DeviceType.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
code,name,description,langCode,isActive
ABC,ABC,For printing Documents,eng,TRUE
code|name|description|langCode|isActive
ABC|ABC|For printing Documents|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/DynamicField.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,name,description,dataType,valueJson,langCode,isActive
10458,bloodType,BloodType,string,"{"value":"français","code":"fra"}",eng,TRUE
id|name|description|dataType|valueJson|langCode|isActive
10458|bloodType|BloodType|string|"{"value":"français"|"code":"fra"}"|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/Title.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
code,titleName,titleDescription,isActive,langCode
TL2,dfv df,dfvdfv,TRUE,ara
code|titleName|titleDescription|isActive|langCode
TL2|dfv df|dfvdfv|TRUE|ara
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/Userdetails.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,uin,name,email,mobile,statusCode,regCenterId,langCode,lastLoginDateTime,lastLoginMethod,isActive
110122,9317596857,TestUser,[email protected],9220289879,ACT,10001,eng,2020-12-10T06:12:52.994Z,PWD,TRUE
id|uin|name|email|mobile|statusCode|regCenterId|langCode|lastLoginDateTime|lastLoginMethod|isActive
110122|9317596857|TestUser|[email protected]|9220289879|ACT|10001|eng|2020-12-10T06:12:52.994Z|PWD|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/ValidDocuments.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
docTypeCode,docCategoryCode,langCode,isActive
DOE,EOD,ara,TRUE
docTypeCode|docCategoryCode|langCode|isActive
DOE|EOD|ara|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/Zone.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
code,name,hierarchyLevel,hierarchyName,hierarchyPath,parentZoneCode,langCode,isActive
TST,Test,4,Test,MOR/NTH/CST/RBT/TST,RBT,eng,TRUE
code|name|hierarchyLevel|hierarchyName|hierarchyPath|parentZoneCode|langCode|isActive
TST|Test|4|Test|MOR/NTH/CST/RBT/TST|RBT|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/Zone_User.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
zoneCode,userId,langCode,isActive
NTH,343434,eng,TRUE
zoneCode|userId|langCode|isActive
NTH|343434|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/Zone_User_h.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
zoneCode,userId,langCode,isActive
NTH,343434,eng,TRUE
zoneCode|userId|langCode|isActive
NTH|343434|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/appl_form_type.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
code,name,description,langCode,isActive
AAA,Test,Test,eng,TRUE
code|name|description|langCode|isActive
AAA|Test|Test|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/applicant_valid_document.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
applicantTypeCode,docCategoryCode,docTypeCode,langCode,isActive
1,POI,CIN,eng,TRUE
applicantTypeCode|docCategoryCode|docTypeCode|langCode|isActive
1|POI|CIN|eng|TRUE
9 changes: 4 additions & 5 deletions resources/bulkupload/cvsFile/device_master_h.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
id,name,macAddress,serialNum,ipAddress,validity_end_dtimes,deviceSpecId,zone_code,langCode,isActive,effectDateTime
906,DeviceUpload6,54-BF-64-4C-91-6B,222222,127.0.0.3,2022-11-17T09:50:23.637Z,736,KTA,eng,TRUE,2020-12-19T06:44:05.676Z
907,DeviceUpload7,54-BF-64-4C-91-6B,222222,127.0.0.3,2022-11-17T09:50:23.637Z,736,KTA,eng,TRUE,2020-12-19T06:44:05.676Z
908,DeviceUpload8,54-BF-64-4C-91-6B,222222,127.0.0.3,2022-11-17T09:50:23.637Z,736,KTA,eng,TRUE,2020-12-19T06:44:05.676Z
909,DeviceUpload9,54-BF-64-4C-91-6B,222222,127.0.0.3,2022-11-17T09:50:23.637Z,736,KTA,eng,FALSE,2020-12-19T06:44:05.676Z
id|name|macAddress|serialNum|ipAddress|validity_end_dtimes|deviceSpecId|zone_code|langCode|isActive|effectDateTime
906|DeviceUpload6|54-BF-64-4C-91-6B|222222|127.0.0.3|2022-11-17T09:50:23.637Z|736|KTA|eng|TRUE|2020-12-19T06:44:05.676Z
907|DeviceUpload7|54-BF-64-4C-91-6B|222222|127.0.0.3|2022-11-17T09:50:23.637Z|736|KTA|eng|TRUE|2020-12-19T06:44:05.676Z
908|DeviceUpload8|54-BF-64-4C-91-6B|222222|127.0.0.3|2022-11-17T09:50:23.637Z|736|KTA|eng|TRUE|2020-12-19T06:44:05.676Z
8 changes: 4 additions & 4 deletions resources/bulkupload/cvsFile/doc_category.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
code,name,description,langCode,isActive
ABC,ABC,ABC,fra,TRUE
ABC,ABC,ABC,eng,FALSE
ABC,TEST,rverver,eng,FALSE
code|name|description|langCode|isActive
ABC|ABC|ABC|fra|TRUE
ABC|ABC|ABC|eng|FALSE
ABC|TEST|rverver|eng|FALSE
8 changes: 4 additions & 4 deletions resources/bulkupload/cvsFile/doc_type.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
code,name,description,langCode,isActive
TC001,PPP,Preuve didentité,fra,TRUE
TC002,PPP,Proof of Idendity,eng,TRUE
TC003,PPP,إثبات الهوية,ara,TRUE
code|name|description|langCode|isActive
TC001|PPP|Preuve didentité|fra|TRUE
TC002|PPP|Proof of Idendity|eng|TRUE
TC003|PPP|إثبات الهوية|ara|TRUE
8 changes: 4 additions & 4 deletions resources/bulkupload/cvsFile/gender.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
code,genderName,langCode,isActive
MLO,Test,eng,FALSE
AAA,AAA,ara,TRUE
BBB,BBB,eng,TRUE
code|genderName|langCode|isActive
MLO|Test|eng|FALSE
AAA|AAA|ara|TRUE
BBB|BBB|eng|TRUE
4 changes: 2 additions & 2 deletions resources/bulkupload/cvsFile/id_type.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
code,name,descr,langCode,isActive,,
yyy,Unique Identification Number,National ID given to the applicant,eng,FALSE,,
code|name|descr|langCode|isActive||
yyy|Unique Identification Number|National ID given to the applicant|eng|FALSE||
Loading