Initialize repository with test data only when explicitly configured

Description

Currently the test data is always loaded if the store is memory store. It should be possible to initialize an empty memory store (like with native store), so a separate switch for loading test data needs to be introduced. Default behavior is to omit test data.

Also, test data should only be loaded if the initialized repository is empty, i.e. amount of triples equals zero.

Environment

None

Activity

Show:
Hannes Ebner
June 22, 2016, 7:06 AM

Changed conditions for loading test data

Fixed

Assignee

Hannes Ebner

Reporter

Hannes Ebner

Labels

None

Fix versions

Priority

Normal