Skip to content

Commit 65dc51e

Browse files
committed
Fixing some settings bugs
1 parent c4586a8 commit 65dc51e

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

docs/quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ Finally, we configured the UI with the custom environment specific settings file
405405
```javascript
406406
{
407407
"default": {
408-
"drpcHost": "http://localhost:9999",
409-
"drpcNamespace": "bullet-service/api",
410-
"drpcPath": "drpc",
408+
"queryHost": "http://localhost:9999",
409+
"queryNamespace": "bullet-service/api",
410+
"queryPath": "drpc",
411411
"schemaHost": "http://localhost:9999",
412412
"schemaNamespace": "bullet-service/api",
413413
"helpLinks": [

docs/ui/setup.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ All of the configuration for the UI is **environment-specific**. This lets you h
7777

7878
| Setting | Meaning |
7979
| --------------- | ---------------- |
80-
| drpcHost | The end point (port included) of your Web Service machine that is talking to the Bullet backend |
81-
| drpcNamespace | The path fragment on your Web Service running on your ```drpcHost``` |
80+
| queryHost | The end point (port included) of your Web Service machine that is talking to the Bullet backend |
81+
| queryNamespace | Any qualifiers you have after your host and port on your Web Service running on your ```queryHost``` |
82+
| queryPath | The path fragment after the ```queryNamespace``` on your Web Service running on your ```queryHost``` |
8283
| schemaHost | The end point (port included) of your Web Service machine that is serving your schema in the JSON API format (see [Web Service setup](../ws/setup.md) for details.)|
8384
| schemaNamespace | The path fragment on your schema Web Service running on the ```schemaHost```. There is no ```schemaPath``` because it **must** be ```columns``` in order for the UI to be able fetch the column resource (the fields in your schema).|
8485
| modelVersion | This is used an indicator to apply changes to the stored queries, results etc. It is monotonically increasing. On startup, changes specified in ```migrations``` will be applied if the old modelVersion is not present or is < than this number |
@@ -127,9 +128,9 @@ that are the same as the [default backend settings](https://github.com/yahoo/bul
127128
```json
128129
{
129130
"default": {
130-
"drpcHost": "https://foo.bar.com:4443",
131-
"drpcNamespace": "bullet/api",
132-
"drpcPath": "drpc",
131+
"queryHost": "https://foo.bar.com:4443",
132+
"queryNamespace": "bullet/api",
133+
"queryPath": "drpc",
133134
"schemaHost": "https://foo.bar.com:4443",
134135
"schemaNamespace": "bullet/api",
135136
"helpLinks": [
@@ -180,7 +181,7 @@ You can add more properties for each environment you have the UI running on and
180181

181182
!!! note "CORS"
182183

183-
All your Web Service endpoints must support CORS (return the right headers) in order for the UI to be able to communicate with it. The Bullet Web Service already does this for the DRPC and columns endpoints.
184+
All your Web Service endpoints must support CORS (return the right headers) in order for the UI to be able to communicate with it. The Bullet Web Service already does this for the Query and Schema endpoints.
184185

185186
### Example
186187

@@ -189,7 +190,7 @@ To cement all this, if you wanted an instance of the UI in your CI environment,
189190
```json
190191
{
191192
"ci": {
192-
"drpcHost": "http://bullet-ws.dev.domain.com:4080",
193+
"queryHost": "http://bullet-ws.dev.domain.com:4080",
193194
"schemaHost": "http://bullet-ws.dev.domain.com:4080",
194195
"helpLinks": [
195196
{

examples/ui/env-settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"default": {
3-
"drpcHost": "http://localhost:9999",
4-
"drpcNamespace": "bullet-service/api",
5-
"drpcPath": "drpc",
3+
"queryHost": "http://localhost:9999",
4+
"queryNamespace": "bullet-service/api",
5+
"queryPath": "drpc",
66
"schemaHost": "http://localhost:9999",
77
"schemaNamespace": "bullet-service/api",
88
"helpLinks": [

0 commit comments

Comments
 (0)