Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: v4.13.1
Commits on Dec 18, 2013
  1. @dklayer

    rfe12469: update java tests for sesame 2.7 transaction handling

    Gabor Melis authored dklayer committed
    Change-Id: I9240c24edebff0045689120e1cea3c021c40d598
    Reviewed-on: https://gerrit.franz.com:9080/3287
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Dec 12, 2013
  1. @dklayer
  2. @dklayer

    Java test suite adjustments

    Ahmon Dancy authored dklayer committed
    Revert log levels to their values prior to commit
    5534724.
    
    Disabled unreliable test.pool.AGConnPoolSessionTest.maxActive and
    test.pool.AGConnPoolClosingTest.openSockets_bug21099 tests.
    
    Change-Id: I59e6d57c4c1a469cd1dea61bcf0c2b686faa48f1
    Reviewed-on: https://gerrit.franz.com:9080/3639
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: Kevin Layer <layer@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Dec 5, 2013
  1. @dklayer

    rfe12743: (test only) remove some spurious warnings and error message…

    Gary King authored dklayer committed
    …s from the log
    
    tests added    : no (changed)
    tests run      : agtest.sh 2
    performance    : no change
    release note   : none, test change only
    
    Change tests to match new condition string.
    
    Change-Id: Ica8cc8731ba6849b53952b0e09bae57199b0ffe5
    Reviewed-on: https://gerrit.franz.com:9080/3595
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Dec 3, 2013
  1. @dklayer

    rfe12590: events tests with shared backends

    Gabor Melis authored dklayer committed
    When passing --shared the events test uses shared backends instead of
    dedicated sessions.
    
    tests run: java event tests
    release note: no, internal change
    
    Change-Id: Ic6e6f24dd42898beedab2af96458e9434aa46b34
    Reviewed-on: https://gerrit.franz.com:9080/3397
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Sep 20, 2013
  1. @dklayer

    bug21927: xsd:dateTime timezone roundtrip

    Gabor Melis authored dklayer committed
    Zoneless datetimes don't get turned into zoney ones anymore. Update
    the java tests.
    
    Change-Id: I70f52acfe2962f447832a5f48e42043016d270b3
    Reviewed-on: https://gerrit.franz.com:9080/3321
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Sep 18, 2013
  1. @dklayer

    Added links to sparql magic properties

    David Margolies authored dklayer committed
    Added links in geospatial and SNA sections to SPARQL magic properties
    section on those topics.
    
    Change-Id: I12acc576e7021a78ae2f503563417aee208d3779
    Reviewed-on: https://gerrit.franz.com:9080/3322
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Sep 11, 2013
  1. @dklayer

    bug21953. Don't always write POST query params to body.

    Mikel Bancroft authored dklayer committed
    If the body of a POST request is not
    application/x-www-form-urlencoded, an HTTP server may not search for
    the query parameters in the body of the request. If the
    content type is application/x-www-form-urlencoded and there is no body
    to the request, write parameters to the body. Else, write them to the
    URL.
    
    Tests added for:     none
    make test-suite run? java-bigger-test
    
    <release-note>
    bug21953. Fix generation of some POST method requests.
    
    AGHTTPClient would write query parameters to the body of POST requests
    when the content-type was not application/x-www-form-urlencoded. This
    can result in http servers not finding the query parameters, and
    processing the request incorrectly. This bug corrects the problem by
    writing POST request query parameters to the URL, unless the request
    has no body and the content type is application/x-www-form/urlencoded.
    
    AGRepositoryConnection.load() now works for importing server-side
    statements.
    
    </release-note>
    
    Change-Id: Ib5aa301fdf0c6eb716722090a0e60d002780a6ca
    Reviewed-on: https://gerrit.franz.com:9080/3340
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Jul 17, 2013
  1. @dklayer

    bug21853: Connection Pool session port connection failure

    Sebastian Leks authored dklayer committed
    <release-note>
    bug21853: Connection Pool session port connection failure
    
    Under certain circumstances, the AllegroGraph Java client would throw
    an exception like the following:
    
    com.franz.agraph.http.exception.AGHttpException: Possible session port
    connection failure.  Consult the Server Installation document for
    correct settings for SessionPorts.
    
    This exception could occur even with properly configured SessionPorts
    settings.
    
    This problem has been resolved.
    </release-note>
    
    This bug fix resolves the Connection Pool exceptions with message body
    related to improperly configured Session Ports and/or
    HttpConnectionManager.  The exception was shown regardless of the
    Session Ports configuration, while the java client was executing in
    multi-threaded environment.  The concurrent access to the connection
    resulted in warnings and exceptions:
    org.openrdf.query.QueryEvaluationException:
    com.franz.agraph.http.exception.AGHttpException: Possible session port
    connection failure.
    
    The resolution changes the generation of new pooled connections from
    using a SingleThreadedHttpConnectionManager to a thread safe
    MultiThreadedHttpConnectionManager.
    
    Tests added for: bug21853
    make test-suite run: java-bigger-test
    
    Change-Id: Iba5742941fb3c3ce3fbbba58fb0124058eb3cf93
    Reviewed-on: https://gerrit.franz.com:9080/3223
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Jul 2, 2013
  1. @dklayer

    Added mechanism to dump agraph.log to stdout on test failure

    Ahmon Dancy authored dklayer committed
    In the run-java macro in build.xml, change
    
    <sysproperty key="dump-agraph-log-on-test-failure" value="false"/>
    to
    <sysproperty key="dump-agraph-log-on-test-failure" value="true"/>
    
    to cause agraph.log to be dumped to stdout in the event of a test
    failure.
    
    Change-Id: Ib7e6c1a1f01b80b5da28d6932f7f9ccb14ef0718
    Reviewed-on: https://gerrit.franz.com:9080/3213
    Reviewed-by: John O'Rourke <jor@franz.com>
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Jul 1, 2013
  1. @dklayer

    Added mechanism to stop tests on first failure

    Ahmon Dancy authored dklayer committed
    In the run-java macro in build.xml, change
    
    <sysproperty key="test-failure-is-error" value="false"/>
    to
    <sysproperty key="test-failure-is-error" value="true"/>
    
    to treat test failures as errors.  This means that testing will
    terminate at the first failure instead of continuing on with a given
    test suite.
    
    Change-Id: I27e21fc84183b56b96a1fd242982d1a7537617ac
    Reviewed-on: https://gerrit.franz.com:9080/3212
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Jun 12, 2013
  1. @dklayer
