Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: api_tests
Commits on Jun 28, 2013
  1. @omarkj

    Added more API tests.

    omarkj authored
Commits on Jun 27, 2013
  1. @omarkj

    Merge pull request #47 from heroku/canary_fetch

    omarkj authored
    Merge Canary fetch to v69
  2. @omarkj

    Added some tests for `canary_fetch`. Since logplex

    omarkj authored
    doesn't use standard http to deliver the logs the
    body isn't tested in this test. That's something 
    I'd need to fix by writing a custom http client.
  3. @ferd

    Moving from crypto:md5/1 -> crypto:hash/2

    ferd authored
    crypto:md5(Data) is getting deprecated in favour of
    crypto:hash(md5,Data) in R16B02, and R16B01 will be generating warnings
    for it.
    
    This is preemptively future-proofing the code so we can keep using
    warning-as-errors settings.
Commits on Jun 26, 2013
  1. @omarkj
  2. @omarkj
  3. @omarkj
  4. @omarkj

    Added a upgrade script for v69 (shard

    omarkj authored
    replacements)
  5. @ferd

    Merge branch 'v68'

    ferd authored
  6. @omarkj

    Merge pull request #46 from heroku/shard_update

    omarkj authored
    Changes applied to the branch, so I'm merging it in to the master.
Commits on Jun 25, 2013
  1. @omarkj
  2. @omarkj
  3. @omarkj

    Check for the `LOGPLEX_NODE_NAME` variable and

    omarkj authored
    connect to it rather then the local node if it is
    set. This is mostly used for testing.
  4. @omarkj

    Removed the -s flag and added a -k flag to read

    omarkj authored
    from the file. Also did a bit of refactoring to
    be able to reuse more code.
  5. @ferd

    Adding redgrid management escript

    ferd authored
    The escript allows to do a few operations on redgrid:
    
    - get the redgrid process status
    - get a list of connected nodes according to redgrid
    - suspend redgrid (and unregister from it)
    - resume redgrid (and connect to it)
    
    The script connects as a hidden node.
Commits on Jun 21, 2013
  1. add canary fetch logs endpoint

    Tristan Sloughter authored
  2. @omarkj

    Created a escript that updates shards in a running

    omarkj authored
    logplex node.
  3. @omarkj

    Added a shorthand to updating the single node, it

    omarkj authored
    still uses the old functions but if the plan is to
    stop using them this should be refactored to not
    use rpc-style gen_server calls.
  4. @omarkj

    Since there is now only one type of shard

    omarkj authored
    replacement the atom that separated the old two
    types is now redundant.
  5. @omarkj

    Removed unused and broken `one_for_one` shard

    omarkj authored
    replacement.
Commits on Jun 18, 2013
  1. @ferd

    fixing test dependencies

    ferd authored
    fix suite argument order also
  2. @ferd
  3. @ferd
  4. @ferd

    Updating rebar to newer version

    ferd authored
  5. @ferd

    Allowing write concurrency on logplex_stats

    ferd authored
    Logplex_stats is a table that receives a very large amount of writes for
    one big read every minute. We should be able to generally benefit by
    reducing contention on resources given pretty much all drains write to
    that table, at the cost of a slightly longer blocking time when reading.
  6. @ferd

    Partial support for cowboy 0.8.5

    ferd authored
    Also upgrades the header on bad responses to contain the explanation
    instead of the generic HTTP message
  7. @ferd

    Requiring R16B

    ferd authored
  8. @ferd

    Adding a way to unregister a channel

    ferd authored
    Tests are included. The feature will be required when upgrading
    tcpsyslog drains from one kind to another -- the drain process itself
    will need to transfer the channel property to the drain buffer process,
    otherwise messages will be duplicated.
  9. @ferd

    Fixing bad shutdown in end_testcase

    ferd authored
    The end per testcase function is common to multiple tests, but some of
    them do not use an active drain. This fix makes the end_per_testcase
    function blind to whether it exists or not.
  10. @ferd

    Remove stale code from http drains

    ferd authored
    Had to do with runtime compatibility in older versions, no longer
    required.
  11. @ferd

    extend logplex_drain_buffer API

    ferd authored
    allow to resize the buffer dynamically, which would be useful to support
    an API similar to the tcpsyslog one.
  12. @ferd

    Bad shutdown fix

    ferd authored
    Part of tcpsyslog drains (when connected) were sensitive to a previous
    race condition on shutdown
  13. @ferd

    Basic test suite for TCP drains

    ferd authored
    The send behaviour is documented, along with basic L10'ing.
    There is otherwise not a need for tests as advanced as for the http
    drain buffers given there is not a lot of similar error handling code
    included. (TCP drains just ignore all send errors and keep going)
  14. @ferd

    Merge branch 'v67.1'

    ferd authored
Commits on Jun 14, 2013
  1. @ferd

    fixing redgrid monitor bug

    ferd authored
Something went wrong with that request. Please try again.