A.Unger
95b929a6a6
apply review comments
2020-08-20 13:56:58 +02:00
A.Unger
c50399fb1d
use micro errors on handlers
2020-08-20 11:25:39 +02:00
A.Unger
038b9144af
write bundle only if neccessary (OCIS-363)
2020-08-19 16:20:07 +02:00
A.Unger
5f07c992da
go-micro errors on bundles (OCIS-363)
2020-08-19 16:19:48 +02:00
A.Unger
d59bc0b4b9
tidy (OCIS-363)
2020-08-19 16:17:36 +02:00
Benedikt Kulmann
20d95f23fa
Make linter happy
2020-08-19 12:55:11 +02:00
Benedikt Kulmann
65d71bd6fd
Add role service and manager
2020-08-19 12:55:11 +02:00
Benedikt Kulmann
189a811da5
pre-allocate record slices
2020-08-19 12:14:25 +02:00
Benedikt Kulmann
8282f348eb
Make linter happy
2020-08-19 10:20:54 +02:00
Benedikt Kulmann
535717a025
Add tests for filesystem store implementation
2020-08-19 10:20:54 +02:00
Benedikt Kulmann
acff61c406
Fix data path
2020-08-19 10:20:53 +02:00
Benedikt Kulmann
3cb272e76e
Switch to uuids and simplify names
...
- bundles, settings and values now have uuids as identifier
- removed unnecessary name parts (SettingsBundle -> Bundle,
SettingsValue -> Value, ...)
2020-08-19 10:20:51 +02:00
Benedikt Kulmann
e7d3bb2063
Make get and list side effect free
...
Previously, Get and List requests could have the side effect of creating
folders. Creating required folders now only happens on save requests.
2020-06-03 13:00:14 +02:00
Benedikt Kulmann
ac98d4b85b
Adapt validation for list requests on bundles and values
...
There are certain scenarios where fields of the Identifier are allowed
to be empty. If they are not empty they still have to match our
requirements for the contents of those fields (alphanumeric, -, _). This
is taken into acccount as well now.
2020-06-03 11:23:24 +02:00
A.Unger
c219866c7a
fix golangci offenses
2020-05-22 10:24:01 +02:00
Benedikt Kulmann
b2a9be81f3
Remove unused code
2020-05-22 09:30:14 +02:00
Benedikt Kulmann
88b0ecc643
Improve code doc
2020-05-22 09:19:06 +02:00
Benedikt Kulmann
03f7c8dd7d
Implement loading/saving multi and single select
2020-05-07 17:57:09 +02:00
Benedikt Kulmann
e44654dc9d
Integrate loaded settings values into ui
...
Not yet done for single choice and multi choice, but getting there...
2020-05-07 07:42:50 +02:00
Benedikt Kulmann
8a6a06fcb8
Settings values protobuf and service
2020-04-29 09:51:22 +02:00
Benedikt Kulmann
2ea182243f
Add settings value protobuf and store implementation
2020-04-28 19:47:04 +02:00
Benedikt Kulmann
4ce01fe8c0
Move settings bundles into appropriate sub folders
2020-04-28 12:31:25 +02:00
Benedikt Kulmann
5ac5a6c1db
Parse bundles from files for list calls.
...
Side effect: get rid of code duplication for listing extensions.
2020-04-22 16:11:41 +02:00
Benedikt Kulmann
4617e7c6cc
Introduce file locking and fs abstraction
2020-04-21 12:00:34 +02:00
Benedikt Kulmann
d3412c965a
Rename List to ListAll
2020-04-21 09:16:53 +02:00
A.Unger
99c372a8ef
use jsonpb Marshaler/unmarshal
2020-04-16 12:49:51 +02:00
Benedikt Kulmann
5b89729d1e
Basic service boilerplate for settings bundles
2020-04-16 10:07:45 +02:00