update to docs to indicate requests to default partition (#2186)

This commit is contained in:
Tadgh 2020-11-20 10:32:59 -05:00 committed by GitHub
parent a01f5ae906
commit 8647502da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -87,6 +87,20 @@ The following snippet shows a server with this configuration.
{{snippet:classpath:/ca/uhn/hapi/fhir/docs/PartitionExamples.java|multitenantServer}}
```
Once enabled, HTTP Requests to the FHIR server must include the name of the partition in the request, for identification purposes. With no multitenancy, a request to create a Patient could look like this:
```HTTP
POST www.example.com/fhir/Patient
```
With partitioning enabled, if we were to now create a patient in the `DEFAULT` paritition, the request would now look like this:
```
POST www.example.com/fhir/DEFAULT/Patient
```
Failure to add a partition name to the request path will result in an error when multitenancy is enabled.
# Limitations