[MODCXMOCK-7] deploy 'mod-codex-mock' to folio-testing Created: 01/Dec/17 Updated: 12/Dec/17 Resolved: 11/Dec/17 |
|
| Status: | Closed |
| Project: | mod-codex-mock |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Jakub Skoczen | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | sprint28 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1 hour | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Description |
|
We also need at least 100-200 test records loaded to be able to show things like paging. This is a fairly high-priority item. |
| Comments |
| Comment by Wayne Schneider [ 01/Dec/17 ] |
|
mod-codex-mock has been added to the build scripts for the folio/testing, folio/testing-backend, and folio-testing.aws.indexdata.com systems. |
| Comment by Adam Dickmeiss [ 12/Dec/17 ] |
|
So far so good. But mod-codex-mock can not work with other codex instances because the interface that it provides is exclusive. It must be "interfaceType":"multiple" when the mod-codex-mux gets in there. And that goes for any other codex implementations.. They must use interfaceType=multiple. |
| Comment by Mike Taylor [ 12/Dec/17 ] |
|
Is there any reason mod-codex-mock can't use interfaceType:multiple already? |
| Comment by Adam Dickmeiss [ 12/Dec/17 ] |
|
@mike: yes.. You would have to, in the UI, pass the module ID of the codex module you call. That's done with header X-Okapi-Module-Id. |
| Comment by Mike Taylor [ 12/Dec/17 ] |
|
This is news to me. Are you saying we would need to do that if the module had multiple, but we don't need to because it doesn't? |
| Comment by Adam Dickmeiss [ 12/Dec/17 ] |
|
https://github.com/folio-org/okapi/blob/master/doc/guide.md#multiple-interfaces |
| Comment by Mike Taylor [ 12/Dec/17 ] |
|
Thanks, helpful! |
| Comment by Wayne Schneider [ 12/Dec/17 ] |
|
So once we add mod-codex-mux to the blackbox, we will have to update the module descriptor, right? Does that mean we need to update the module descriptor template for mod-codex-mock? That's what gets posted to the MD registry. |