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

bidirectional gRPC outputs + fix server streaming gRPC outputs #1241

Merged
merged 19 commits into from
Jun 29, 2020

Commits on May 26, 2020

  1. fix(userspace/falco): virtual destructor of base grpc context

    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido committed May 26, 2020
    Configuration menu
    Copy the full SHA
    fa9ba19 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. update(userspace/falco): unsafe_size() method for falco::output::queue

    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido committed May 27, 2020
    Configuration menu
    Copy the full SHA
    b4022fb View commit details
    Browse the repository at this point in the history
  2. update(userspace/falco): context class for bidirectional gRPC services

    Co-authored-by: Lorenzo Fontana <lo@linux.com>
    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido and fntlnz committed May 27, 2020
    Configuration menu
    Copy the full SHA
    15ef0cb View commit details
    Browse the repository at this point in the history
  3. new(userspace/falco): output gRPC service to provide a server streami…

    …ng method and a bidirectional method to obtain Falco alerts
    
    Co-authored-by: Lorenzo Fontana <lo@linux.com>
    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido and fntlnz committed May 27, 2020
    Configuration menu
    Copy the full SHA
    e09509c View commit details
    Browse the repository at this point in the history
  4. new(userspace/falco): macro to REGISTER_BIDI gRPC services

    Co-authored-by: Lorenzo Fontana <lo@linux.com>
    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido and fntlnz committed May 27, 2020
    Configuration menu
    Copy the full SHA
    47f830c View commit details
    Browse the repository at this point in the history
  5. new(userspace/falco): gRPC context for bidirectional services

    Co-authored-by: Lorenzo Fontana <lo@linux.com>
    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido and fntlnz committed May 27, 2020
    Configuration menu
    Copy the full SHA
    2e562fa View commit details
    Browse the repository at this point in the history
  6. new(userspace/falco): concrete initial implementation of the subscrib…

    …e gRPC service
    
    Co-authored-by: Lorenzo Fontana <lo@linux.com>
    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido and fntlnz committed May 27, 2020
    Configuration menu
    Copy the full SHA
    8e2a50e View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. wip(userspace/falco): bidirectional gRPC outputs logic (initial)

    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido committed May 28, 2020
    Configuration menu
    Copy the full SHA
    fa41be7 View commit details
    Browse the repository at this point in the history
  2. update(userspace/falco/grpc): dealing with multiple streaming requests

    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed May 28, 2020
    Configuration menu
    Copy the full SHA
    93eb326 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. update(userspace/falco/grpc): for stream contexts use a flag to detect

    if it is still running or not
    
    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    3e774f6 View commit details
    Browse the repository at this point in the history
  2. update(userspace/falco/grpc): bidirectional sub implementation

    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    c345af3 View commit details
    Browse the repository at this point in the history
  3. update(userspace/falco/grpc): simpler bidirectional context state

    transitions
    
    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    2c9c583 View commit details
    Browse the repository at this point in the history
  4. update(userspace/falco): remove output queue size

    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    8764bba View commit details
    Browse the repository at this point in the history
  5. update(userspace/falco): remove keepalive from output request

    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    47e71a2 View commit details
    Browse the repository at this point in the history
  6. update(proposals): keep Falco gRPC Outputs proposal in sync

    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    1f6dcaa View commit details
    Browse the repository at this point in the history
  7. update(userspace/falco): pluralize Falco output proto and service

    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    f5688f1 View commit details
    Browse the repository at this point in the history
  8. bc(userspace/falco): the Falco gRPC Outputs API are now "falco.output…

    …s.service/get" and "falco.outputs.service/sub"
    
    Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
    leodido committed May 29, 2020
    Configuration menu
    Copy the full SHA
    759aaa4 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. update(userspace/falco): better gRPC server logging

    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    b7155bf View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. update(userspace/falco): avoid memory allocation for falco output

    response
    
    Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
    Signed-off-by: Lorenzo Fontana <lo@linux.com>
    fntlnz and leodido committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    cd858c0 View commit details
    Browse the repository at this point in the history