Commit Graph

285 Commits

Author SHA1 Message Date
Claudio Maggioni (maggicl)
76e5bed119 Added basic tests to SceneController 2020-05-19 18:06:48 +02:00
Claudio Maggioni (maggicl)
fc6c1e7492 Added basic tests to RoomController 2020-05-19 17:34:12 +02:00
Claudio Maggioni (maggicl)
294cdc9a5d Added basic tests to AutomationController 2020-05-19 17:12:16 +02:00
omenem
77e9b1f0c6 fix 2020-05-19 15:52:03 +02:00
Claudio Maggioni (maggicl)
016c9f563e Added DeviceService tests possibly breaking everything 2020-05-19 14:35:51 +02:00
4fde95231b fixed stuff 2020-05-18 17:58:38 +02:00
08565bbc42 Merge branch 'tests' into 'dev'
Tests

See merge request sa4-2020/the-sanmarinoes/backend!147
2020-05-18 12:20:59 +02:00
Claudio Maggioni (maggicl)
be5ab5b4b3 Fixed lombok 2020-05-18 11:54:08 +02:00
Claudio Maggioni (maggicl)
0ce873dc52 Working on DeviceService tests 2020-05-18 10:52:58 +02:00
Claudio Maggioni (maggicl)
4e35aa4a75 Tests on exception classes 2020-05-17 13:26:51 +02:00
7b606307df Merge branch '75-backend-unit-testing-tommaso' into 'dev'
Resolve "backend-unit-testing"

Closes #75

See merge request sa4-2020/the-sanmarinoes/backend!143
2020-05-17 12:52:37 +02:00
Claudio Maggioni (maggicl)
bc7b30f3ea Fixed lombok in AutomationFastUpdateRequest 2020-05-17 12:49:40 +02:00
omenem
dd1d59a095 fix 2020-05-17 11:13:50 +02:00
omenem
7020f0d692 fix 2020-05-15 19:01:28 +02:00
3dcfa584f0 made some fields private 2020-05-14 21:02:49 +02:00
368530de97 automation dto should be tested 2020-05-14 19:00:07 +02:00
Claudio Maggioni (maggicl)
3ed6102b9f Added example tests for SensorController 2020-05-13 12:10:06 +02:00
acec5a0af8 Degenerified states 2020-05-12 18:32:23 +02:00
6223434979 Removed duplication 2020-05-12 17:20:19 +02:00
0d10d759a6 Removed @NotNull from models 2020-05-12 17:14:25 +02:00
582f44581b More lombok-ification 2020-05-12 16:59:46 +02:00
3bb008517a Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into sonar-fix 2020-05-12 15:46:23 +02:00
87df96760d Added lombok and converted DTOs 2020-05-12 15:44:32 +02:00
Claudio Maggioni (maggicl)
c6041e0e0f Degenerified Conditions 2020-05-10 21:44:10 +02:00
c003bd1e87 Merge branch '55-users-can-add-conditions-to-automations' into 'dev'
Resolve "Users can add conditions to automations"

Closes #55

See merge request sa4-2020/the-sanmarinoes/backend!133
2020-05-10 21:30:39 +02:00
Claudio Maggioni (maggicl)
0ba0d10cdc Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into 55-users-can-add-conditions-to-automations 2020-05-10 21:26:42 +02:00
Claudio Maggioni (maggicl)
5e1b07d32f Even another batch of sonar fixes 2020-05-10 20:47:18 +02:00
Claudio Maggioni (maggicl)
573a5c6a91 Fixing confirmationTokenRepository and deleted generic parameter on children of trigger 2020-05-10 12:48:41 +02:00
Claudio Maggioni (maggicl)
b64979500b Even another batch of sonar fixes 2020-05-10 12:39:18 +02:00
Claudio Maggioni (maggicl)
9394a8439f Even another batch of sonar fixes 2020-05-10 12:09:53 +02:00
Claudio Maggioni (maggicl)
483a42b1e0 Even another batch of sonar fixes 2020-05-10 00:38:13 +02:00
5d4aea2e56 Sonarqube fixes to tests 2020-05-09 19:16:23 +02:00
bd47a571d5 Sonarqube fixes 2020-05-09 17:53:58 +02:00
b4ded92695 Sonarqube fixes 2020-05-09 17:44:38 +02:00
omenem
a24b30ce19 fix in automation repo 2020-05-09 16:55:47 +02:00
Claudio Maggioni (maggicl)
15faf0a6b4 Fixed circular dependency on switch connector 2020-05-09 14:23:39 +02:00
Claudio Maggioni (maggicl)
191870d3c6 More sonarqube fixes 2020-05-09 14:05:43 +02:00
Claudio Maggioni (maggicl)
6e98972a5b Minor code style fixes and global formatter run 2020-05-09 13:42:17 +02:00
Claudio Maggioni (maggicl)
204f7bf423 Even more Sonarqube fixes 2020-05-09 13:29:03 +02:00
Claudio Maggioni (maggicl)
ba02475c83 Fixed very severe security vulnerability (Use logger instead of System.out in SensorSocketEndpoint) 2020-05-09 13:18:33 +02:00
Claudio Maggioni (maggicl)
bd32a2aebb more Sonarqube fixes 2020-05-09 13:13:31 +02:00
Claudio Maggioni (maggicl)
a61e43a014 Sonarqube fixes 2020-05-08 23:18:18 +02:00
omenem
628edfd76f edited GSONConfig 2020-05-08 17:50:59 +02:00
omenem
b72f527b0d Added conditions in PUT automation/fast 2020-05-08 17:44:30 +02:00
britea
501b9219b9 resolve conflict 2020-05-08 10:03:31 +02:00
britea
c9f53f0c97 fix thermostat 2020-05-08 09:59:42 +02:00
omenem
09c08580ca Everything should be implemented 2020-05-07 19:01:35 +02:00
omenem
1bde4344be Added controllers repos and dtos 2020-05-07 18:12:55 +02:00
omenem
1f5f948e23 wip 2020-05-07 16:38:45 +02:00
Claudio Maggioni (maggicl)
c8ebd8f917 WIP on error fixing for sonarqube code smells and vulnerabilities check 2020-05-07 10:33:20 +02:00