New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Api and Management support minio #639
Conversation
67e1f09
to
ce484af
Compare
CI/test-composition.yml
Outdated
depends_on: | ||
- minio | ||
- redis | ||
- management |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api doesn't need to depend on management if using minio
private readonly IDisposable _subscription; | ||
private readonly IConnectableObservable<Dictionary<string, RuleDefinition>> _pipeline; | ||
|
||
public MinioRulesDriver(IMinioClient minioClient, MinioRulesDriverSettings settings, ILogger logger = null, IScheduler scheduler = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMinioRulesetClient
}); | ||
} | ||
|
||
async function cleanStorage(allowed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe change "allowed" to "exclude"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, why the rules diagnostics provider is an addon?
Additionally, since the diagnostics provider is no longer tied to implementation detail, it can be moved to tweek api, like https://github.com/Soluto/tweek/blob/master/services/api/Tweek.ApiService.NetCore/Metrics/TimedContextDriver.cs
Every new .net project can add some overhead in terms of build time and maintenance.
We should also bump api major version since it's a breaking change. |
Looks good! |
Codefresh failures look real |
876ca06
to
ec9d7ba
Compare
closes #613