Code Monkey home page Code Monkey logo

asyncapi-client's People

Contributors

dpetersen avatar foxlance avatar gpessacq avatar guapolo avatar jpmoral avatar matt-bishop avatar neilmarion avatar ramontayag avatar rodrigoulisses avatar sobrinho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jpmoral sobrinho

asyncapi-client's Issues

Keep potential header / auth requirements one-sided

To make things simpler, only the client should be the only one to know how to authenticate against the server. The server should not know of special headers/params (besides the recently implemented secret) to report back to the client.

This means that the feed of jobs in the client should be moved to the server. With this change, it will be the client's job to poll the server for jobs for which it has not gotten a reply from the server.

Circular dependency warning

/app/vendor/bundle/ruby/2.2.0/gems/asyncapi-client-0.4.0/app/services/asyncapi/client/update_job.rb:4: warning: circular argument reference - job
/app/vendor/bundle/ruby/2.2.0/gems/asyncapi-client-0.4.0/app/services/asyncapi/client/update_job.rb:4: warning: circular argument reference - params
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.15/lib/active_support/dependencies.rb:247:in `require': cannot load such file -- pry (LoadError)
    from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.15/lib/active_support/dependencies.rb:247:in `block in require'
    from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.15/lib/active_support/dependencies.rb:232:in `load_dependency'
    from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.15/lib/active_support/dependencies.rb:247:in `require'
    from /app/config/application.rb:33:in `block in <class:Application>'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/railtie.rb:224:in `call'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/railtie.rb:224:in `block in run_console_blocks'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/railtie.rb:245:in `each'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/railtie.rb:245:in `each_registered_block'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/railtie.rb:224:in `run_console_blocks'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/application.rb:421:in `run_console_blocks'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/engine.rb:434:in `load_console'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/commands/console.rb:51:in `initialize'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/commands/console.rb:9:in `new'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/commands/console.rb:9:in `start'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/commands/commands_tasks.rb:69:in `console'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/commands.rb:17:in `<top (required)>'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/app_rails_loader.rb:43:in `require'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/app_rails_loader.rb:43:in `block in exec_app_rails'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/app_rails_loader.rb:32:in `loop'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/app_rails_loader.rb:32:in `exec_app_rails'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/lib/rails/cli.rb:5:in `<top (required)>'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/bin/rails:9:in `require'
    from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.1.15/bin/rails:9:in `<top (required)>'
    from bin/rails:16:in `load'
    from bin/rails:16:in `<main>'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.