Skip to content

Commit

Permalink
Merge pull request #17 from camptocamp/add-schema
Browse files Browse the repository at this point in the history
Add missing pg.schema to app.yml and log it
  • Loading branch information
f-necas authored Jan 22, 2024
2 parents dd412f7 + 8b3dbde commit d78b63b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ CollectionRepository postgisDataStoreCollectionRepository(DataStoreProvider dsPr

@Bean(name = "indexDataStore")
@DependsOn("databaseStartupValidator")
DataStoreProvider postgisDataStore(DataSource dataSource, @Value("${pg.schema:opendataindex}") String schema)
DataStoreProvider postgisDataStore(DataSource dataSource, @Value("${postgres.schema:opendataindex}") String schema)
throws IOException {
log.info("Schema used : " + schema);
Map<String, Object> params = Map.of(//
PostgisNGDataStoreFactory.DBTYPE.key, "postgis", //
PostgisNGDataStoreFactory.DATASOURCE.key, dataSource, //
Expand Down

0 comments on commit d78b63b

Please sign in to comment.