|
|
@ -240,7 +240,7 @@ func (srv *HISServer) enableService(serviceProvider *model.ServiceProvider, serv |
|
|
|
Fetch: &okapi.CallbackConfiguration{ |
|
|
|
Fetch: &okapi.CallbackConfiguration{ |
|
|
|
Protocol: "https://whiteboxsystems.nl/protospecs/whitebox-fetch/http", |
|
|
|
Protocol: "https://whiteboxsystems.nl/protospecs/whitebox-fetch/http", |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
"url": externalAddr + "/external/api", |
|
|
|
"url": externalApiAddr + "/external/api", |
|
|
|
}), |
|
|
|
}), |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Method: sharedmodel.AuthMethodDecozoMTLS, |
|
|
|
Method: sharedmodel.AuthMethodDecozoMTLS, |
|
|
@ -249,7 +249,7 @@ func (srv *HISServer) enableService(serviceProvider *model.ServiceProvider, serv |
|
|
|
Push: &okapi.CallbackConfiguration{ |
|
|
|
Push: &okapi.CallbackConfiguration{ |
|
|
|
Protocol: "https://whiteboxsystems.nl/protospecs/whitebox-push/http", |
|
|
|
Protocol: "https://whiteboxsystems.nl/protospecs/whitebox-push/http", |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
"url": externalAddr + "/external/api", |
|
|
|
"url": externalApiAddr + "/external/api", |
|
|
|
}), |
|
|
|
}), |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Method: sharedmodel.AuthMethodDecozoMTLS, |
|
|
|
Method: sharedmodel.AuthMethodDecozoMTLS, |
|
|
@ -262,7 +262,7 @@ func (srv *HISServer) enableService(serviceProvider *model.ServiceProvider, serv |
|
|
|
Fetch: &okapi.CallbackConfiguration{ |
|
|
|
Fetch: &okapi.CallbackConfiguration{ |
|
|
|
Protocol: "https://hl7.org/fhir", |
|
|
|
Protocol: "https://hl7.org/fhir", |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
"url": externalAddr + "/external/fhir/Patient", |
|
|
|
"url": externalApiAddr + "/external/fhir/Patient", |
|
|
|
}), |
|
|
|
}), |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Method: sharedmodel.AuthMethodDecozoBearerToken, |
|
|
|
Method: sharedmodel.AuthMethodDecozoBearerToken, |
|
|
@ -271,7 +271,7 @@ func (srv *HISServer) enableService(serviceProvider *model.ServiceProvider, serv |
|
|
|
Push: &okapi.CallbackConfiguration{ |
|
|
|
Push: &okapi.CallbackConfiguration{ |
|
|
|
Protocol: "https://hl7.org/fhir", |
|
|
|
Protocol: "https://hl7.org/fhir", |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
Configuration: toStruct(map[string]interface{}{ |
|
|
|
"url": externalAddr + "/external/fhir/Patient", |
|
|
|
"url": externalApiAddr + "/external/fhir/Patient", |
|
|
|
}), |
|
|
|
}), |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Auth: &okapi.ProtocolAuthConfiguration{ |
|
|
|
Method: sharedmodel.AuthMethodDecozoBearerToken, |
|
|
|
Method: sharedmodel.AuthMethodDecozoBearerToken, |
|
|
|