The Config service is an implementation of the Spring Cloud config service with some DATAWAVE-specific extensions. In particular, this service adds the following on top of the default config service provided by Spring Cloud:
.p12 files. The default
Spring behavior is to take the extension and use it as the keystore type.
However, Java has no p12 keystore type, only pkcs12 and jks.Follow the instructions in the services/README, or...
First, build the service with:
mvn -Pexec clean package
# Optional: use -Pdocker instead of -Pexec to build a docker image
Next, check out and modify the sample_configuration directory from the services root project. Make configuration changes as appropriate for your environment. Or, if you prefer, create an entirely new configuration repo to expose via the configuration service.
Now launch the configuration service.
export CONFIG_DIR=/path/to/services-root
java -jar target/config-service*-exec.jar --spring.profiles.active=dev,nomessaging,native,open_actuator --spring.cloud.config.server.native.searchLocations=file://$CONFIG_DIR/sample_configuration
The Config service is an implementation of the Spring Cloud config service with some DATAWAVE-specific extensions. In particular, this service adds the following on top of the default config service provided by Spring Cloud:
.p12 files. The default
Spring behavior is to take the extension and use it as the keystore type.
However, Java has no p12 keystore type, only pkcs12 and jks.Follow the instructions in the services/README, or...
First, build the service with:
mvn -Pexec clean package
# Optional: use -Pdocker instead of -Pexec to build a docker image
Next, check out and modify the sample_configuration directory from the services root project. Make configuration changes as appropriate for your environment. Or, if you prefer, create an entirely new configuration repo to expose via the configuration service.
Now launch the configuration service.
export CONFIG_DIR=/path/to/services-root
java -jar target/config-service*-exec.jar --spring.profiles.active=dev,nomessaging,native,open_actuator --spring.cloud.config.server.native.searchLocations=file://$CONFIG_DIR/sample_configuration