Skip to content
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

CCD-5570 Update values.preview.template.yaml point to test ES cloud #2458

Draft
wants to merge 23 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
58a1164
Update values.preview.template.yaml
nathan-clark Jul 22, 2024
d93a62f
Merge branch 'develop' into nathan-clark-patch-2
nathan-clark Jul 22, 2024
6c58233
Update values.preview.template.yaml
nathan-clark Jul 22, 2024
034243c
Update values.preview.template.yaml
nathan-clark Jul 31, 2024
cab68ad
Update values.preview.template.yaml
nathan-clark Aug 5, 2024
9ec2907
Merge branch 'develop' into nathan-clark-patch-2
bharatkumarpatel1 Aug 21, 2024
7494bcc
temp pr created
bharatkumarpatel1 Aug 21, 2024
0ef1587
temp pr created
bharatkumarpatel1 Aug 21, 2024
ff95390
temp pr created
bharatkumarpatel1 Aug 21, 2024
926cfad
Merge branch 'develop' into nathan-clark-patch-2
bharatkumarpatel1 Aug 22, 2024
eeb819d
Merge branch 'nathan-clark-patch-2' into Temp_PR_1492_2458
bharatkumarpatel1 Aug 22, 2024
f0dc1fe
Merge pull request #2465 from hmcts/Temp_PR_1492_2458
bharatkumarpatel1 Aug 22, 2024
a218e9d
Trigger Build
bharatkumarpatel1 Aug 22, 2024
332b58d
empty commit to trigger build
bharatkumarpatel1 Aug 22, 2024
4462068
empty commit to trigger build
bharatkumarpatel1 Aug 22, 2024
8f3f492
Update Jenkinsfile_CNP
bharatkumarpatel1 Aug 22, 2024
b311133
empty commit to trigger build
bharatkumarpatel1 Aug 23, 2024
67bb127
Update values.preview.template.yaml
bharatkumarpatel1 Aug 23, 2024
92f493f
Update values.preview.template.yaml
bharatkumarpatel1 Aug 23, 2024
5eb4850
Update values.preview.template.yaml
nathan-clark Aug 23, 2024
ade46ec
Update build.gradle
RebeccaBaker Aug 28, 2024
4535fac
Update values.preview.template.yaml
RebeccaBaker Sep 2, 2024
30c8701
Update values.preview.template.yaml
nathan-clark Sep 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def branchesToSync = ['demo', 'ithc', 'perftest', 'develop']

// Variables to switch pipeline logic and wiring per type of build

def definitionStoreDevelopPr = "PR-575" // This doesn't change frequently, but when it does, only change this value.
def dataStoreApiDevelopPr = "PR-1260" // This doesn't change frequently, but when it does, only change this value.
def definitionStoreDevelopPr = "PR-1492" // This doesn't change frequently, but when it does, only change this value.
def dataStoreApiDevelopPr = "PR-2458" // This doesn't change frequently, but when it does, only change this value.
def prsToUseAat = "" // Set this value to a PR number, or add it as a comma-separated value, if it's to follow CI/CD.

def secrets = [
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ Will run only S-1023.5:

## LICENSE

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ dependencies {
implementation(group: 'io.searchbox', name: 'jest', version: '6.3.1') {
exclude group: 'org.apache.logging.log4j', module: 'log4j-core'
}
implementation(group: 'org.elasticsearch', name: 'elasticsearch', version: '7.16.2') {
implementation(group: 'org.elasticsearch', name: 'elasticsearch', version: '7.17.23') {
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
}
implementation 'org.jooq:jool-java-8:0.9.14'
Expand Down Expand Up @@ -364,7 +364,7 @@ dependencies {
}
contractTestImplementation("org.springframework.boot:spring-boot-starter-data-jpa")
contractTestImplementation group: 'org.apache.commons', name: 'commons-jexl3', version: '3.1'
contractTestImplementation(group: 'org.elasticsearch', name: 'elasticsearch', version: '7.16.2') {
contractTestImplementation(group: 'org.elasticsearch', name: 'elasticsearch', version: '7.17.23') {
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
}
contractTestImplementation 'com.github.hmcts:ccd-case-document-am-client:1.7.1'
Expand Down
15 changes: 8 additions & 7 deletions charts/ccd-data-store-api/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ java:
DATA_STORE_DB_PASSWORD: "{{ .Values.postgresql.auth.password}}"
DATA_STORE_DB_OPTIONS: "?stringtype=unspecified"
DATA_STORE_DB_MAX_POOL_SIZE: 10
DEFINITION_STORE_HOST: http://ccd-definition-store-api-pr-575-java/
DEFINITION_STORE_HOST: http://ccd-definition-store-api-pr-1492-java/
USER_PROFILE_HOST: http://ccd-user-profile-api-pr-399-java/
ELASTIC_SEARCH_ENABLED: true # enable whenever ES required on a particular PR
ELASTIC_SEARCH_NODES_DISCOVERY_ENABLED: true
ELASTIC_SEARCH_HOSTS: "{{ .Release.Name }}-es-master:9200"
ELASTIC_SEARCH_DATA_NODES_HOSTS: "http://{{ .Release.Name }}-es-master:9200"
ELASTIC_SEARCH_NODES_DISCOVERY_ENABLED: false
ELASTIC_SEARCH_HOSTS: "elastic-poc-ccd.es.privatelink.uksouth.azure.elastic-cloud.com:443"
ELASTIC_SEARCH_DATA_NODES_HOSTS: "https://elastic-poc-ccd.es.privatelink.uksouth.azure.elastic-cloud.com:443"
TESTING_SUPPORT_ENABLED: true
MIGRATIONS_ENDPOINT_ENABLED: true
LOGGING_LEVEL_UK_GOV_HMCTS_CCD_SECURITY_IDAM: DEBUG
Expand All @@ -42,7 +42,7 @@ java:
enabled: true

elastic:
enabled: true # enable whenever required on a particular PR
enabled: true # enable whenever required on a particular PR - disable for POC

elasticsearch:
nameOverride: ${SERVICE_NAME}-es
Expand Down Expand Up @@ -91,9 +91,10 @@ logstash:
mountPath: /usr/share/logstash/ccd
logstashConfig:
logstash.yml: |
log.level: trace
http.host: 0.0.0.0
xpack.monitoring.enabled: false
xpack.monitoring.elasticsearch.hosts: ["http://{{ .Release.Name }}-es-master:9200"]
xpack.monitoring.elasticsearch.hosts: ["https://elastic-poc-ccd.es.privatelink.uksouth.azure.elastic-cloud.com:443"]
queue.type: persisted
dead_letter_queue.enable: true
pipelines.yml: |
Expand Down Expand Up @@ -218,7 +219,7 @@ logstash:
03_output.conf: |
output {
elasticsearch {
hosts => ["http://{{ .Release.Name }}-es-master:9200"]
hosts => ["https://elastic-poc-ccd.es.privatelink.uksouth.azure.elastic-cloud.com:443"]
sniffing => false
index => "%{[index_id]}"
document_type => "_doc"
Expand Down