Fix broken R4 serrver
This commit is contained in:
parent
7a320729a0
commit
64f57b9736
|
@ -154,7 +154,7 @@ public class JpaConformanceProviderR4 extends org.hl7.fhir.r4.hapi.rest.server.S
|
|||
if (isNotBlank(myDaoConfig.getWebsocketContextPath())) {
|
||||
Extension websocketExtension = new Extension();
|
||||
websocketExtension.setUrl(Constants.CAPABILITYSTATEMENT_WEBSOCKET_URL);
|
||||
websocketExtension.setValue(new org.hl7.fhir.dstu3.model.UriType(myDaoConfig.getWebsocketContextPath()));
|
||||
websocketExtension.setValue(new UriType(myDaoConfig.getWebsocketContextPath()));
|
||||
retVal.getRestFirstRep().addExtension(websocketExtension);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,6 @@ public class BaseController {
|
|||
final String serverName = theRequest.getServerName(myConfig);
|
||||
final String apiKey = theRequest.getApiKey(theServletRequest, myConfig);
|
||||
theModel.put("serverId", sanitizeInput(serverId));
|
||||
theModel.put("base", sanitizeInput(serverBase));
|
||||
theModel.put("baseName", sanitizeInput(serverName));
|
||||
theModel.put("apiKey", sanitizeInput(apiKey));
|
||||
theModel.put("resourceName", sanitizeInput(defaultString(theRequest.getResource())));
|
||||
|
@ -72,6 +71,9 @@ public class BaseController {
|
|||
theModel.put("_summary", sanitizeInput(theRequest.get_summary()));
|
||||
theModel.put("serverEntries", myConfig.getIdToServerName());
|
||||
|
||||
// doesn't need sanitizing
|
||||
theModel.put("base", serverBase);
|
||||
|
||||
return loadAndAddConf(theServletRequest, theRequest, theModel);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue