Commit Graph

50 Commits

Author SHA1 Message Date
107a317095 fix: Capitalize struct fields for public access
All checks were successful
Gitea Build Check / Build (push) Successful in 1m2s
2024-10-25 22:46:22 +02:00
41882b9bfb feat: Refactor task execution to use Plug interface and update algorithm implementation
All checks were successful
Gitea Build Check / Build (push) Successful in 1m3s
2024-10-25 22:33:13 +02:00
684d52d64c feat: pumped SDK version to 4.0.0
All checks were successful
Gitea Build Check / Build (push) Successful in 58s
Gitea Build Check / Build (pull_request) Successful in 58s
2024-10-16 12:20:21 +02:00
a99c4457d2 fix: Handle multiple error returns in TaskStart by joining errors
All checks were successful
Gitea Build Check / Build (push) Successful in 58s
Gitea Build Check / Build (pull_request) Successful in 58s
2024-10-16 12:12:20 +02:00
cc2b0374da fix: Refactor error handling by introducing errorString function to check for nil errors
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
Gitea Build Check / Build (pull_request) Successful in 59s
2024-10-16 10:22:35 +02:00
2707806a08 feat: Update scrape history on task failure and completion
All checks were successful
Gitea Build Check / Build (push) Successful in 56s
2024-10-16 10:11:00 +02:00
22b0edabfe fix(grpc): force ID length to 25 chars
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
2024-10-16 09:47:48 +02:00
9de22d3176 feat: Add ScrapeHistory tracking and refactor task execution return type
All checks were successful
Gitea Build Check / Build (push) Successful in 58s
- Add `ScrapeHistory` record creation and update during task execution
- Modify `TaskExecution` function to return `TaskSummery` instead of using a cancel function
- Reintroduce and move `removeTask` function for cleanup after task execution
2024-10-15 16:08:34 +02:00
38cecba455 fix(grpc): spelling
All checks were successful
Gitea Build Check / Build (push) Successful in 48s
Gitea Build Check / Build (pull_request) Successful in 50s
2024-09-04 14:56:27 +02:00
b497348d2a feat(grpc): add logging
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 47s
2024-09-04 14:53:01 +02:00
2c8d6bd682 fix(grpc): get necessary information
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 53s
getting data from database for the userSource
2024-09-04 14:17:00 +02:00
601ce9eae7 feat(grpc): added GetUserMessages & SendMessage
All checks were successful
Gitea Build Check / Build (push) Successful in 50s
Gitea Build Check / Build (pull_request) Successful in 53s
finalized first draft for the endpoint integration
2024-09-04 14:01:04 +02:00
42954c7cf1 feat(grpc): added ping
added ping function
2024-09-04 13:41:29 +02:00
909e84fe1c feat(grpc): added middleware
All checks were successful
Gitea Build Check / Build (push) Successful in 42s
Gitea Build Check / Build (pull_request) Successful in 44s
added the ability to receive otel data from clients
2024-08-30 15:20:32 +02:00
76174e3247 feat(dependencies): update to latest version
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 51s
updated OtterSpaceSDK to v4.0.0
2024-08-29 15:26:58 +02:00
ea41bef942 fix: move before new context gets created
All checks were successful
Gitea Build Check / Build (push) Successful in 39s
Gitea Build Check / Build (pull_request) Successful in 47s
2024-08-27 14:21:33 +02:00
caef31f48f feat: Add validation check for user account before starting task
All checks were successful
Gitea Build Check / Build (push) Successful in 43s
Gitea Build Check / Build (pull_request) Successful in 45s
2024-08-27 14:17:31 +02:00
19b96e64e1 feat: added summery
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 42s
Gitea Build Check / Build (push) Successful in 44s
- Introduce `BatchSummery` struct for post and favorite counts
- Add `BatchPostProcessingWithSummery` function to include summary
- Update error returns to include empty `BatchSummery` struct
2024-08-27 12:25:00 +02:00
969bc17737 feat(telemetry): added more info 2024-08-27 10:04:55 +02:00
942bbede1b feat(telemetry): added light logging 2024-08-27 09:56:52 +02:00
08e4364069 feat(telemetry): Integrate OpenTelemetry tracing into BatchPostProcessing function 2024-08-27 09:49:20 +02:00
0070352623 fix: upsertSource function
now returning the correct source after finding it or creating it
2024-08-27 09:35:25 +02:00
f708706d50 feat: Add batch post-processing functionality for scraping posts 2024-08-27 09:15:17 +02:00
7975791d9b chore: sort imports 2024-08-27 08:26:39 +02:00
ceba57ffd8 refactor: move source function to own function 2024-08-27 07:50:36 +02:00
23bae0a5f8 refactor: move object functions to own ones 2024-08-27 07:45:30 +02:00
c0f069b3c0 refactor: remove telemetry from getter and setter functions 2024-08-27 07:38:24 +02:00
311de674ba feat: listen function now has an own context and implemented an graceful stop 2024-08-27 07:37:19 +02:00
130f6928fc refactor: move otlp to custom file out of the scope from plug instance 2024-08-27 07:32:24 +02:00
7ce3b94756 feat: Assign new context with span context to address gRPC closure issue 2024-08-26 16:44:50 +02:00
426701f58c fix: context creation to use request context in TaskStart method 2024-08-26 16:38:14 +02:00
bef94becce feat: tracer initialization and add OTLP text map propagator setup 2024-08-26 16:33:40 +02:00
e070fb8dcf feat(telemetry): initial
added first draft of tracing and logging, may need to be improved
2024-08-26 15:42:42 +02:00
8e44948927 refactor(telemetry): initialization of tracer and logger
logger initialization and tracer usage in Plug struct for consistency
2024-08-26 13:05:50 +02:00
5aeb04951f feat(telemetry): telemetry & logging
added first idea of telemetry into the SDK, may needs more work
2024-08-26 13:01:31 +02:00
119d3b6d0d fix: Make CreatedAt field a pointer in Message struct 2024-08-26 10:57:05 +02:00
25db8e8bf7 feat(grpc): updated to latest protobuf & updated dependencies 2024-08-26 10:51:00 +02:00
b445f5c362 refactor: Remove unused error handling and simplify no data found check in server.go 2024-08-25 00:09:21 +02:00
6b10ff2766 refactor: error handling in Plug.Listen method
- Introduce a new function to create the no data found error
- Simplify error checking logic for clarity and consistency
2024-08-25 00:05:16 +02:00
eef3296435 fix: error handling
using pointer for noDataFoundError check in Listen method
2024-08-24 23:59:42 +02:00
08fc9e5e33 refacotr: error handling in Listen method to use variable for noDataFoundError 2024-08-24 23:52:36 +02:00
969c2d90d9 fix: Fix error handling for source retrieval in Listen method 2024-08-24 23:50:02 +02:00
40be98100e fix(error): Refactor error handling to use errors.Is for more robust database error checking in Listen method. 2024-08-24 23:42:38 +02:00
7d4ce9f359 refactor(source): function header
changed function header to use the UserSources as information source
2024-08-17 20:23:11 +02:00
b6974c4a9f feat(source): Include source parameter in gRPC server methods and initialization 2024-08-15 09:56:40 +02:00
c01290847d fix(module): Update SDK import paths to use correct casing 2024-08-14 16:16:42 +02:00
8fa77e186b fix(module): Update SDK import paths to use correct casing 2024-08-14 16:12:48 +02:00
cf4a5bc9a2 feat(database): Update SDK to v3 and refactor database 2024-08-14 16:06:53 +02:00
91bd27ad98 fix: change old git urls to anthrove urls 2024-07-19 21:57:01 +02:00
1abc5cbae0 migration from old git (no git history) 2024-07-19 15:28:48 +02:00