bcgov / bcgov/entity

Create data loader service

Open
#1,793 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

### Create data loader service

## Description:
Create a mechanism for defining and loading data-sets into postgres, suitable for use with external test-services such as NightWatch and Postman/Newman collection-runs. This should allow for developers/qa to be able to design scenarios for the automated test cases, and be easily maintained by all parties.

##Inputs
We will create a service that can connect to a PostgreSQL instance. An endpoint will allow a Tester to upload a spreadsheet representing the data for a company. The PostgreSQL data for that company will be replaced with the data from the spreadsheet.

##Outputs
The service will return a JSON file representing the data that was written to the DB. That way scripts can use the data to write assertions or whatever without needing to refer to the spreadsheet.

##Impacts
Write this as a separate service so that it doesn't impact existing services. Some impact to shared files like makefile and Docker file

##Users
QA, developers

Acceptance / DoD:
- [ ] Product Owner advised if task >= 1 full-day, or forms part of the business day
- [ ] Requires deployments
- [ ] Test coverage acceptable
- [ ] Peer Reviewed
- [ ] Production burn in completed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.