SuccessChanges

Summary

  1. Fix Init Request handling (details)
  2. Refactor repository initialization and creation for functional tests (details)
  3. Fix an issue which prevents cloning into postgres from http. (details)
Commit 05e254ff1e5c5c4f57bb32f1a15d9b2f85676461 by Erik Merkle
Fix Init Request handling
Change the test framework so that it sends entities as
ImputRepresentation objects instead of StringRepresentation objects.
This makes the test clients work the way real clients work. Entities
backed by InputStreams are consumed during entity processing, where
String backed entities remain and can be re-consumed later.
Prevent the InitCommandResource from consuming the Init Request entity
too early. Init handling is different from other commands as the request
entity has information required to build the context in which the
command needs to run.
Signed-off-by: Erik Merkle <emerkle@boundlessgeo.com>
The file was modifiedsrc/web/functional/src/test/java/org/geogig/web/functional/DefaultFunctionalTestContext.java (diff)
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/rest/repository/InitCommandResource.java (diff)
Commit 856add55e1345741a8672fe006d2cd6a0b3c711a by Erik Merkle
Refactor repository initialization and creation for functional tests
Allow for repositories to be created, but not managed during tests.
Consolidate POST and PUT request sending in tests.
Signed-off-by: Erik Merkle <emerkle@boundlessgeo.com>
The file was modifiedsrc/web/functional/src/test/resources/features/commands/Config.feature (diff)
The file was addedsrc/web/functional/src/test/resources/features/init/InitConflict.feature
The file was modifiedsrc/web/functional/src/test/resources/features/commands/CreateRepository.feature (diff)
The file was modifiedsrc/web/functional/src/test/java/org/geogig/web/functional/DefaultFunctionalTestContext.java (diff)
The file was modifiedsrc/web/functional/src/test/java/org/geogig/web/functional/FunctionalTestContext.java (diff)
The file was modifiedsrc/web/functional/src/test/java/org/geogig/web/functional/WebAPICucumberHooks.java (diff)
The file was modifiedsrc/web/functional/src/test/resources/features/repo/MergeFeature.feature (diff)
The file was addedsrc/web/functional/src/test/java/org/geogig/web/functional/InitFunctionalTest.java
Commit 63e30c193c615db7d47c2c36de60d1ae991e7122 by Johnathan Garrett
Fix an issue which prevents cloning into postgres from http.
Signed-off-by: Johnathan Garrett <jd@prominentedge.com>
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGObjectStore.java (diff)
The file was modifiedsrc/core/src/test/java/org/locationtech/geogig/storage/impl/ObjectStoreConformanceTest.java (diff)