comparisons
Configuration
Required environment variables:
AZURE_STORAGE_CONN_STRING
: A connection string for an Azure Storage AccountAZURE_SEARCH_ENDPOINT
: An Azure Cognitive Search endpointAZURE_SEARCH_KEY
: An Azure Cognitive Search admin keyELASTICSEARCH_HOST
: An Elasticsearch host
Development
Docker Compose
- Copy
.env.template
to.env
and replace with your own values docker-compose up
Local environment
Tested with:
- Java 11
- Maven 3.6.2
export AZURE_STORAGE_CONN_STRING="<your_connection_string>"
# ... set other required env vars here
mvn spring-boot:run
Tip: Consuming unpublished libraries
Below are some useful commands when working with libraries that aren't published yet
Get the short hash of a Git commit
git rev-parse --short HEAD
Install a JAR into the local Maven repository
# if you have a pom file
mvn install:install-file -Dfile=my-library-1.0.0-beta.1.jar -DpomFile=my-library-1.0.0-beta.1.pom
# otherwise
mvn install:install-file -DgroupId=com.example -DartifactId=my-library -Dversion=1.0.0 -Dpackaging=jar -Dfile=/lib/my-library.jar