Skip to content

Commit f7c0654

Browse files
authored
Append powsybl cassandra keyspace prefix property to the keyspace name if exists. (#63)
Signed-off-by: sBouzols <[email protected]>
1 parent dff7075 commit f7c0654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geo-data-server/src/main/java/org/gridsuite/geodata/server/CassandraConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@EnableCassandraRepositories(basePackageClasses = LineRepository.class)
2929
public class CassandraConfig extends AbstractCassandraConfiguration {
3030

31-
@Value("${cassandra-keyspace:geo_data}")
31+
@Value("${powsybl-ws.cassandra.keyspace.prefix:}${cassandra-keyspace:geo_data}")
3232
private String keyspaceName;
3333

3434
@Override

0 commit comments

Comments
 (0)