Commits on Jun 4, 2013
  1. @dklayer

    Fixed documentation grammar

    Ahmon Dancy authored dklayer committed
    Changed an "a" to an "an".
    
    Change-Id: I3b160554d8a7abe8ebe51c50abdc818add35ca00
    Reviewed-on: https://gerrit.franz.com:9080/3105
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: Kevin Layer <layer@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  2. @dklayer

    bug21794 AGConnPoolClosingTest.openSockets_bug21099 test problems

    Ahmon Dancy authored dklayer committed
    In AGConnPoolClosingTest.openSockets_bug21099, changed
    AGPoolProp.numTestsPerEvictionRun from 5 to minIdle (10) so that all
    idle connnections in the pool will be examined during eviction runs.
    Prior to this change, only 5 were examined per eviction run and it was
    possible to get into a state where old connections were not being
    examined, resulting in test failure.
    
    Also added code comments in various places to aid future maintainers.
    
    Change-Id: If58989c41a3a258b9b8a879a80b69e4064802569
Commits on May 28, 2013
  1. @dklayer

    bug21794 AGConnPoolClosingTest.openSockets_bug21099 test problems

    Ahmon Dancy authored dklayer committed
    In AGConnPoolClosingTest.openSockets_bug21099, changed
    AGPoolProp.numTestsPerEvictionRun from 5 to minIdle (10) so that all
    idle connnections in the pool will be examined during eviction runs.
    Prior to this change, only 5 were examined per eviction run and it was
    possible to get into a state where old connections were not being
    examined, resulting in test failure.
    
    Also added code comments in various places to aid future maintainers.
    
    Change-Id: If58989c41a3a258b9b8a879a80b69e4064802569
    Reviewed-on: https://gerrit.franz.com:9080/3123
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: Ross Jekel <rjekel@franz.com>
    Reviewed-by: Kevin Layer <layer@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  2. @dklayer

    Provide means for disabling gzip encoding

    Ahmon Dancy authored dklayer committed
    If system property "com.franz.agraph.http.useGzip" is not "true" [*], HTTP
    requests will exclude the "Accept-encoding: gzip" header, allowing for
    more useful packet captures when desired.
    
    When testing via 'ant', Use -DuseGzip=false to disable gzip encoding.
    
    [*] The default is "true".
    
    Change-Id: I74c8c6f3921d979f3ecad1894133645df6aaf7ad
    Reviewed-on: https://gerrit.franz.com:9080/3122
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: Kevin Layer <layer@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  3. @dklayer

    Fixed documentation grammar

    Ahmon Dancy authored dklayer committed
    Changed an "a" to an "an".
    
    Change-Id: I3b160554d8a7abe8ebe51c50abdc818add35ca00
    Reviewed-on: https://gerrit.franz.com:9080/3105
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: Kevin Layer <layer@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on May 22, 2013
  1. @dklayer

    rfe12179: Add connection pooling to Java Events test

    Ross Jekel authored dklayer committed
    Added optional connection pooling to the events test.
    
    Depends on change 2900.
    
    Tests added for:     None
    make test-suite run? no - Tested Events by hand
    
    Change-Id: Ife3cfb9884c1500d18bf5d42435f24449996a387
    Reviewed-on: https://gerrit.franz.com:9080/2965
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on May 13, 2013
  1. @dklayer

    bug21741: fix java-bigger-test on non-franz machines

    Gabor Melis authored dklayer committed
    I have no idea what causes
    
        cp lib/sesame/commons-*.{jar,zip} $(DIST)/lib/sesame
    
    to fail with a 'cannot stat' error when the files are clearly there.
    Hand-expanding the {} expression fixes it.
    
    tests added: no
    tests run: java-bigger-test
    release note: no, internal change
    
    Change-Id: I59e820806d6c36162602af2f9acea3a7198ac96a
    Reviewed-on: https://gerrit.franz.com:9080/3052
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on May 8, 2013
  1. @dklayer

    Increase reliability of sessionLifetime_rfe9436 test

    Hudson Account authored dklayer committed
    * Added a bunch of comments to explain how the test works.
    
    * Rearranged some code for clarity.
    
    * Added some debug output.
    
    * Increased the delay margins in the test to allow for variations in
      system load/responsiveness.
    
    * build.xml: Increase verbosity during test runs to help determine
      what's going on when test failures occur.
    
    Change-Id: I4305c0b85392e3df2e0e49c453308fd40cec8e63
    Reviewed-on: https://gerrit.franz.com:9080/3109
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on May 7, 2013
  1. @dklayer

    rfe12118: AGRepository with connection pooling

    Bill Millar authored dklayer committed
    <release-note>
    rfe12118: AGRepository with connection pooling
    
    With this change, an AGRepository can now be configured to use
    a connection pool via the setConnPool method, enabling Sesame
    apps to transparently benefit from connection pooling.  See the
    javadoc for setConnPool for details.
    </release-note>
    
    Modified  AGConnPoolSessionTest and AGConnPoolClosingTest to
    run as Sesame apps.
    
    make prepush passes.
    
    Change-Id: Ie83dd04a97beddc479f1d38ac4dc35d9bbefd1a6
    Reviewed-on: https://gerrit.franz.com:9080/2900
    Reviewed-by: John O'Rourke <jor@franz.com>
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Apr 24, 2013
  1. @dklayer

    Additional cosmetic changes

    Ahmon Dancy authored dklayer committed
    Sprinkled some additional newlines into debug messages.
    
    Change-Id: Ic6974a073a99b11f67a88ad2180292375f4b383b
    Reviewed-on: https://gerrit.franz.com:9080/3072
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  2. @dklayer

    Tighten process id regexp in Util.java.netstat()

    Ahmon Dancy authored dklayer committed
    The original regular expression was too loose and could easily
    unintentially match port numbers.  This has been fixed.
    
    Testing change only.
    
    Change-Id: Ibd8b57c9fe1183d5c3d8376f509978819b8b39ee
    Reviewed-on: https://gerrit.franz.com:9080/3071
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Apr 17, 2013
  1. @dklayer

    rfe12260: automatically include temporal predicate mappings

    Gary King authored dklayer committed
    tests added    : no (changed)
    tests run      : yes
    performance    : no change
    release note   : none, see note in agraph repository
    
    Change-Id: If1cd049cf9801f96ff5369bf0a7638aef7d9a6f6
    Reviewed-on: https://gerrit.franz.com:9080/3058
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Apr 9, 2013
  1. @dklayer

    rfe12253: Timestamp java client tests

    Ahmon Dancy authored dklayer committed
    Added a timestamp to the beginning and end of test cases that are
    executed by TestRunner.
    
    Change-Id: I6d20ea8c73086820473d358e2b3b7b57a32b386a
    Reviewed-on: https://gerrit.franz.com:9080/3050
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  2. @dklayer

    Changed the name of a test

    Ahmon Dancy authored dklayer committed
    Changed sessionLifetime_rfe9634 to sessionLifetime_rfe9436.
    
    Change-Id: I18bdf803dbf1a65fb40a1d12264671162fdef1a3
    Reviewed-on: https://gerrit.franz.com:9080/3049
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  3. @dklayer

    Cosmetic and comment changes for openSockets_bug21099 test

    Ahmon Dancy authored dklayer committed
    Added a comment to explain the theory of operation of the
    openSockets_bug21099 test.
    
    Sprinkled around a few newlines to improve some output.
    
    Change-Id: Iecc991aa466a32bbc02882153af90ef4987f6653
    Reviewed-on: https://gerrit.franz.com:9080/3047
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  4. @dklayer

    Minor test adjustments

    Ahmon Dancy authored dklayer committed
    Attempt to clarify the openAG() test function by adding comments and
    giving names to some constants.  Reduced the run time of this test
    from 2 minutes to 45 seconds.
    
    Change-Id: I299630e21ccd1ccbf5ba077a1f69c579f3aadc23
    Reviewed-on: https://gerrit.franz.com:9080/3046
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Mar 19, 2013
Commits on Mar 15, 2013
  1. @dklayer

    rfe10513: configurable blankNodesPerRequest

    Bill Millar authored dklayer committed
    <release-note>
    rfe10513: configurable blankNodesPerRequest
    
    With this change, the Java client supports configuring the number
    of blank nodes automatically fetched per request to the server by
    the AGRepository's AGValueFactory.  The default remains at 100,
    but it can be configured by setting the property:
    
      com.franz.agraph.repository.blankNodesPerRequest
    
    Applications can also configure it directly, see the javadoc for
    AGValueFactory#setBlankNodesPerRequest for details.
    </release-note>
    
    Added BlankNodeTests#blankNodesPerRequest to prepush tests
    make prepush passes.
    
    Change-Id: I75f15cb3c8034858c25350fe642c8452c44c5b4a
    Reviewed-on: https://gerrit.franz.com:9080/2917
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  2. @dklayer

    rfe9869: support SPARQL/Update from Jena

    Bill Millar authored dklayer committed
    <release-note>
    rfe9869: support SPARQL/Update from Jena
    
    With this change the Jena adapter supports an execUpdate
    method in AGQueryExecution for executing SPARQL Updates.
    Jena Tutorial example13 has been augmented to demonstrate
    its use.
    </release-note>
    
    Added testJenaUpdate to SparqlUpdateTests
    make prepush passes.
    
    Change-Id: I517d18c7226c763a175855119862a4a080ef7844
    Reviewed-on: https://gerrit.franz.com:9080/2924
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Commits on Mar 7, 2013
  1. Merge remote-tracking branch 'origin/v4.9.2' into v4.11

    Gary King authored
    Conflicts:
    	src/com/franz/agraph/http/exception/AGQueryTimeoutException.java
    
    Change-Id: Ic3d5f5a19c60b77b3de2a99829787f942e704adf
