From 489bbf3b14e025c7ebdb8e0f96d14ae24703c90c Mon Sep 17 00:00:00 2001 From: bharatkumarpatel1 Date: Thu, 19 Sep 2024 10:05:04 +0100 Subject: [PATCH] reverted config for civil --- apps/ccd/ccd-logstash-civil/ithc.yaml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/apps/ccd/ccd-logstash-civil/ithc.yaml b/apps/ccd/ccd-logstash-civil/ithc.yaml index 61f2ca62d24d..27f5d2a3a71c 100644 --- a/apps/ccd/ccd-logstash-civil/ithc.yaml +++ b/apps/ccd/ccd-logstash-civil/ithc.yaml @@ -5,29 +5,4 @@ metadata: spec: releaseName: ccd-logstash-civil values: - replicas: 1 - logstashPipeline: - 01_input.conf: | - input { - jdbc { - jdbc_connection_string => "${DATA_STORE_URL}" - jdbc_user => "${DATA_STORE_USER}" - jdbc_password => "${DATA_STORE_PASS}" - jdbc_validate_connection => true - jdbc_validation_timeout => "1" - jdbc_driver_library => "/usr/share/logstash/ccd/postgresql.jar" - jdbc_driver_class => "org.postgresql.Driver" - jdbc_default_timezone => "UTC" - parameters => { - "divorcej" => "DIVORCE" - "civilj" => "CIVIL" - "cmcj" => "CMC" - "probatej" => "PROBATE" - "ethosj" => "EMPLOYMENT" - "sscsj" => "SSCS" - } - statement => "UPDATE case_data SET marked_by_logstash = true WHERE marked_by_logstash = false AND jurisdiction != :divorcej AND jurisdiction != :civilj AND jurisdiction != :cmcj AND jurisdiction != :probatej AND jurisdiction != :sscsj AND jurisdiction != :ethosj RETURNING id, created_date, last_modified, jurisdiction, case_type_id, state, last_state_modified_date, data::TEXT as json_data, data_classification::TEXT as json_data_classification, reference, security_classification, supplementary_data::TEXT as json_supplementary_data" - clean_run => false - schedule => "* * * * * *" - } - } \ No newline at end of file + replicas: 1 \ No newline at end of file