Skip to content
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

Merged
merged 40 commits into from Nov 5, 2017
Merged

Api and Management support minio #639

merged 40 commits into from Nov 5, 2017

Conversation

nataly87s
Copy link
Contributor

closes #613

@nataly87s nataly87s requested a review from Yshayy November 2, 2017 17:27
depends_on:
- minio
- redis
- management
Copy link
Contributor

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)
Copy link
Contributor

@Yshayy Yshayy Nov 5, 2017

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) {
Copy link
Contributor

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"

Copy link
Contributor

@Yshayy Yshayy left a 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.

@Yshayy
Copy link
Contributor

Yshayy commented Nov 5, 2017

We should also bump api major version since it's a breaking change.

@Yshayy
Copy link
Contributor

Yshayy commented Nov 5, 2017

Looks good!

@Yshayy
Copy link
Contributor

Yshayy commented Nov 5, 2017

Codefresh failures look real

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for storing bundled ruleset in object storage
2 participants