Done
Details
Details
Assignee
Oleg Pak
Oleg PakReporter
Jonathan P
Jonathan PPriority
Story Points
3
Sprint
None
Development Team
Spitfire
Fix versions
Release
Quesnelia (R1 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 7, 2023 at 8:12 AM
Updated March 19, 2024 at 1:06 PM
Resolved March 19, 2024 at 1:06 PM
I have followed the instructions for integration testing.
Docker-compose up runs successfully (from the Docker folder, not root as per instructions)
All docker containers are created and running successfully under folio-mod-search.
Performing the curl operation:
curl --location --request POST 'http://localhost:8081/_/tenant' \
--header 'Content-Type: application/json' \
--header 'x-okapi-tenant: test' \
--header 'x-okapi-url: http://api-mock:8080' \
--data-raw '{
"purge": "false"
}'
This fails with the error:
{
"errors": [
{
"message": "JDBC exception executing SQL [ [ERROR: relation \"language_config\" does not exist\n Position: 40] [n/a]; SQL [n/a]",
"type": "InvalidDataAccessResourceUsageException",
"code": "unknown_error"
}
],
"total_records": 1
}
I can connect to the postgres container and see there are no tables in the created postgres database okapi_modules which would explain this issue.
I can't see any other steps to create the required tables.