Permalink
Commits on Jul 14, 2010
  1. bug 1742 - libconflate handles single-JSON REST polling better

    A user was trying moxi/libconflate against their own REST/HTTP server,
    which was not following the tested, advanced streaming REST pattern
    that ns_server/menelaus provides (which streams a little more JSON
    on a long-running connection whenever the cluster config changes).
    
    Instead, the user's REST/HTTP server was just providing a single JSON
    response and ending the connection, like most of the world will
    probably attempt and expect in their first interaction with moxi.
    
    With this change, libconflate now informs callbacks during this single
    JSON response case, and the 1-second sleep-looping now happens for
    more code pathways.
    
    Also, null terminated the assembled JSON response correctly.
    
    Change-Id: Iec5585bdb100da28e36d2373ed6ce1fe13510fc1
    Reviewed-on: http://review.northscale.com/1149
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Eric Lambert <eric.d.lambert@gmail.com>
    steveyen committed Jul 14, 2010
Commits on Jul 12, 2010
  1. bug 1719 - moxi should not run when passed a bad REST/URL

    With this change, if libconflate cannot contact the REST/HTTP server
    at the given URL the first time, it exits the process.
    
    A better change would be to callback the caller/libconflate-API-client
    so that the program (such as moxi) can cleanup more effectively.
    Since all API users (like moxi) are currently stateless, this isn't
    completely horrible at the moment.
    
    Change-Id: I06ec533e6c72dd5a2c1412df8254f48afa186412
    Reviewed-on: http://review.northscale.com/1099
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
    steveyen committed with dustin Jul 12, 2010
Commits on Jun 10, 2010
  1. allow caller to specify full URL for REST.

    This is done through the (now poorly named) host slot in the
    conflate struct.  Eg, a host might look like the URL of...
    
      http://localhost:8080/pools/default/bucketsStreaming/default
    steveyen committed Jun 10, 2010
Commits on Jun 9, 2010
  1. ./configure --with-curl=yes

    steveyen committed Jun 9, 2010
Commits on Jun 8, 2010
  1. ugly hacks to workaround rhel build

    pkg-config on the builders is ancient, so this workaround puts
    the latest pkg.m4 macros (from osx) together with the ancient
    pkg-config, and it seems to work for now.
    steveyen committed Jun 8, 2010
  2. pandora m4 subdirectory

    steveyen committed Jun 8, 2010
Commits on Jun 2, 2010
  1. ./configure --with-check=yes

    Some of our build environments temporarily don't have the
    check unit testing tools (windows, etc), so workaround for now
    with a configure flag.
    steveyen committed Jun 2, 2010
Commits on Jun 1, 2010
  1. configure --with-sqlite=no

    steveyen committed Jun 1, 2010
  2. configure params for --with-rest=yes

    To avoid XMPP (and libstrophe), and instead use REST only...
    
      ./configure --with-rest=yes --with-bundled-libstrophe=no
    
    That appropriately defines CONFLATE_USE_REST / CONFLATE_USE_XMPP to
    allow conditional compilation.  This helps users avoid the intricacies
    of getting libstrophe to work.
    steveyen committed Jun 1, 2010
Commits on May 25, 2010
Commits on Dec 2, 2009
Commits on Oct 13, 2009
Commits on Oct 12, 2009
Commits on Oct 10, 2009
  1. Submodule update, libstrophe.

    ingenthr committed Oct 10, 2009
Commits on Oct 9, 2009
Commits on Oct 8, 2009
Commits on Oct 5, 2009
  1. make sure that tests/test_common.h is included into dist. archive

    Aliaksey Kandratsenka committed with ingenthr Oct 2, 2009
Commits on Oct 1, 2009
Commits on Sep 29, 2009
  1. Merge remote branch 'origin/master'

    Aliaksey Kandratsenka committed Sep 29, 2009