-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
153 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 |
---|---|---|
|
@@ -76,7 +76,9 @@ tests: | |
alfresco-search.enabled: false | ||
alfresco-search-enterprise.enabled: true | ||
elasticsearch.enabled: false | ||
global.search.auditIndex.external.enabled: true | ||
global.search.url: https://mydomain.opensearch.domain.tld | ||
global.search.auditIndex.external.url: https://mydomain.opensearch.audit.domain.tld | ||
global.search.flavor: elasticsearch | ||
global.search.securecomms: none | ||
# commented to test url has precedence | ||
|
@@ -108,6 +110,9 @@ tests: | |
- equal: | ||
path: data.SEARCH_URL | ||
value: https://mydomain.opensearch.domain.tld | ||
- equal: | ||
path: data.AUDIT_SEARCH_URL | ||
value: https://mydomain.opensearch.audit.domain.tld | ||
- notExists: | ||
path: data.SOLR_BASE_URL | ||
- equal: | ||
|
@@ -153,3 +158,39 @@ tests: | |
- equal: | ||
path: data.DATABASE_URL | ||
value: jdbc:postgresql://alfresco:QA6fMXtdr%3EK%2F8aDFft,MJ%40p%[email protected]:5432/alfresco | ||
|
||
- it: should render correct values when external elasticsearch and local elasticsearch for audit | ||
values: *testvalues | ||
set: | ||
global.search.url: https://my.external.elasticsearch.com | ||
global.search.username: externaluser | ||
asserts: | ||
- equal: | ||
path: data.SEARCH_URL | ||
value: https://my.external.elasticsearch.com | ||
- equal: | ||
path: data.AUDIT_SEARCH_URL | ||
value: http://RELEASE-NAME-elasticsearch:9200 | ||
|
||
- it: should render same external url when specific audit url is not set | ||
values: *testvalues | ||
set: | ||
global.search.url: https://my.external.elasticsearch.com | ||
global.search.auditIndex.external.enabled: true | ||
asserts: | ||
- equal: | ||
path: data.SEARCH_URL | ||
value: https://my.external.elasticsearch.com | ||
- equal: | ||
path: data.AUDIT_SEARCH_URL | ||
value: https://my.external.elasticsearch.com | ||
|
||
- it: should render same url for elasticsearch by default | ||
values: *testvalues | ||
asserts: | ||
- equal: | ||
path: data.SEARCH_URL | ||
value: http://RELEASE-NAME-elasticsearch:9200 | ||
- equal: | ||
path: data.AUDIT_SEARCH_URL | ||
value: http://RELEASE-NAME-elasticsearch:9200 |
This file contains 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 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