-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from NHSDigital/release/2024-07-08
Release/2024-07-08
- Loading branch information
Showing
19 changed files
with
355 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024.07.05 | ||
2024.07.08 |
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,2 @@ | ||
- [PI-451] Improves ETL logging, may fix [PI-450] by allowing ldif deletions by replacing with empty value | ||
- [PI-437] Sonarcloud improvements |
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
1 change: 1 addition & 0 deletions
1
...log/changelog_components/modify/accredited_system/replace/nhs_product_name.WithEmpty.ldif
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 @@ | ||
replace: nhsProductName |
20 changes: 20 additions & 0 deletions
20
...ccredited_system/replacing_optional_field_with_empty_field_sets_field_to_null/__init__.py
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,20 @@ | ||
from etl.sds.tests.changelog.utils import ( | ||
ADD_ACCREDITED_SYSTEM, | ||
_Scenario, | ||
create_modify_ldif, | ||
) | ||
|
||
_ADD_NHS_AS_CLIENT = create_modify_ldif( | ||
"add/nhs_as_client.ldif", device_type="accredited_system" | ||
) | ||
_REPLACE_NHS_PRODUCT_NAME = create_modify_ldif( | ||
"replace/nhs_product_name.WithEmpty.ldif", device_type="accredited_system" | ||
) | ||
SCENARIO = _Scenario( | ||
file_path=__file__, | ||
extract_input=[ | ||
ADD_ACCREDITED_SYSTEM, | ||
_ADD_NHS_AS_CLIENT, | ||
_REPLACE_NHS_PRODUCT_NAME, | ||
], | ||
) |
35 changes: 35 additions & 0 deletions
35
...d_system/replacing_optional_field_with_empty_field_sets_field_to_null/extract_output.json
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,35 @@ | ||
[ | ||
{ | ||
"change_type": "add", | ||
"description": null, | ||
"nhs_approver_urp": "uniqueIdentifier=102583034545,uniqueIdentifier=352307522545,uid=432776896545,ou=People,o=nhs", | ||
"nhs_as_acf": null, | ||
"nhs_as_category_bag": null, | ||
"nhs_as_client": ["K83015"], | ||
"nhs_as_svc_ia": ["urn:nhs:names:services:pdsquery:QUQI_IN010000UK14"], | ||
"nhs_date_approved": "20091016133823", | ||
"nhs_date_requested": "20091016133757", | ||
"nhs_id_code": "K83015", | ||
"nhs_mhs_manufacturer_org": null, | ||
"nhs_mhs_party_key": "K83015-806782", | ||
"nhs_product_key": "6216", | ||
"nhs_product_name": "TPP SystmOne", | ||
"nhs_product_version": null, | ||
"nhs_requestor_urp": "uniqueIdentifier=203171972540,uniqueIdentifier=352307522545,uid=432776896545,ou=People,o=nhs", | ||
"nhs_temp_uid": "10312", | ||
"object_class": "nhsAS", | ||
"unique_identifier": "000173655515" | ||
}, | ||
{ | ||
"object_class": "modify", | ||
"change_type": "modify", | ||
"modifications": [["add", "nhsasclient", ["AAA"]]], | ||
"unique_identifier": "000173655515" | ||
}, | ||
{ | ||
"object_class": "modify", | ||
"change_type": "modify", | ||
"modifications": [["replace", "nhsproductname", []]], | ||
"unique_identifier": "000173655515" | ||
} | ||
] |
96 changes: 96 additions & 0 deletions
96
...ited_system/replacing_optional_field_with_empty_field_sets_field_to_null/load_output.json
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,96 @@ | ||
[ | ||
{ | ||
"keys": { | ||
"K83015:000173655515": { | ||
"key": "K83015:000173655515", | ||
"type": "accredited_system_id" | ||
} | ||
}, | ||
"name": "TPP SystmOne", | ||
"ods_code": "K83015", | ||
"product_team_id": "12345678-1234-5678-1234-567812345678", | ||
"questionnaire_responses": { | ||
"spine_device/1": [ | ||
{ | ||
"responses": [ | ||
{ "object_class": ["nhsAS"] }, | ||
{ "unique_identifier": ["000173655515"] }, | ||
{ | ||
"nhs_approver_urp": [ | ||
"uniqueIdentifier=102583034545,uniqueIdentifier=352307522545,uid=432776896545,ou=People,o=nhs" | ||
] | ||
}, | ||
|
||
{ "nhs_date_approved": ["20091016133823"] }, | ||
{ | ||
"nhs_requestor_urp": [ | ||
"uniqueIdentifier=203171972540,uniqueIdentifier=352307522545,uid=432776896545,ou=People,o=nhs" | ||
] | ||
}, | ||
|
||
{ "nhs_date_requested": ["20091016133757"] }, | ||
{ "nhs_id_code": ["K83015"] }, | ||
{ "nhs_mhs_party_key": ["K83015-806782"] }, | ||
{ "nhs_product_key": ["6216"] }, | ||
{ "nhs_as_client": ["K83015"] }, | ||
{ | ||
"nhs_as_svc_ia": [ | ||
"urn:nhs:names:services:pdsquery:QUQI_IN010000UK14" | ||
] | ||
}, | ||
{ "nhs_temp_uid": ["10312"] } | ||
] | ||
} | ||
] | ||
}, | ||
"status": "active", | ||
"type": "product" | ||
}, | ||
{ | ||
"keys": { | ||
"AAA:000173655515": { | ||
"key": "AAA:000173655515", | ||
"type": "accredited_system_id" | ||
} | ||
}, | ||
"name": "TPP SystmOne", | ||
"ods_code": "AAA", | ||
"product_team_id": "12345678-1234-5678-1234-567812345678", | ||
"questionnaire_responses": { | ||
"spine_device/1": [ | ||
{ | ||
"responses": [ | ||
{ "object_class": ["nhsAS"] }, | ||
{ "unique_identifier": ["000173655515"] }, | ||
{ | ||
"nhs_approver_urp": [ | ||
"uniqueIdentifier=102583034545,uniqueIdentifier=352307522545,uid=432776896545,ou=People,o=nhs" | ||
] | ||
}, | ||
|
||
{ "nhs_date_approved": ["20091016133823"] }, | ||
{ | ||
"nhs_requestor_urp": [ | ||
"uniqueIdentifier=203171972540,uniqueIdentifier=352307522545,uid=432776896545,ou=People,o=nhs" | ||
] | ||
}, | ||
|
||
{ "nhs_date_requested": ["20091016133757"] }, | ||
{ "nhs_id_code": ["K83015"] }, | ||
{ "nhs_mhs_party_key": ["K83015-806782"] }, | ||
{ "nhs_product_key": ["6216"] }, | ||
{ "nhs_as_client": ["AAA"] }, | ||
{ | ||
"nhs_as_svc_ia": [ | ||
"urn:nhs:names:services:pdsquery:QUQI_IN010000UK14" | ||
] | ||
}, | ||
{ "nhs_temp_uid": ["10312"] } | ||
] | ||
} | ||
] | ||
}, | ||
"status": "active", | ||
"type": "product" | ||
} | ||
] |
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
Oops, something went wrong.