[MODCXMOCK-15] Return records as "mock" Created: 20/Feb/18 Updated: 20/Mar/18 Resolved: 21/Feb/18 |
|
| Status: | Closed |
| Project: | mod-codex-mock |
| Components: | None |
| Affects versions: | 2.0.0 |
| Fix versions: | 2.1.0 |
| Type: | Bug | Priority: | P2 |
| Reporter: | Heikki Levanto | Assignee: | Heikki Levanto |
| Resolution: | Done | Votes: | 0 |
| Labels: | sprint32 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 3 hours | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Description |
|
I think mod-codex-mock should by default return records that claim to come from "mock", and not pretend to be some other codex. |
| Comments |
| Comment by Heikki Levanto [ 20/Feb/18 ] |
|
It would be honest if the mock would use the source "mock" in all its records, at least by default. I think I already have a command line option to override that. Once upon a time it was valuable to spoof "kb" records out of the mock, but I think we should not need this any more. |
| Comment by Mike Taylor [ 20/Feb/18 ] |
|
Yes, please! |
| Comment by Heikki Levanto [ 21/Feb/18 ] |
|
Fixed. Merged in master. The default source is now "mock", not "kb" Note that you can still give it a command-line option -Dsource=foo if you want some other source in all the records. |