Skip to content

Commit 3807427

Browse files
committed
Remove unused OVERRIDE_TO/FROM_ASID variables
These aren't used for anything, so remove them as options to be set.
1 parent aa2e456 commit 3807427

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

service/src/intTest/resources/application.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ gp2gp:
5252
patientEndpoint: ${GP2GP_GPC_DOCUMENTS_FHIR_BASE:/documents/fhir}/Patient
5353
patientDocumentReferenceEndpoint: ${GP2GP_GPC_DOCUMENTS_FHIR_BASE:/documents/fhir}/Patient
5454
overrideNhsNumber: ${GP2GP_GPC_OVERRIDE_NHS_NUMBER:}
55-
overrideFromAsid: ${GP2GP_GPC_OVERRIDE_FROM_ASID:}
56-
overrideToAsid: ${GP2GP_GPC_OVERRIDE_TO_ASID:}
5755
maxRequestSize: ${GP2GP_GPC_MAX_REQUEST_SIZE:150000000} # default 150MB
5856
requestingPractitionerSDSUserId: ${GP2GP_REQUESTING_PRACTITIONER_SDS_USER_ID:UNK}
5957
requestingPractitionerSDSRoleProfileId: ${GP2GP_REQUESTING_PRACTITIONER_SDS_ROLE_PROFILE_ID:UNK}

service/src/main/java/uk/nhs/adaptors/gp2gp/gpc/builder/GpcRequestBuilder.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@
4343
@Slf4j
4444
public class GpcRequestBuilder {
4545

46-
@Value("${gp2gp.gpc.overrideFromAsid}")
47-
private String overrideFromAsid;
48-
@Value("${gp2gp.gpc.overrideToAsid}")
49-
private String overrideToAsid;
50-
5146
private static final String NHS_NUMBER_SYSTEM = "https://fhir.nhs.uk/Id/nhs-number";
5247
private static final String FHIR_CONTENT_TYPE = "application/fhir+json";
5348
private static final String SSP_INTERACTION_ID = "Ssp-InteractionID";

service/src/main/resources/application.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ gp2gp:
4545
url: ${GP2GP_GPC_GET_URL:http://localhost:8090/@ODS_CODE@/STU3/1/gpconnect}
4646
migrateStructuredEndpoint: ${GP2GP_GPC_STRUCTURED_FHIR_BASE:/fhir}/Patient/$gpc.migratestructuredrecord
4747
overrideNhsNumber: ${GP2GP_GPC_OVERRIDE_NHS_NUMBER:}
48-
overrideFromAsid: ${GP2GP_GPC_OVERRIDE_FROM_ASID:}
49-
overrideToAsid: ${GP2GP_GPC_OVERRIDE_TO_ASID:}
5048
maxRequestSize: ${GP2GP_GPC_MAX_REQUEST_SIZE:150000000} # default 150MB
5149
requestingPractitionerSDSUserId: ${GP2GP_REQUESTING_PRACTITIONER_SDS_USER_ID:UNK}
5250
requestingPractitionerSDSRoleProfileId: ${GP2GP_REQUESTING_PRACTITIONER_SDS_ROLE_PROFILE_ID:UNK}

0 commit comments

Comments
 (0)