Adds MongoDB-backed submission for survey statistics/metrics and introduces MongoDB ObjectID-based participant/task identifiers to support upserts and linking metrics to a participant. It introduces breaking changes to the exsisting json stat and metric files. Delete the old ones Changes: Add internal/storage/MongoStorage and wire pm survey submit / pm start to submit local .pm/*.json files to MongoDB. Extend stats/metrics models to include MongoDB _id / participant_id fields and add participant ID propagation into task metrics. Update app initialization to generate ObjectIDs for new participants and expose GetParticipantID() via StatsService.
22 lines
140 B
Plaintext
22 lines
140 B
Plaintext
.pm
|
|
*.db
|
|
*.ext
|
|
bin
|
|
build
|
|
|
|
|
|
.idea
|
|
.vscode
|
|
|
|
node_modules/
|
|
package-lock.json
|
|
package.json
|
|
|
|
|
|
*.db
|
|
*.ext
|
|
.env
|
|
|
|
# Added by goreleaser init:
|
|
dist/
|