This package contains the data access layer of the stryker dashboard application.
npm install @stryker-mutator/dashboard-data-access

``
|--------------------|
| Project |
|--------------------|
| owner: string PK |
| name: string RK |
| enabled: bool |
| apiKeyHash: string |
|--------------------|
|-----------------------------------|
| MutationTestingReport |
|-----------------------------------|
| projectName;version: string PK |
| module: string RK |
| mutationScore: number |
|-----------------------------------|
projectName = ${owner};${name}
Legend:
PK = Partition key
RK = Row key
`
This data model will be stored in an Azure table service database.
It is a, very scalable, NoSQL database.
Some notes:
- A Project's owner is i.e. 'github.com/stryker-mutator'Project
- A 's name is the short name of the repository, i.e. 'stryker'MutationTestingReport
- The 's projectName and version form the Partition Key. This is te full project name including the branch name (usually) i.e. 'github.com/stryker-mutator/stryker/master'
The mutation testing report json data is stored in Azure blob storage. The name of the blobs are projectName/version/module`.