rfe11815: Callimachus auditing tests

With this change, the test.callimachus package now includes tests to
verify that an AG Callimachus repository is an Auditing repository.

make prepush passes.
make java doc runs clean.

No release note, test suite only.

Change-Id: Ieab1e319cc823665e5bd2161054bd7c0202761c8
Reviewed-on: https://gerrit.franz.com:9080/2498
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Gary Warren King <gwking@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11841: add AuditingPurgeTest and update repository-auditing library

With this change, the Callimachus repository-auditing library and test
code have been updated to use openrdf-alibaba-2.0-rc5.jar, and a new
AGAuditingPurgeTest was added.

Tests can be run using:

ant test-junit -Dtest=test.callimachus.AGAuditingPurgeTest
ant test-junit -Dtest=test.callimachus.AGAuditingTest

make prepush passes
make javadoc runs clean

No release note, test suite only.

Change-Id: I7dcc0ec55c84df5cb07fd141b9fa92251072ebf0
Reviewed-on: https://gerrit.franz.com:9080/2521
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Gary Warren King <gwking@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11868: prepush tests for DEFAULT and default dataset behavior

Added SparqlDefaultTest and SparqlDefaultDatasetTest to prepush
tests to verify that AG stores behave like Sesame stores w.r.t
the DEFAULT graph and default dataset behavior, respectively.

make prepush passes.

Just tests, no release note needed.

Change-Id: I3cfe51ccd2868db086bfb5d6e147aa835252200d
Reviewed-on: https://gerrit.franz.com:9080/2579
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11869: tests for Literal/Resource results and context passing

Added tests LiteralAndResourceResultsTest and ContextsVarargsTest to
test and demo how to get Literal/URI/BNode instances from results,
and various ways of passing contexts as varags or a Resource array
to help clarify and avoid pitfalls.

make prepush passes.

Just tests, no release note needed.

Change-Id: I0e45b99789503e56fe10557c5046569c6f2bf296
Reviewed-on: https://gerrit.franz.com:9080/2580
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11876: update the Sesame SPARQL Update test suite

This change updates the Sesame SPARQL Update tests in AGSparqlUpdateTest
and adds AGSparqlUpdateConformanceTest to run DAWG update tests.

Tests can be run using:

$ ant sparql-update-tests

which (by default) runs a local copy of 63 approved DAWG tests followed
by (coincidentally) 63 additional openrdf update tests.

Just tests, no release note needed.

Change-Id: I1c8a80036340e149ef643564394951dfef30d13e
Reviewed-on: https://gerrit.franz.com:9080/2583
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11878: testTriggerAuditing updated

With this change, AGCallimachusTest.testTriggerAuditing has been
updated for current Callimachus store auditing behavior.

AGCallimachusTest was added to prepush tests as a sanity check
for Callimachus support.  make prepush passes.

Auditing and AuditingPurge tests can now also be run using:

% ant callimachus-tests

No release note needed, these are test suite modifications.

Change-Id: I8319a6c9b2b9725d26755985bd5e4df4161648c9
Reviewed-on: https://gerrit.franz.com:9080/2598
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
bug21413: delete lingering repo in DynamicCatalogTests

Deleting a dynamic catalog doesn't delete the repos in that
catalog.  With this change, the java test now deletes the
repo in the catalog before deleting the catalog.

make prepush passes

Change-Id: I88656c4006ff3fea0c98c52bab85d4779cf43707
Reviewed-on: https://gerrit.franz.com:9080/2613
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11898: Add repo.setTransactional(false); to Callimachus tests

tests added    : no
tests run      : only the Callimachus ones
performance    : none
release note   : none, internal change to testing only
fast trackable : YES

The tests do not succeed without this switch.

Change-Id: I3f01bdffb0124d731f48ae1f7ec2d610b43010f1
Reviewed-on: https://gerrit.franz.com:9080/2618
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Resolve conflicts in 4.9 to 4.9.1 merge

