[OKAPI-343] okapi example curl code fails because tapas is used. Created: 24/May/17 Updated: 03/Jan/20 Resolved: 26/May/17 |
|
| Status: | Closed |
| Project: | Okapi |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 1.3.0 |
| Type: | Bug | Priority: | P3 |
| Reporter: | Adam Dickmeiss | Assignee: | David Crossley |
| Resolution: | Done | Votes: | 0 |
| Labels: | back-end | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: |
| Description |
adam@nugget:~/folio/okapi/doc$ ./okapi-examples.sh ... + curl -w \n -D - http://localhost:9130/_/discovery/nodes HTTP/1.1 200 OK Content-Type: application/json Content-Length: 67 [ { "nodeId" : "localhost", "url" : "http://localhost:9130" } ] + sleep 0 + curl -w \n -D - http://tapas:9130/_/discovery/nodes curl: (7) Failed to connect to tapas port 9130: Connection refused |
| Comments |
| Comment by Adam Dickmeiss [ 24/May/17 ] |
|
Introduced with commit bf48a842c4839224af21fd0be76474ccaad983b6 Fix okapi-315: Add a paragraph about clustering Guess we should just flag that cluster example differently or something. |
| Comment by Adam Dickmeiss [ 24/May/17 ] |
|
This is visible on the web site but was not part of v1.2.5 and so we can fix it before v1.2.6 is released. |
| Comment by David Crossley [ 26/May/17 ] |
|
Excluded some examples (here the "cluster mode" set) from the okapi-examples.sh script. The script does 'grep -v' some examples, but that technique is not sufficient for such cases. So doing: ```curl ...``` rather than ``` curl ... ``` |