Axel Uhl
cc346a34fd
adjusted log message: don't log null params but MongoDB doc leading to null params
...
Change-Id: I032b939140089b147c0995b7d0fd2b0a8b36bbf6
2019-02-20 11:18:01 +01:00
Axel Uhl
c8ce515f3b
delete connectivity param records if they couldn't be mapped to valid params
...
Change-Id: I428f5d3d3c1d35e69792d074f2136d0deb3cb488
2019-02-20 11:17:19 +01:00
Axel Uhl
335ef027a3
Log failure to delete connectivity params
...
Change-Id: Ie0488be1bda2d231fedd114383a98af0b743e7b6
2019-02-20 10:56:22 +01:00
Axel Uhl
4ff49ea1e7
changed TripleSerializer from DBObject to Document
...
Change-Id: Icb839a64f8484431da4200efdcf244b08677e32a
2019-02-07 12:50:24 +01:00
Axel Uhl
8b1beec62f
bug4890: replaced the deleteOne in removeRaceLog by deleteMany
...
Change-Id: I857e7a85247d158f0ce4b7f126accb8f105fd1c7
2019-02-07 12:47:45 +01:00
Axel Uhl
08f4d56434
be tolerant against score being written to DB as Integer instead of Double
...
Change-Id: I74638053b3ff26ef8ca064f712880d926f17c57f
2019-02-03 23:06:17 +01:00
Axel Uhl
240565bf5d
Merge branch 'master' into bug4876
2019-01-27 18:32:50 +01:00
Axel Uhl
0d5f583cad
toJson() now needs JsonMode.RELAXED to remain compatible with org.simple.json.JSONParser;
...
otherwise, with the MongoDB 3.6 driver update, parsing documents
serialized using Document.toJson() will be unable to parse values of
type long properly. Those were usually represented either simply as the
number literal, or as NumberLong() constructor call. However, with the
new default behavior, they are represented as a nested Document with
a { $numberLong:...} format which cannot be cast to a Long object.
The RELAXED WriterSetting fixes this and reverts to the previous
version's default behavior.
Change-Id: I686439b7a332f2edddc6d0acb5423d80aecd1c0b
2019-01-27 10:54:38 +01:00
Alessandro Stoltenberg
c7ab12bb29
bug4882: Changed replaceOne() to updateOne() in MongoObjectFactoryImpl.renameEvent() and .renameLeaderBoardGroup
2019-01-26 23:04:36 +01:00
Axel Uhl
878e5d9dd2
upgraded the MongoDB driver to version 3.6.4; upgraded target platform
...
Change-Id: I621d4af6d3a3b0bcbf70310f731153cacfecebfc
2019-01-25 16:46:46 +01:00
Axel Uhl
919444b0c4
bug 4875: using replaceOne instead of updateOne when during migration a RaceLogEvent must be replaced
...
Change-Id: I4b59a63ccb0abf27c014f40002342e130795c1fe
2019-01-23 16:25:29 +01:00
Axel Uhl
04f5b8304e
provide explicit short names for WIND_TRACKS indices
...
Change-Id: I1445a0f79cfe8a95c49cf416d525ea4fa8fa759b
2019-01-12 15:56:07 +01:00
Axel Uhl
d0bccd7997
relax the write concern for bulk data such as GPS and Wind fixes to UNACKNOWLEDGED;
...
this to increase throughput
Change-Id: I27a5e9a1a8ca4959f9a33297b6726fd2dd84a893
2019-01-11 15:06:12 +01:00
Axel Uhl
cd4b99e312
provide a sufficiently short Index name to make AWS DocumentDB happy
...
Change-Id: I2130cccd5db2fc76aaa145521325306daa32eee8
2019-01-11 01:38:34 +01:00
Axel Uhl
8eb4da6cf7
provide a shorter name for the WIND_TRACKS collection index
...
Change-Id: I85c83cc9cf98b14e4ebd85887483e3ab021df702
2019-01-11 01:27:01 +01:00
Axel Uhl
1c296efb10
fixed serialization of null values in DoubleVectorFixMongoHandlerImpl
...
Change-Id: I7da792f19dc2f6ea830aa3232cccfa33a8de617b
2018-12-11 17:02:08 +01:00
Axel Uhl
9da9034235
fixed several MongoDB 3.x issues around ClassCastExceptions with lists
...
Change-Id: Icb570522485ea180eeaeab2a14abb333d159850a
2018-12-11 15:02:15 +01:00
Axel Uhl
9a08f9c9e9
fixed various DB handling after Mongo 3.x upgrade; made *.security.replication.test an eclipse-test-plugin
...
Change-Id: Ibbe80a15b6adce78c457a81009d387dbd74d9186
2018-12-11 12:56:50 +01:00
Axel Uhl
914be75f91
warning-free workspace after upgrading to MongoDB 3.x APIs, eliminating deprecation issues
...
Change-Id: I9773b899e140871f5fa4b865ca6d2116bf73c642
2018-12-10 23:22:20 +01:00
Axel Uhl
4dd9f10e2c
removed further deprecations by switching imports from junit.* to org.junit
2018-12-10 03:46:28 +01:00
Axel Uhl
d8c2cf8cd3
upgraded target platform to newer MongoDB driver from org.eclipse.orbit;
...
A 3.x driver is required to connect to Microsoft Azure Cosmos. Upgrading
the target platform accordingly requires further upgrades, including Hamcrest
and JUnit libraries. This, in turn, deprecates or obsoletes numerous APIs,
parts of which that caused compilation *errors* I've replaced by their new
counterparts. Several more warnings still remain and need to be tackled by
replacing the usages to their new counterparts.
2018-12-10 03:00:59 +01:00
Axel Uhl
ccfcba5c25
fixed comments on SensorFixStoreremoved obsolete commented code
...
Change-Id: Ibfb6d8d00fdb80f2db4626daf5158dada1c9f2e0
2018-11-29 02:00:43 +01:00
Henri Kohlberg
622a410dc5
Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug4104
2018-10-18 15:07:52 +02:00
Axel Uhl
9e98827f8d
fixed more numeric object creations from number representations in Mongo
...
Change-Id: I294d3b3652c060d8611b1b22c748a4a829d81f70
2018-10-15 16:08:27 +02:00
Axel Uhl
1f56437873
assume only Number, not Integer or Double; types don't survive backup/restore as of now
...
Change-Id: I1e07dfca2859e76e99e2380d4dbe0eee6379aa73
2018-10-12 16:29:34 +02:00
D067890
7708222141
bug4104: First approach of implementing image service
2018-09-25 16:05:56 +02:00
D067890
3780459f64
bug4104: Private tags are nor stored in the user storage
2018-08-27 18:37:20 +02:00
Henri Kohlberg
cf874f7929
Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug4104
2018-08-20 11:18:26 +02:00
Henri Kohlberg
d38c823eda
Bug 4104: Major code refactoring, part 1
2018-08-17 15:55:57 +02:00
D067890
208f5663ed
bug4104: Tags contain boolean isPublic field
2018-08-16 11:47:57 +02:00
Axel Uhl
784a47e77c
removed extra empty lines
...
Change-Id: Id0f148452c6b45a4abe1964185b6d84f2aab9df2
2018-08-15 10:33:10 +02:00
Henri Kohlberg
028caf907a
Bug 4104: Removed username from RaceLogTagEvent as this information is laready saved in author object.
2018-07-19 17:02:32 +02:00
Henri Kohlberg
c42d2bb40b
Bug 4104: Tags will show up in right side panel if they were tagged before the current position of time slider (already displayed tags won't be hidden when scrolling back in time), extracted TagDTO to an own class, tags will be stored like other race log events (structure in database)
2018-07-19 08:30:43 +02:00
D067890
13107bba7b
bug4104: RaceLogTagEvents now contain a user name
2018-07-13 10:53:36 +02:00
D067890
902be52661
bug4104: changed type of imageURL to String
2018-07-12 15:43:47 +02:00
D067890
9d317ff0b8
bug 4104: DocumentObjectFactory should be able to loadRaceLogTagEvents
2018-07-10 15:10:39 +02:00
D067890
5fcfa6a135
return result instead of null
2018-07-10 10:49:15 +02:00
D067890
0ede320c21
Added RaceLogEvent for tagging, added fitting visit methods
2018-07-09 16:21:25 +02:00
Maximilian Groß
37917a50a4
Merge branch 'master' into bug4491
...
# Conflicts:
# java/com.sap.sailing.datamining/src/com/sap/sailing/datamining/data/HasRaceOfCompetitorContext.java
# java/com.sap.sailing.datamining/src/com/sap/sailing/datamining/impl/data/TrackedLegOfCompetitorWithContext.java
# java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/tracking/impl/BravoExtendedFixImpl.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/ManeuverMainCurveWithEstimationData.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/impl/ManeuverMainCurveWithEstimationDataImpl.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/GPSFixTrack.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/GPSFixTrackImpl.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_fr.properties
# java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/deserialization/impl/ManeuverMainCurveWithEstimationDataJsonDeserializer.java
# java/com.sap.sse.datamining.ui/src/main/java/com/sap/sse/datamining/ui/client/presentation/AbstractTabbedResultsPresenter.java
2018-05-28 08:35:21 +02:00
Axel Uhl
e956d91484
bug 4574: fixing multiple registration of leaderboard cache invalidators; added boat chance-dependent leaderboard invalidation; fixed boat update routine
...
Change-Id: I88a351768ec5bf3cdd3f63dafed0e3ec1004d80e
2018-05-14 18:33:18 +02:00
Axel Uhl
9ed9a42cbf
implemented DB migration for old, deprecated representation of two-mark control points
...
Change-Id: I14adcd5af2a1ab3d22bc137e10159c96f960d1e9
2018-05-08 18:04:29 +02:00
Axel Uhl
20d24a7bec
bug4558: create the 2nd league auxiliary boat for bug2822 migration if it doesn't exist yet
...
Change-Id: If121be7b80a68ba738fcfdc88a2f3bbd45757e3f
2018-05-06 02:17:03 +02:00
Maximilian Groß
e977678869
Merge branch 'master' into bug4491
...
# Conflicts:
# java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/dto/LeaderboardEntryDTO.java
# java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/Fix.java
# java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/SailMasterConnector.java
# java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/FixImpl.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/CompleteManeuverCurveWithEstimationData.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/ManeuverMainCurveWithEstimationData.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/impl/CompleteManeuverCurveWithEstimationDataImpl.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/impl/ManeuverCurveWithUnstableCourseAndSpeedWithEstimationDataImpl.java
# java/com.sap.sailing.domain/src/com/sap/sailing/domain/maneuverdetection/impl/ManeuverMainCurveWithEstimationDataImpl.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/autoplay/client/places/screens/afterliveraceloop/boats/RaceEndWithBoatsPresenterImpl.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/autoplay/client/places/screens/afterliveraceloop/boats/RaceEndWithBoatsView.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/autoplay/client/places/screens/afterliveraceloop/boats/RaceEndWithBoatsViewImpl.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/autoplay/client/places/screens/liveraceloop/racemapwithleaderboard/LiveRaceWithRacemapAndLeaderBoardView.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/autoplay/client/places/screens/liveraceloop/racemapwithleaderboard/LiveRaceWithRacemapAndLeaderBoardViewImpl.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/server/LeaderboardContext.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_es.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_fr.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ja.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_pt.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ru.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_zh.properties
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/raceboard/RaceBoardPanel.java
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
# java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/LeaderboardsResource.java
2018-04-20 13:10:37 +02:00
Axel Uhl
c0532280f2
bug4520: added migration code for 2. Bundesliga 2017 corner case
...
Change-Id: I13140109232efe9e0bf1c4794aac7f00adc065e9
2018-04-19 22:45:10 +02:00
Axel Uhl
aa8d6ea8a2
removed redundant null check
...
Change-Id: Ifd325b8fc86c0de969c2d03812c633af9add1b86
2018-04-19 20:50:28 +02:00
Axel Uhl
18c777a99f
adjusted SwissTiming connector to accomodate UUIDs for mark devices and competitors
...
Change-Id: Ieaca20de4eacbbc5c64e218fb557045f2590e6f6
2018-04-19 17:24:54 +02:00
Axel Uhl
22b4ec6535
Merge branch 'master' into bug4509
...
Change-Id: Ia63ce5f964be5471b00a5429d6984e141d742b4d
2018-04-13 15:55:28 +02:00
Axel Uhl
b4f1c8fb10
more getCompetitorStore()-->getCompetitorAndBoatStore() renames
...
Change-Id: I715aba1aeaef8a4bd180d73b026164abcbdba196
2018-04-13 09:01:27 +02:00
Maximilian Groß
ed1fae0c8f
divided datamining from sailing specific classes
2018-04-12 07:40:59 +02:00
Axel Uhl
1cf923a027
use DynamicCompetitor and DynamicBoat where necessary
...
Change-Id: Id06014ac0baba5ea2315894068003c80733f1b0e
2018-04-11 17:26:20 +02:00