generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DTSRD-3529. According to the changed requirement. (#431)
* DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. add 2 extra columns in the LOV table * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes based on review comments * DTSRD-3529. changes to add headers check test case fro external reference * DTSRD-3529. changes to add headers check test case fro external reference * DTSRD-3529. changes to add headers check test case fro external reference
- Loading branch information
1 parent
1b56dd8
commit eb0246a
Showing
40 changed files
with
549 additions
and
161 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
bin/functionalTest/sourceFiles/categories/list_of_values_utf8_header.csv
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,6 +1,6 @@ | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active | ||
AdditionalFacilities,,AF-VF,Video Facility,,,,,,,Y | ||
AdditionalFacilities,,AF-SSC,Same Sex Courtroom,,,,,,,Y | ||
AdditionalFacilities,,AF-WR,Witness Room,,,,,,,Y | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active,External_Reference,External_Reference_Type | ||
AdditionalFacilities,,AF-VF,Video Facility,,,,,,,Y,, | ||
AdditionalFacilities,,AF-SSC,Same Sex Courtroom,,,,,,,Y,, | ||
AdditionalFacilities,,AF-WR,Witness Room,,,,,,,Y,, | ||
|
||
|
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
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
8 changes: 8 additions & 0 deletions
8
src/functionalTest/resources/dbmigration/V1_8__alter_List_Of_Values.sql
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
ALTER TABLE List_Of_Values ADD COLUMN external_reference VARCHAR(200); | ||
ALTER TABLE List_Of_Values ADD COLUMN external_reference_type VARCHAR(200); | ||
|
||
ALTER TABLE List_Of_Values | ||
ADD constraint unique_external_reference check | ||
((external_reference_type is null and external_reference is null) | ||
or (external_reference_type is not null and external_reference is not null)) |
8 changes: 4 additions & 4 deletions
8
src/functionalTest/resources/sourceFiles/categories/list_of_values_0_byte_character.csv
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,4 +1,4 @@ | ||
categorykey,serviceid,key,value_en,value_cy,hinttext_en,hinttext_cy,lov_order,parentcategory,parentkey,active | ||
AdditionalFacilities,,AF-VF\u200B,Video Facility,,,,,,,Y | ||
AdditionalFacilities,,AF-SSC,Same Sex Courtroom,,,,,,,Y | ||
AdditionalFacilities,,AF-WR,Witness Room,,,,,,,Y | ||
categorykey,serviceid,key,value_en,value_cy,hinttext_en,hinttext_cy,lov_order,parentcategory,parentkey,active,external_reference,external_reference_type | ||
AdditionalFacilities,,AF-VF\u200B,Video Facility,,,,,,,Y,, | ||
AdditionalFacilities,,AF-SSC,Same Sex Courtroom,,,,,,,Y,, | ||
AdditionalFacilities,,AF-WR,Witness Room,,,,,,,Y,, |
8 changes: 4 additions & 4 deletions
8
src/functionalTest/resources/sourceFiles/categories/list_of_values_delete_success.csv
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,4 +1,4 @@ | ||
categorykey,serviceid,key,value_en,value_cy,hinttext_en,hinttext_cy,lov_order,parentcategory,parentkey,active | ||
AdditionalFacilities,,AF-VF,Video Facility,,,,,,,D | ||
AdditionalFacilities,,AF-SSC,Same Sex Courtroom,,,,,,,D | ||
AdditionalFacilities,,AF-WR,Witness Room,,,,,,,D | ||
categorykey,serviceid,key,value_en,value_cy,hinttext_en,hinttext_cy,lov_order,parentcategory,parentkey,active,external_reference,external_reference_type | ||
AdditionalFacilities,,AF-VF,Video Facility,,,,,,,D,, | ||
AdditionalFacilities,,AF-SSC,Same Sex Courtroom,,,,,,,D,, | ||
AdditionalFacilities,,AF-WR,Witness Room,,,,,,,D,, |
6 changes: 3 additions & 3 deletions
6
src/functionalTest/resources/sourceFiles/categories/list_of_values_duplicate_rec_case1.csv
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,3 +1,3 @@ | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,Y | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario1,,,,,caseType,BBA3-001,Y | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active,external_reference,external_reference_type | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,Y,, | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario1,,,,,caseType,BBA3-001,Y,, |
6 changes: 3 additions & 3 deletions
6
src/functionalTest/resources/sourceFiles/categories/list_of_values_duplicate_rec_case2.csv
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,3 +1,3 @@ | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,D | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario2,,,,,caseType,BBA3-001,Y | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active,External_Reference,External_Reference_Type | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,D,, | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario2,,,,,caseType,BBA3-001,Y,, |
8 changes: 4 additions & 4 deletions
8
src/functionalTest/resources/sourceFiles/categories/list_of_values_duplicate_rec_case3.csv
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,4 +1,4 @@ | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,D | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario3,,,,,caseType,BBA3-001,Y | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario3,,,,,caseType,BBA3-001,N | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active,external_reference,external_reference_type | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,D,, | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario3,,,,,caseType,BBA3-001,Y,, | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario3,,,,,caseType,BBA3-001,N,, |
8 changes: 4 additions & 4 deletions
8
src/functionalTest/resources/sourceFiles/categories/list_of_values_duplicate_rec_case4.csv
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,4 +1,4 @@ | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,D | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario4,,,,,caseType,BBA3-001,Y | ||
caseSubType,BBA4,BBA3-001AD,ADVANCE PAYMENT scenario4,,,,,caseType,BBA3-001,N | ||
CategoryKey,ServiceID,Key,Value_EN,Value_CY,Hinttext_EN,Hinttext_CY,Lov_Order,ParentCategory,ParentKey,Active,external_reference,external_reference_type | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT new,,,,,caseType,BBA3-001,D,, | ||
caseSubType,BBA3,BBA3-001AD,ADVANCE PAYMENT scenario4,,,,,caseType,BBA3-001,Y,, | ||
caseSubType,BBA4,BBA3-001AD,ADVANCE PAYMENT scenario4,,,,,caseType,BBA3-001,N,, |
Oops, something went wrong.