fschade
4ad3865d52
enhancement(search): prepare opensearch integration
2025-08-28 09:30:59 +02:00
Jörn Friedrich Dreyer
2c3ee68f08
ack tag events
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-08-20 14:43:46 +02:00
André Duffeck
7c59e57d43
Make batch size configurable
2025-08-04 16:14:56 +02:00
André Duffeck
7a7d148dcf
Fix tests
2025-08-04 15:39:27 +02:00
André Duffeck
3c8e2dacfd
Improve indexing performance using batches
2025-08-04 15:15:54 +02:00
André Duffeck
1afc1331af
Do not run the timout func if the work func has run
2025-08-01 10:03:56 +02:00
André Duffeck
4bafe2e611
Make sure to register prometheus collectors only once
2025-07-31 08:55:10 +02:00
André Duffeck
b4cc781832
Do not try to log metrics when we failed to get the consumer info
...
Fixes #1285
2025-07-29 14:19:00 +02:00
André Duffeck
3bd7a61e46
Document the metrics exposed in search and postprocessing
2025-07-18 08:50:03 +02:00
André Duffeck
dbd6a4db71
Fix tests
2025-07-17 16:00:11 +02:00
André Duffeck
791b4df173
Collect metrics about search and index durations
2025-07-17 15:23:57 +02:00
André Duffeck
273c0ed270
Expose nats metris for the postprocessing service
2025-07-17 15:23:57 +02:00
André Duffeck
400b9a5d30
Expose nats metrics of the search service
2025-07-17 14:33:23 +02:00
André Duffeck
e92f7c9086
Fix tests
2025-07-16 10:29:34 +02:00
André Duffeck
4998e1e09f
Inject a stream into HandleEvents to increase testability
2025-07-16 10:29:34 +02:00
André Duffeck
e21fe7a4fe
Expose the MaxAckPending and AckWait settings for the search service
2025-07-15 09:57:19 +02:00
André Duffeck
608af81913
Switch to the raw nats consumer instead of the go-micro events
...
This allows more direct control of the nats events. As a first step
we'll now acknowledge events manually, but in the future we'll add
metrics etc. to gain more insight into the queues.
2025-07-15 09:57:19 +02:00
Jörn Friedrich Dreyer
cf916b8a2c
fix ready checks
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-07-14 14:12:40 +02:00
06kellyjac
2a3a20693a
build: Modify mockery config to work with v3
...
Maintaining the positioning of the files from v2 to reduce cognitive
load.
Indentation of yaml files now matches `.editorconfig`.
All mock files regenerated.
Added empty `{}` following convention from `mockery init` etc.
Removed directory specification where it would already match.
2025-06-19 16:25:39 +01:00
Ralf Haferkamp
96684df32d
Adjust to new tablewriter release
2025-05-19 19:26:38 +02:00
Ralf Haferkamp
3dc9c0cb9a
Switch to opencloud-eu fork of libre-graph-api-go
2025-05-15 14:11:35 +02:00
Jörn Friedrich Dreyer
3c38a3e3ed
fix mockery warnings
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-04-29 11:01:17 +02:00
Ralf Haferkamp
24da3687d9
Makefile: remove unneeded recursion.mk
...
The MAKE_DEPTH variable is not used anywhere anymore.
2025-04-22 16:57:17 +02:00
Jörn Friedrich Dreyer
f0e62323cb
update generated code
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-03-27 10:06:45 +01:00
Ralf Haferkamp
48edc9a5d1
Reintroduce check for go before including bingo Makefile
...
This re-adds the check for go being installed before including the
bingo variables make file to avoid repeating errors about missing a
missing go binary when running 'make node-generate' in the ci (the node
container doesn't have go installed)
2025-03-11 11:19:20 +01:00
Ralf Haferkamp
c46e0c4b6b
Fix build with go 1.24
...
Go 1.24 does some stricter checks now on arguments to functions
accepting format strings.
This commit fixes a couple of "non-constant format string in call
to ..." errors when running the unit tests.
2025-03-10 10:43:34 +01:00
Florian Schade
dbafbaa333
fix: remove deprecations and use go-generate instead of go-generate-STAGE
2025-03-06 11:56:09 +01:00
Florian Schade
da1963cfa4
enhancement: split make ci-node-generate and ci-go-generate into prod and dev stages
2025-03-05 17:32:37 +01:00
Ralf Haferkamp
2678d0bb89
Bump mockery to 2.53.0
...
Should fix build on go1.24. Also fix ci-go-generate step in multiarch
Dockerfile.
Closes : #289
2025-03-03 16:02:59 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Jörn Friedrich Dreyer
8ac250952f
url fixes, more decisions
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-29 16:49:39 +01:00
Klaas Freitag
669ad7c769
Rename demo users
...
See https://github.com/opencloud-eu/internal/issues/42
2025-01-28 18:03:12 +01:00
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +01:00
André Duffeck
6bab922c7c
Rebrand search
2025-01-17 09:25:36 +01:00
Andre Duffeck
9a04b12a8e
Merge pull request #44 from opencloud-eu/nats-cluster-name
...
nats cluster name
2025-01-17 08:51:35 +01:00
Ralf Haferkamp
553ae7dfa3
Remove 'ocisConfig' struct tag leftovers
...
Support the 'ocisConfig' tag was removed long time ago with commit
1232f26fe4
2025-01-16 17:51:02 +01:00
Jörn Friedrich Dreyer
243ffe81c7
nats cluster name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 16:14:22 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
André Duffeck
8c8cdd9310
Adapt protobuf naming
2025-01-15 11:04:32 +01:00
Jörn Friedrich Dreyer
318ca21645
metrics, log and supervisor
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 16:09:54 +01:00
Jörn Friedrich Dreyer
56f57149ad
the OpenCloud services
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:50:23 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
André Duffeck
3c6840666f
Fix some naming issues to make make generate work again
2025-01-14 11:33:44 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
259cbc2e56
Merge pull request #8 from opencloud-eu/renaming-mockery
...
adjust mockery and protogen configs for new name
2025-01-13 16:31:35 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Ralf Haferkamp
01cde87af0
Adjust mockery configs for new name
2025-01-13 15:05:38 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Roman Perekhod
b82ad12fee
nats checks fixed
2024-10-18 17:30:39 +02:00