Commits on Feb 24, 2013
  1. @edwardcapriolo

    Follow up on xml removal

    edwardcapriolo committed Feb 24, 2013
  2. @edwardcapriolo

    No one is using this.

    edwardcapriolo committed Feb 24, 2013
  3. @edwardcapriolo
Commits on Feb 23, 2013
  1. @jsanda

    Adding support in IntraHandler for errors

    IntraHandlerJson now checks the response from the operation handler to see if
    it contains the exception or exceptionId fields. If so no further operations
    are executed. A couple tests have been added to RawJsonITest to go through
    some of the error handling scenarios.
    jsanda committed Feb 23, 2013
Commits on Feb 22, 2013
  1. @jsanda
  2. @jsanda

    updating CQL support and test coverage

    Adding a more comprehensive CQL test in RawJsonITest that creates a table,
    inserts data, and then queries for it. The query results getting returned
    looked like,
    
    {
      "name":"username",
      "value":"jsmith"
    },
    {
      "name":"age",
      "value":"\u0000\u0000\u0000\u001E"
    },
    {
      "name":"fname",
      "value":"John"
    },
    {
      "name":"lname",
      "value":"Smith"
    }
    
    There are two problems with this. The first is that the value for the age
    column was not properly converted. The second issue is that we are not
    tranposing the results as you would expect with other CQL clients like cqlsh.
    The above results in cqlsh would look something like,
    
    username | fname | lname | age
    ------------------------------
    jsmith     John    Smith   30
    
    This commit returns the transposed results that look like,
    
    {
      "lname":"Smith",
      "username":"jsmith",
      "age":30,
      "fname":"John"
    }
    
    Instead of returning 3 JSON objects, we return just the one. And also note that
    the type conversion for the age column is handled. I really think this is the
    way to go for the CQL query operation. If the client does not work the
    transposed results then he can use a GET or SLICE operation.
    jsanda committed Feb 22, 2013
  3. @jsanda

    Merge branch 'master' into async-requests

    Conflicts:
    	src/main/java/org/usergrid/vx/experimental/IntraOp.java
    	src/main/java/org/usergrid/vx/experimental/IntraReq.java
    	src/main/java/org/usergrid/vx/experimental/IntraRes.java
    	src/main/java/org/usergrid/vx/experimental/TypeHelper.java
    jsanda committed Feb 21, 2013
Commits on Feb 21, 2013
  1. @edwardcapriolo

    These are failing tests

    edwardcapriolo committed Feb 20, 2013
  2. Merge pull request #105 from jsanda/typehelper

    Updating TypeHelper to support all C* types
    committed Feb 20, 2013
  3. @jsanda
  4. @jsanda
Commits on Feb 20, 2013
  1. Merge pull request #101 from zznate/filterlast

    Filters in extended mode return last column seen
    committed Feb 19, 2013
Commits on Feb 19, 2013
  1. @edwardcapriolo
  2. @jsanda
  3. @jsanda
  4. @jsanda

    adding slice operation handler

    jsanda committed Feb 19, 2013
  5. @jsanda
Commits on Feb 18, 2013
  1. @jsanda
  2. @jsanda
Commits on Feb 17, 2013
  1. @jsanda

    fixing json property name, was using opRes but should be opsRes

    Also adding a system property that is used in IntraHandlerJson that allows for
    running RawJsonITest aganst the new async impl as well as against the sync
    impl. The tests that are currently enabled pass for both implementations.
    jsanda committed Feb 17, 2013
  2. @jsanda
  3. @jsanda

    removing requirement for operation handlers to include state object i…

    …s reply
    
    OperationsRequestHandler now has a state member variable of which a copy is
    made and sent in the message to each operation handler. If an operation
    handler includes a state object in its response, it is merged back into
    OperationsRequestHandler.state.
    jsanda committed Feb 17, 2013
  4. @jsanda

    adding set keyspace and create column family handlers

    There is another change with this commit to point out. In the sync version of
    these operations the set keyspace command sets the keyspace in a IntraState
    object that lives for the duration of the request. I haven't yet bothered to
    serialize an IntraState object, but put I have added a JsonObject named state
    that is included in the message sent to each operation handler.
    
    One drawback right now is that the operation handler has to be sure to include
    the state in its response message. I will look to remove that requirement in a
    future commit.
    jsanda committed Feb 17, 2013
  5. @jsanda

    initial support for processing a request through the event bus

    When IntraHandlerJson gets called it sends a message on the event bus to the
    address "request.json". The handler registered at that address sends a separate
    message on the bus for each operation. When all of the operations have
    completed we call the reply handler provided with the message sent to the
    request.json address. That reply handler ends the http response.
    
    So far I have this working with an initial test in RawJsonITest. Still several
    things to be worked out like error handling and most importantly implementing
    handlers for each of the defined operations.
    jsanda committed Feb 16, 2013
  6. @edwardcapriolo

    Merge pull request #99 from zznate/slicebyname

    You can slice by column names
    edwardcapriolo committed Feb 16, 2013
  7. @edwardcapriolo

    Well it is done

    edwardcapriolo committed Feb 16, 2013
Commits on Feb 16, 2013
  1. @edwardcapriolo

    Merge pull request #97 from zznate/ascannerdarkly

    Ok here is the dynamic code for a scanner, you can create a scanner it d...
    edwardcapriolo committed Feb 16, 2013
  2. @edwardcapriolo
  3. @edwardcapriolo

    Merge pull request #96 from zznate/perftests

    Perftests
    edwardcapriolo committed Feb 16, 2013
  4. @edwardcapriolo

    More perf tests

    edwardcapriolo committed Feb 16, 2013
Commits on Feb 15, 2013
  1. @jsanda

    first pass at async request handling

    This is far from optimal but tests are passing so it is at least minimally
    functional. There are a couple key changes in this commit.
    
    IntravertCassandraServer registers an event bus handler that listens for
    requests posted to "json-request". The handler calls
    IntraService.handleIntraReq and then replies to the message with the response
    converted to a JsonObject.
    
    IntraHandlerJson sends a message on the event bus and provides a handler that
    simply ends the http response.
    jsanda committed Feb 15, 2013
  2. @edwardcapriolo

    Merge pull request #94 from zznate/preparedcleanup

    Minor cleanup on prepared statement
    edwardcapriolo committed Feb 15, 2013
  3. @edwardcapriolo
  4. @edwardcapriolo

    Minor cleanup

    edwardcapriolo committed Feb 15, 2013
  5. @edwardcapriolo