OSDP add location
Gitlab CI changed to remove the Rspec testing and replace with Java unit tests.
How environment properties are set in the container has changed, do not need to set them in the Dockerfile, they can be set when the container is run, so in the Puppet Hiera file. For testing the environment variables are set in the docker-compose file.
Removed all the Selenium testing code.
java/build.gradle
- integrationTest has been added as another sourceSet alongside test and main
- configures integrationTest task so that dockerCompose starts up containers before running tests and then closes them down after
BrowserTest and RestTest are the start of integration testing as java unit tests
Config package
- Catalogue configuration has been split into it's own class as it was getting very long.
- Indexing services have an initMethod rather than reindex method to let Spring handle the bean setup completely.
- SolrIndexing has been simplified removing most of the registered documentGenerators
WellKnownText interface allows different documenTypes to have there location information indexed in a standard way, cutting down the number of SolrDocumentGenorators required.
@AllArgsConstructor cut out a lot of boilerplate code
The actual point of this work is in the web folder, the GeometryView allows bounding boxes to be created.