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

Add block clients capability #779

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Conversation

michalyaros
Copy link
Contributor

Pull Request Template

Prerequisites

  • If there is no issue related to your pull request - open one and assign yourself to it. If you're proposing a solution to an already opened issue - simply assign yourself to it.

Motivation

Describe the problem you're trying to solve or the feature you're proposing in addition to a link to the related issue.

Approach

How does this change address the problem?

Pull Request status

  • Initial implementation
  • Refactoring
  • Unit tests
  • Integration tests

Feel free to construct the checklist with whatever items seem most reasonable for your change. You could disassemble the Implementation part to even smaller separate checklist items if you're working on something big for example. But do make the effort to provide a checklist of some sort so that the core team as well as the community can have an idea about the progress of your Pull Request.

Third-party code

If you use third party code with your contribution such as, components, libraries, or snippets make sure to mention that.

Make sure that your contribution complies with our Contribution guidelines.

Work in Progress label

For as long as development of your Pull Request is still ongoing you MUST label it with a wip label as well as prefix the name of the PR with [WIP].

For example: [WIP] Service brokers API

api/api.go Outdated Show resolved Hide resolved
api/filters/check_blocked_clients_filter.go Show resolved Hide resolved
api/filters/check_blocked_clients_filter.go Show resolved Hide resolved
storage/postgres/broker_client_gen.go Outdated Show resolved Hide resolved
pkg/sm/sm.go Outdated

if err := json.Unmarshal(envelope.Data, &blockedClient); err != nil {
log.C(ctx).Info("error unmarshaling new blocked client")
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe i dont get your logic but if there is an error you are still adding to the cache the client ... ?

api/filters/check_blocked_clients_filter.go Outdated Show resolved Hide resolved
storage/local_cache.go Outdated Show resolved Hide resolved
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.

4 participants