-
Notifications
You must be signed in to change notification settings - Fork 135
[UNOMI-828] Support for OpenSearch persistence #715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 63 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
88522d6
Minor Quickstart refactoring
d64bb8c
Merge changes from master branch
b33711b
Additional remove commands for actions, conditions, sessions, rules t…
9633313
Initial working OpenSearch implementation. Basic functionality is wor…
542e185
Merges from master
9a2a6c4
Bump all versions to 2.7
d3f3d52
Merge remote-tracking branch 'origin/master' into opensearch-persistence
fd3d315
Fix interface in blueprint descriptor
157e195
Fix interface in blueprint descriptor
aad652b
Fix interface in blueprint descriptor
e3fc559
- Fix issues with integration tests, ES tests now work 100%
0213604
- Remove old build scripts
88bfdc1
- Add new conditions bundle for ElasticSearch-specific conditions
16c6de9
Work on making integration tests work with OpenSearch:
8b6da3d
Work on making integration tests work with OpenSearch:
11c64e2
Add missing ASL header
4675847
- Introduce new ProgressListener system to indicate the current progr…
dc14b20
- Introduce new ProgressListener system to indicate the current progr…
00584ac
- Small cosmetic changes to the progress listener's top 10 slowest te…
1746cbe
- Add auto-start and no-karaf options to build script
f38336c
- Fix NO_COLOR handling
3827c24
- Add support for OpenSearch in docker images
c277570
- Improve plugin documentation to explain how to implement plugins fo…
1f7e585
- Add support for OpenSearch in docker images
9398f38
Merge remote-tracking branch 'origin/master' into opensearch-persistence
43016ca
Change max parallel stragegy to 1 to avoid port conflicts
e2125d6
- Make the search port configurable so that we can avoid conflicts be…
e4d021b
Update persistence-opensearch/conditions/src/main/java/org/apache/uno…
13b8018
Update persistence-opensearch/conditions/src/main/java/org/apache/uno…
1706f2b
Update persistence-opensearch/conditions/src/main/java/org/apache/uno…
65d035e
Update persistence-opensearch/core/src/main/java/org/apache/unomi/per…
43933c9
Merge remote-tracking branch 'origin/master' into opensearch-persistence
e73b3a0
Merge remote-tracking branch 'origin/master' into opensearch-persistence
591dd9d
- Remove Claude config file
b5e7c80
Fix some minor dependencies
52b8644
Make sure all OpenSearch documentation points to v3
76266de
Fix Unomi version in documentation
179927c
Refactor entrypoint.sh to build node URLs array for both OpenSearch a…
6a12089
Added a maximum number of retries to address issued raised during cod…
66bcd84
To address issue in code review, made sure we output to both the logg…
9f4e1b9
Enhance ProgressListener with detailed JUnit test run reporting featu…
4158fd0
Enhance ProgressSuite with detailed documentation and improved test m…
e037e71
Update RuleServiceIT to clarify default condition and action settings…
ea26460
Update healthcheck configuration to correct HTTP client settings for …
fc881bf
Update Unomi version in quickstart and migration documentation from 2…
3703d7c
Clarify integration test impact of Maven profile selection for OpenSe…
ce7c0b8
Update setenv.sh to modify KARAF_OPTS for OpenSearch integration and …
ddfbf1e
Refactor PropertyConditionEvaluator to use foldToASCII for string com…
d7da93b
Revert IPv6 fix
71368be
Refactor monthly index properties to rollover properties in configura…
ced81c5
Quick fix on description
d5e3f81
Refactor error handling in HealthCheckIT and OpenSearchPersistenceSer…
63d34f5
Revert test unit runner to default one, will introduce new ProgressLi…
65cf66e
- Rename all query builder IDs to no longer use a reference to Elasti…
f1f3e76
Add detailed Javadoc comments to aggregation and condition interfaces…
88d5aef
- Removed non OpenSearch specific changes
e8ca52a
Update CI workflow to use actions/setup-java@v4 and improve OpenSearc…
17adcff
Implement legacy query builder ID mapping for backward compatibility …
a6c8851
Refactor ConditionESQueryBuilderDispatcher and ConditionOSQueryBuilde…
13daeaf
Run the build serially to avoid parallel interference
91fd3ff
Merge branch 'master' into opensearch-persistence
sergehuber cd118d1
Update new poms to version 3.1.0
6d63ae0
Refactor condition query builder dispatchers to extend a new base cla…
0b0321f
Merge branch 'master' into opensearch-persistence
sergehuber b78ade3
Merge branch 'master' into opensearch-persistence
sergehuber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,122 @@ | ||
| ################################################################################ | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| ################################################################################ | ||
| version: '2.4' | ||
|
|
||
| # Define networks first | ||
| networks: | ||
| unomi-net: | ||
| driver: bridge | ||
|
|
||
| services: | ||
| opensearch-node1: | ||
| image: opensearchproject/opensearch:3.0.0 | ||
| container_name: opensearch-node1 | ||
| environment: | ||
| - cluster.name=opensearch-cluster | ||
| - node.name=opensearch-node1 | ||
| - discovery.seed_hosts=opensearch-node1,opensearch-node2 | ||
| - cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2 | ||
| - bootstrap.memory_lock=true | ||
| - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" | ||
| - OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD} | ||
| ulimits: | ||
| memlock: | ||
| soft: -1 | ||
| hard: -1 | ||
| nofile: | ||
| soft: 65536 | ||
| hard: 65536 | ||
| volumes: | ||
| - opensearch-data1:/usr/share/opensearch/data | ||
| ports: | ||
| - 9200:9200 | ||
| - 9600:9600 | ||
| networks: | ||
| unomi-net: | ||
| aliases: | ||
| - opensearch-node1 | ||
|
|
||
| opensearch-node2: | ||
| image: opensearchproject/opensearch:3.0.0 | ||
| container_name: opensearch-node2 | ||
| environment: | ||
| - cluster.name=opensearch-cluster | ||
| - node.name=opensearch-node2 | ||
| - discovery.seed_hosts=opensearch-node1,opensearch-node2 | ||
| - cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2 | ||
| - bootstrap.memory_lock=true | ||
| - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" | ||
| - OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD} | ||
| ulimits: | ||
| memlock: | ||
| soft: -1 | ||
| hard: -1 | ||
| nofile: | ||
| soft: 65536 | ||
| hard: 65536 | ||
| volumes: | ||
| - opensearch-data2:/usr/share/opensearch/data | ||
| networks: | ||
| unomi-net: | ||
| aliases: | ||
| - opensearch-node2 | ||
|
|
||
| opensearch-dashboards: | ||
| image: opensearchproject/opensearch-dashboards:3.0.0 | ||
| container_name: opensearch-dashboards | ||
| ports: | ||
| - 5601:5601 | ||
| environment: | ||
| OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]' | ||
| networks: | ||
| unomi-net: | ||
| aliases: | ||
| - opensearch-dashboards | ||
| depends_on: | ||
| - opensearch-node1 | ||
| - opensearch-node2 | ||
|
|
||
| unomi: | ||
| build: . | ||
| image: apache/unomi:${project.version} | ||
| container_name: unomi | ||
| environment: | ||
| - UNOMI_AUTO_START=opensearch | ||
| - UNOMI_OPENSEARCH_ADDRESSES=opensearch-node1:9200 | ||
| - UNOMI_OPENSEARCH_USERNAME=admin | ||
| - UNOMI_OPENSEARCH_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD} | ||
| # Debug settings | ||
| - KARAF_DEBUG=${DEBUG:-false} | ||
| - KARAF_DEBUG_PORT=${DEBUG_PORT:-5005} | ||
| - KARAF_DEBUG_SUSPEND=${DEBUG_SUSPEND:-n} | ||
| ports: | ||
| - 8181:8181 | ||
| - 9443:9443 | ||
| - 8102:8102 | ||
| # Debug port | ||
| - "${DEBUG_PORT:-5005}:5005" | ||
| depends_on: | ||
| - opensearch-node1 | ||
| - opensearch-node2 | ||
| networks: | ||
| unomi-net: | ||
| aliases: | ||
| - unomi | ||
|
|
||
| volumes: | ||
| opensearch-data1: | ||
| opensearch-data2: |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.