File tree Expand file tree Collapse file tree
killrvideo-commons/src/main/java/com/killrvideo/discovery Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ services:
8686 - " ../../cassandra.cert:/usr/src/app/cassandra.cert"
8787
8888 dse-config : # One-Time Bootstrap Container, configures DSE to have required keyspaces etc.
89- image : killrvideo/killrvideo-dse-config:3.0.0-rc1
89+ image : killrvideo/killrvideo-dse-config:3.0.0
9090 environment :
9191 KILLRVIDEO_SERVICE_DISCOVERY_DISABLED : ' true' # Backward Compatibility Requirement
9292 depends_on :
9393 - dse # Needs DSE to be running
9494 restart : on-failure # Kompose needs that to create dse-config as a pod, not a deployment. DSE-Config deployment is not needed as we run it only once.
9595
9696 generator :
97- image : killrvideo/killrvideo-generator:3.0.0-rc4
97+ image : killrvideo/killrvideo-generator:3.0.0
9898 depends_on :
9999 - backend
100100 environment :
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class ServiceDiscoveryDaoStatic implements ServiceDiscoveryDao {
4444
4545 @ Value ("${killrvideo.discovery.static.cassandra.contactPoints}" )
4646 private String cassandraContactPoints ;
47- @ Value ("#{environment.KILLRVIDEO_DSE_CONTACTPOINTS }" )
47+ @ Value ("#{environment.KILLRVIDEO_DSE_CONTACT_POINTS }" )
4848 private Optional <String > cassandraContactPointsEnvVar ;
4949
5050 /** {@inheritDoc} */
@@ -65,7 +65,7 @@ public List<String> lookup(String serviceName) {
6565 // Better than default spring : simpler
6666 if (!cassandraContactPointsEnvVar .isEmpty () && !cassandraContactPointsEnvVar .get ().isBlank ()) {
6767 cassandraContactPoints = cassandraContactPointsEnvVar .get ();
68- LOGGER .info (" + Reading contactPoints from KILLRVIDEO_DSE_CONTACTPOINTS " );
68+ LOGGER .info (" + Reading contactPoints from KILLRVIDEO_DSE_CONTACT_POINTS " );
6969 }
7070 Arrays .asList (cassandraContactPoints .split ("," ))
7171 .stream ()
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ MAINTAINER Davig Gilardi <david.gilardi@datastax.com>
77# # Environment Variables
88# #######################################################
99
10- ARG KILLRVIDEO_DSE_CONTACTPOINTS
11- ENV KILLRVIDEO_DSE_CONTACTPOINTS ${KILLRVIDEO_DSE_CONTACTPOINTS }
10+ ARG KILLRVIDEO_DSE_CONTACT_POINTS
11+ ENV KILLRVIDEO_DSE_CONTACT_POINTS ${KILLRVIDEO_DSE_CONTACT_POINTS }
1212
1313ARG KILLRVIDEO_DSE_USERNAME
1414ENV KILLRVIDEO_DSE_USERNAME ${KILLRVIDEO_DSE_USERNAME}
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ killrvideo:
8484 kafka :
8585 brokers : kafka
8686 port : 8082
87- # You can override this value by defining env var: §KILLRVIDEO_DSE_CONTACTPOINTS
87+ # You can override this value by defining env var: §KILLRVIDEO_DSE_CONTACT_POINTS
8888 cassandra :
8989 contactPoints : dse
9090 port : 9042
You can’t perform that action at this time.
0 commit comments