[FOLIO-888] Update curriculum for Okapi Gateway 2.0 Created: 06/Oct/17  Updated: 12/Nov/18  Resolved: 16/Jul/18

Status: Closed
Project: FOLIO
Components: Documentation
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: Peter Murray Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2 days, 45 minutes
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-1348 Update tutorials/curriculum Closed
Sprint:

 Description   

Documentation says:

$ curl -i -w '\n' -X GET http://localhost:9130/_/proxy/modules
  HTTP/1.1 200 OK
  Content-Type: application/json
  Content-Length: 3

 [ ]

"$ curl -i -w '\n' -X GET http://localhost:9130/_/proxy/tenants
  HTTP/1.1 200 OK
  Content-Type: application/json
  Content-Length: 3

 [ ]

Note that in both cases what was returned from the gateway are empty JSON lists, meaning that the newly initialized Okapi Gateway has no configured modules or tenants." (edited)

Actually with new pull of Okapi:

ne@NE-T460:~/folio/okapi$ curl -i -w '\n' -X GET http://localhost:9130/_/proxy/modules
HTTP/1.1 200 OK
Content-Type: application/json
X-Okapi-Trace: GET okapi-2.0.1-SNAPSHOT /_/proxy/modules : 200 1906us
Content-Length: 74

[ {
  "id" : "okapi-2.0.1-SNAPSHOT",
  "name" : "okapi-2.0.1-SNAPSHOT"
} ]
ne@NE-T460:~/folio/okapi$ curl -i -w '\n' -X GET http://localhost:9130/_/proxy/tenants
HTTP/1.1 200 OK
Content-Type: application/json
X-Okapi-Trace: GET okapi-2.0.1-SNAPSHOT /_/proxy/tenants : 200 1091us
Content-Length: 117

[ {
  "id" : "okapi.supertenant",
  "name" : "okapi.supertenant",
  "description" : "Okapi built-in super tenant"
} ]


 Comments   
Comment by David Crossley [ 23/Oct/17 ]

In pull/30 updated the current lessons to use current Okapi. Note that the Stripes part of Lesson 5 is still out-of-date.

Also added Lesson 6 "Interact with the FOLIO Stable VM" to set up the "folio/stable" Vagrant box and show how to run basic queries.

Comment by David Crossley [ 16/Jul/18 ]

This part is done, but see further updates that are needed in FOLIO-1348 Closed .

Generated at Thu Feb 08 23:09:03 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.