[FOLIO-1887] folio-ansible: remove sample data loading for mod-vendors Created: 15/Mar/19 Updated: 03/Jun/20 Resolved: 24/Apr/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | John Komick | Assignee: | Ian Hardy |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||
| Sprint: | CP: sprint 62 | ||||||||||||||||||||
| Story Points: | 0.5 | ||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||
| Description |
|
Sample vendor data will be loaded into the tenant API, which can be called by OKAPI when the module is enabled for a tenant. This will render the current sample data loading scripts as redundant. |
| Comments |
| Comment by Wayne Schneider [ 15/Mar/19 ] |
|
John Komick – do you know when
|
| Comment by John Komick [ 18/Mar/19 ] |
|
Sorry,
|
| Comment by Wayne Schneider [ 18/Mar/19 ] |
|
OK, then this issue is unblocked, thanks for the update! It appears that the sample data are already not being loaded by the CI scripts, as the location of the data in the repository has changed (this is the log from the most recent folio-snapshot build): TASK [folio-ansible/roles/module-sample-data : Load module data] ***************
included: /home/jenkins/workspace/Automation/folio-snapshot/folio-infrastructure/CI/ansible/folio-ansible/roles/module-sample-data/tasks/load-data.yml for 10.36.1.160 => (item={u'fileglob': u'sample-data/vendors/*.json', u'load_endpoint': u'/vendor-storage/vendors'})
TASK [folio-ansible/roles/module-sample-data : Load module data to /vendor-storage/vendors] ***
[WARNING]: Unable to find '/tmp/ansible.XAkIwC/mod-vendors/sample-
data/vendors' in expected paths (use -vvvvv to see paths)
However, there doesn't seem to be any sample data loaded for vendors, although vendors was installed with the loadSample=true and loadReference=true tenant parameters. http://folio-snapshot.aws.indexdata.com:9130/vendor-storage/vendors returns:
{
"vendors": [],
"total_records": 0,
"first": 0,
"last": 0
}
|
| Comment by Craig McNally [ 20/Mar/19 ] |
|
Wayne Schneider, John Komick does anything need to be done here, or can this be closed? |
| Comment by Wayne Schneider [ 21/Mar/19 ] |
|
Craig McNally I will move this issue into the FOLIO project, nothing to be done in mod-vendors. Sorry for any confusion. |