Change-Id: I930b81bbd70455db025f76accb19548d87efd659
Fix error in merge from v4.9

Change-Id: I6e7df49d3b8e0d7e7118f9a9d59d288e13d2f323
Merge remote-tracking branch 'origin/v4.9' into v4.9.1
Get rid of use of .git-branch-name file

The hook that creates .git-branch-name is considered obsolete and does
not exist on all machines.

The .git-branch-name file was used by the ant build script to set
various variables, used for file naming and documentation purposes.
Standardize on AGVERSION in the makefile, which is passed by
build scripts from the acl repo and agraph/lisp/GNUmakefile.

Change-Id: Ic5315187318f31821fbc0c92e5cf2f0fa9ee7240
Merge remote-tracking branch 'origin/v4.9' into v4.9.1
Merge remote-tracking branch 'origin/v4.9' into v4.9.1
rfe12017: Upgrade to alibaba rc7 auditing tests

With this change, the Java client's Callimachus tests
have been upgraded to use the openrdf-alibaba-2.0-rc7
jar and AG auditing tests.  The setTransactional(false)
assumption that was previously required has now been
removed from the auditing tests due to fixes in rc7.

Change-Id: Idfecdfa9848d6a52fbae991ab46f3d5eaad6ef68
Reviewed-on: https://gerrit.franz.com:9080/2756
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe12026: rework tests for Callimachus changes

tests added    : yes
tests run      : yes
performance    : no change
release note   : none, internal only

In the longer term, we may want to reinstate
test.callimachus.AGCallimachusTest.testTriggerAuditing

I've also changed the original callimachus tests to work
around the external blank node exception:

java.lang.IllegalArgumentException: Cannot store external blank node
_:node17dr9c8b9x1 in AllegroGraph with the current settings. Please see
javadoc for AGHttpRepoClient#setAllowExternalBlankNodeIds(boolean) for
more details and options.

Change-Id: I31d1b1d974c1b319a6c2def00ae6375323f7b461
Reviewed-on: https://gerrit.franz.com:9080/2796
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe8384: limiting the duration of a query

now for v4.9.1

<release-note>
rfe8384: limiting the duration of a query

With this change, the Java client now supports limiting the duration
of a query.  When Sesame applications use the AGQuery#setMaxQueryTime
method, the AG server will timeout the query appropriately during
evaluation and clean up server resources, and the client library will
throw a QueryInterruptedException back to the client application.
</release-note>

AGRepositoryConnectionTest#testOrderByQueriesAreInterruptable passes.
make prepush passes.

Change-Id: Ia6aaa1906cb4c2f9817d1d93b5c0a4348ba309a6
Reviewed-on: https://gerrit.franz.com:9080/2914
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11527: support sessions that use the main server port

now for v4.9.1

<release-note>
With this change, the Java client can now be configured to have
sessions use the main server port rather than a dedicated port.
By default, a dedicated port will be used.  Setting the system
property com.franz.agraph.http.useMainPortForSessions=true will
configure the client to use the main port for sessions.
</release-note>

added SessionTests to prepush tests.
make prepush passes.
make javadoc runs clean.

Change-Id: Iac49a84844ac68b8314ff6ab9263a36570ff9ea4
Reviewed-on: https://gerrit.franz.com:9080/2915
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
fix expected counts for materializer test

now for v4.9.1

The materializer now adds axiom triples and this must
be reflected in the expected number of triples returned

Change-Id: Iae20eababcc27d173372bf2826d036e7cf70c757
Reviewed-on: https://gerrit.franz.com:9080/2801
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Reviewed-on: https://gerrit.franz.com:9080/2916
add phase-[1-6].[ds|nmon|vm] files to .gitignore

tests added    : no
tests run      : no
performance    : no change
release note   : none, internal change only
fast trackable : YES

Change-Id: I9d97aba7d8973bdf72bde978df99b031483a7477
Reviewed-on: https://gerrit.franz.com:9080/2913
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>