README.md 713 Bytes
Newer Older
Sonia Zorba's avatar
Sonia Zorba committed
1
# VOSpace REST service
Sara Bertocco's avatar
Sara Bertocco committed
2

Sonia Zorba's avatar
Sonia Zorba committed
3
## Database
Sara Bertocco's avatar
Sara Bertocco committed
4

Sonia Zorba's avatar
Sonia Zorba committed
5
This VOSpace implementation uses the database populated by the [VOSpace Transfer Service application](https://www.ict.inaf.it/gitlab/ia2/vospace-transfer-service). To avoid duplicating database definitions, DAO test classes load the database directly from the files of that repository. We assume that when running the tests the git repository exists and it is located in the same parent folder containing this repository. We could decide to create a dedicate common repository for sharing only the database structure and configuration files between the 2 projects.
Sara Bertocco's avatar
Sara Bertocco committed
6

Sonia Zorba's avatar
Sonia Zorba committed
7
To reconfigure the path of that repository edit the property `init_database_scripts_path` in test.properties.