refactor: remove unused code and fix documentation

- Remove CorrelationKeyFull() alias, use CorrelationKey() everywhere
- Remove duplicate TimeProvider interface from ports/source.go
- Remove unused time import from ports/source.go
- Update README.md: replace ./build.sh and ./test.sh with make commands
- Update RPM package names in README to match current version (1.0.3)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Jacquin Antoine
2026-03-01 00:26:07 +01:00
parent 9bb6ae3106
commit 41e763ad02
5 changed files with 13 additions and 27 deletions

View File

@ -2,7 +2,6 @@ package ports
import (
"context"
"time"
"github.com/logcorrelator/logcorrelator/internal/domain"
)
@ -35,11 +34,6 @@ type CorrelatedLogSink interface {
Name() string
}
// TimeProvider abstracts time for testability.
type TimeProvider interface {
Now() time.Time
}
// CorrelationProcessor defines the interface for the correlation service.
// This allows for easier testing and alternative implementations.
type CorrelationProcessor interface {