Skip to content

Commit

Permalink
Merge pull request #18 from eea/develop
Browse files Browse the repository at this point in the history
fix: update env vars for elastic_index
  • Loading branch information
claudiaifrim authored Jun 11, 2024
2 parents db89c08 + 5fa3c22 commit 37ddbe0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [1.1.16](https://github.com/eea/volto-marine-policy/compare/1.1.15...1.1.16) - 11 June 2024

#### :bug: Bug Fixes

- fix: update env vars for elastic_index [nileshgulia1 - [`acd745c`](https://github.com/eea/volto-marine-policy/commit/acd745c5e82c2e8ed27e09ab7e4f1b7151136654)]

### [1.1.15](https://github.com/eea/volto-marine-policy/compare/1.1.14...1.1.15) - 10 June 2024

#### :bug: Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-marine-policy",
"version": "1.1.15",
"version": "1.1.16",
"description": "@eeacms/volto-marine-policy: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
5 changes: 3 additions & 2 deletions src/search/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { runtimeConfig } from '@plone/volto/runtime_config';
import { mergeConfig } from '@eeacms/search';
import facets from './facets';
import views from './views';
Expand Down Expand Up @@ -64,8 +65,8 @@ export default function install(config) {

config.searchui.marinemeasure = {
...mergeConfig(envConfig, config.searchui.globalsearch),
elastic_index: '_es/marinemeasure',
index_name: 'wisetest_searchui',
elastic_index: runtimeConfig['RAZZLE_ES_INDEX'] || '_es/globalsearch',
index_name: runtimeConfig['RAZZLE_ES_INDEX_NAME'] || 'data_searchui',
host: process.env.RAZZLE_ES_PROXY_ADDR || 'http://localhost:3000',
runtime_mappings: build_runtime_mappings(clusters),
};
Expand Down

0 comments on commit 37ddbe0

Please sign in to comment.