Commits on Feb 14, 2013
  1. @dklayer

    bug21298: java test.TutorialTests.example8 depends on order

    Ross Jekel authored dklayer committed
    Changed the test to compare a set of lines instead of
    comparing the lines in order. This should allow AIMs
    to pass the test regardless of output order. Tested
    by changing the order of the exected files and
    ran java-prepush.
    
    Internal change. No doc changes needed.
    
    Tests added for:     None
    make test-suite run? yes - java-prepush
    
    Change-Id: I3d9755aa870db7d8375c2122064ced8ed21dbd53
    Reviewed-on: https://gerrit.franz.com:9080/2797
    Reviewed-by: John O'Rourke <jor@franz.com>
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  2. @dklayer

    Revert "rf12141: Example for AGRepository with connection pooling"

    dklayer authored
    This reverts commit f827da658053db5c3e19db9926821d69b892c511
    
    Change-Id: I6f9ab73cd88e1a933106a449afc60b1a674fef56
    Reviewed-on: https://gerrit.franz.com:9080/2944
    Reviewed-by: Kevin Layer <layer@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
  3. @dklayer

    rf12141: Example for AGRepository with connection pooling

    Bill Millar authored dklayer committed
    Shows how a Sesame app can configure an AGRepository to
    benefit transparently from connection pooling.
    
    No release note needed.
    
    Change-Id: I215053783096eaec33b5e11fce5591a7b003bc18
    Reviewed-on: https://gerrit.franz.com:9080/2930
    Reviewed-by: Ahmon Dancy <dancy@franz.com>
    Reviewed-by: John O'Rourke <jor@franz.com>
    Tested-by: Kevin Layer <layer@franz.com>
Something went wrong with that request. Please try again.