Commit graph

33 commits

Author SHA1 Message Date
5253c83ed5 work in progress: config processing 2024-06-04 11:16:24 +02:00
9fa4e3402f load config file via new test-path function 2024-06-03 18:34:24 +02:00
8e81da1bc9 work in progess: config, test-config 2024-06-02 18:54:27 +02:00
99b1627bfa get paths to test files (config and database) from source code path 2024-06-01 10:41:28 +02:00
53a61b660b testing: provide deftest macro, show suite and test names 2024-05-20 17:24:24 +02:00
778409a842 work in progress: testing improvements 2024-05-20 12:22:29 +02:00
7dd30882e0 work in progress: forge sequence (pseudo-pointer) 2024-05-19 10:03:39 +02:00
e0e65efa39 get-track basically working 2024-05-18 09:16:09 +02:00
3b3cfaf732 work in progress: get-track by trackid: select OK 2024-05-17 19:05:37 +02:00
8b006042d4 minor refactorings; + utility for SQL results: normalize-plist 2024-05-17 16:36:58 +02:00
c188ed2baf write track data to database, JSON-encoded 2024-05-17 11:45:26 +02:00
56467cd4c1 set timestamp default (now) explicitly upon insert 2024-05-17 09:11:40 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
3f3da9b69b use local-time for timestamp conversions; + revert: timestamptz in db 2024-05-16 09:54:28 +02:00
bee8d6d75e insert: use query form, return trackid and timestamp; timestamp: without TZ 2024-05-16 08:27:22 +02:00
6c36fdc72d use keywords for head field names; re-order variable definitions and other statements in test 2024-05-15 16:09:14 +02:00
d4c2db9f89 more on track creation: set head values 2024-05-15 14:52:48 +02:00
35348f3fdb work in progress: insert track; provide (and use) item-factory slot in container 2024-05-14 16:36:53 +02:00
4dab1785a5 create table: use schema option if set 2024-05-14 09:49:50 +02:00
9e1a8a92b9 create table: use container settings for table name and head fields 2024-05-14 08:26:18 +02:00
49688e4055 storage/tracking: create-index function 2024-05-13 21:21:13 +02:00
c832ba70f3 more refactorings: get rid of global *db-engine*, starting with methods on db-engine and storage 2024-05-12 19:27:11 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00
db405da6d9 simplify forge code: use special variable *forge-env* 2024-05-07 14:06:28 +02:00
7b8db5f923 simplify testing code: use *tst* for test suite; renaming -> t:== 2024-05-07 11:11:15 +02:00
6938217533 rename db-params to db-config; provide both db-config vars in scopes/test-storage 2024-05-06 19:01:55 +02:00
5d7a4c0b82 replace tabs with spaces 2024-05-06 12:15:33 +02:00
82038d9dd5 work in progress: access to SQL DB: create/drop table, config via etc.lisp 2024-05-06 11:13:53 +02:00
c5c6a0bc7f more on storage/tracking: start constructing SQL with sxql 2024-05-05 22:25:42 +02:00
c2e27fe6dc work in progress: storage/tracking 2024-05-05 08:32:54 +02:00
4036a03882 initial set-up for storage / tracking stuff 2024-05-01 19:51:36 +02:00