Paulo Truta
|
7c14dfee64
|
Added storage_test.go file, smoke test
|
2021-06-12 14:38:38 +00:00 |
Paulo Truta
|
8a30427287
|
Added missing t.Fail() statements in utils_test.go
|
2021-06-12 14:33:34 +00:00 |
Paulo Truta
|
cf56526f97
|
Added branch to test for valid key in GetPath
|
2021-06-12 14:32:41 +00:00 |
Paulo Truta
|
a1c0529fda
|
Added Example tests with failure status for ExecAndStream
|
2021-06-12 14:24:13 +00:00 |
Paulo Truta
|
ac8b70976b
|
Added ExampleExecAndStream test
|
2021-06-12 14:13:46 +00:00 |
Paulo Truta
|
e19a830e29
|
Better visibility for test result log of TestExec
|
2021-06-12 13:20:02 +00:00 |
Paulo Truta
|
35442bc156
|
Trimming spaces and newlines from result of Exec
|
2021-06-12 13:18:34 +00:00 |
Paulo Truta
|
b225c6bfd8
|
Added spaces trim to Exec result
|
2021-06-12 13:05:41 +00:00 |
Paulo Truta
|
bd889304ca
|
Fixed TestExec
|
2021-06-12 12:57:31 +00:00 |
Paulo Truta
|
4613ca7820
|
Added new path argument to utils.Exec... test
|
2021-06-12 12:54:39 +00:00 |
Paulo Truta
|
d294948890
|
Removed too much verbosity from utils.GetPath when no env file is available, added new argument (path) to Exec family of funcs
|
2021-06-12 12:53:36 +00:00 |
Paulo Truta
|
d9f8b2375c
|
Fix invalid argument type for Exec family of tests
|
2021-06-12 12:31:48 +00:00 |
Paulo Truta
|
f4e64ae522
|
Added tests to utils module
|
2021-06-12 12:28:52 +00:00 |
Paulo Truta
|
06b0802bbb
|
Removed GetMySQLDbConnectionDetails()
|
2021-06-12 12:28:33 +00:00 |
Paulo Truta
|
f9c02fadff
|
Added comment to func ExecAndGetLines
|
2021-06-10 11:58:33 +00:00 |
Paulo Truta
|
95d94f0809
|
Merge branch 'main' into storage-module
|
2021-06-10 11:56:52 +00:00 |
Paulo Truta
|
b71adea06f
|
Added command line tool dependencies for the project in README file
|
2021-06-10 11:55:06 +00:00 |
Paulo Truta
|
1bb1385b71
|
Added explicit detection of disk or part block type, ignoring non-suppoorted devices
|
2021-06-10 11:50:18 +00:00 |
Paulo Truta
|
9ef07e6052
|
Added ExecAndGetLines util func
|
2021-06-10 11:45:02 +00:00 |
Malachi Soord
|
92ac9c2b03
|
Add coverage (#15)
* Add coverage
* Add codecov.yml
|
2021-06-08 22:40:53 +02:00 |
Malachi Soord
|
e611bf2ac4
|
Add test foundations (#14)
|
2021-06-08 14:13:22 +02:00 |
Paulo Truta
|
4dec81e487
|
Cleanup, small fixes
|
2021-06-07 22:47:38 +00:00 |
Paulo Truta
|
5d92e213ee
|
Changed value of lsblk block usage output to bytes
|
2021-06-07 17:40:57 +00:00 |
Paulo Truta
|
2d92131533
|
Added UsageStat and UsageSplit filling for in use devices
|
2021-06-07 16:41:41 +00:00 |
Paulo Truta
|
a4736c3b4c
|
Cleanup
|
2021-06-07 09:25:49 +00:00 |
Paulo Truta
|
ca9c2cc910
|
Added disk space usage for partitions in use by the system
|
2021-06-07 09:16:04 +00:00 |
Paulo Truta
|
97c268200e
|
Added InUse flag to Device, fixed logic bugs
|
2021-06-06 17:28:15 +00:00 |
Paulo Truta
|
1ee82baf8a
|
GetDevices now returns a complete description w/ disk partitions
|
2021-06-06 17:10:08 +00:00 |
Paulo Truta
|
fd002987fa
|
Added storage module, base structs, getDevices() func, taskGetStorageDevices (ticks every 30)
|
2021-06-06 12:29:46 +00:00 |
Paulo Truta
|
c9f97d42bf
|
Merge pull request #10 from edgebox-iot/fix-result-null-conversion
Fix query panic on GetNextTask()
|
2021-06-02 13:11:48 +02:00 |
Paulo Truta
|
1736b04a66
|
Query contains named columns
|
2021-06-01 23:53:17 +00:00 |
Paulo Truta
|
5d69a9fb22
|
Merge pull request #9 from edgebox-iot/edgeapp_description_support
Added support for adding EDGEAPP_DESCRIPTION env var to edgebox.env
|
2021-06-01 16:51:48 +02:00 |
Paulo Truta
|
3ef90ffb15
|
Added support for adding EDGEAPP_DESCRIPTION env var to edgebox.env edgeapps
|
2021-06-01 11:40:58 +00:00 |
Paulo Truta
|
1ad554b9bf
|
Merge pull request #8 from edgebox-iot/sqlite
Supporting connection to SQLite database
|
2021-06-01 13:28:52 +02:00 |
Paulo Truta
|
df3f8fe904
|
Added system module, GetUptimeSeconds and GetUptimeFormatted funcs, taskGetSystemUptime
|
2021-05-31 11:21:14 +00:00 |
Paulo Truta
|
770e814b6e
|
Fixed Datetime column values. Added utils.GetSQLiteFormattedDateTime def
|
2021-05-30 11:28:42 +00:00 |
Paulo Truta
|
81b545f868
|
Fix wrong handling of task arguments in systemIterator
|
2021-05-22 13:30:23 +00:00 |
Paulo Truta
|
9f63ab7f03
|
Support for nullable Task args
|
2021-05-19 10:43:47 +00:00 |
Paulo Truta
|
58b7425fc7
|
Fixed incorrect query prepare statement, small fixes in queries
|
2021-05-08 20:46:36 +00:00 |
Paulo Truta
|
f238b3fa46
|
Write queries using prepared statements, better error handling
|
2021-05-08 20:42:07 +00:00 |
Paulo Truta
|
d975710445
|
Added initial debug message of SQLite DB location
|
2021-05-03 21:02:09 +00:00 |
Paulo Truta
|
6cb3e198f0
|
Supporting connection to SQLite database
|
2021-05-02 08:52:32 +00:00 |
Paulo Truta
|
84d7fd6a82
|
Merge pull request #6 from edgebox-iot/include-sum
Add Sum + Tidy CI
|
2021-03-05 02:21:42 +01:00 |
Malachi Soord
|
e6c07ddeae
|
Tidy names
|
2021-03-04 21:39:37 +01:00 |
Malachi Soord
|
217309f10d
|
Add sum
|
2021-03-04 21:38:02 +01:00 |
Paulo Truta
|
74cbff1966
|
Stopping edgeapp before removing
|
2021-03-04 15:53:49 +00:00 |
Paulo Truta
|
8f14a7cd15
|
Fix for incorrect base assignment
|
2021-03-04 15:19:31 +00:00 |
Paulo Truta
|
11e9543a87
|
Added install / remove edgeapp tasks
|
2021-03-04 15:06:54 +00:00 |
Paulo Truta
|
c42d96bf34
|
Merge pull request #5 from edgebox-iot/edgeboxctl-rename
Renaming everything to edgeboxctl
|
2021-03-04 15:21:19 +01:00 |
Paulo Truta
|
cb3ecec5f4
|
Fix to makefile build-prod
|
2021-03-04 14:06:48 +00:00 |