From 4e2a6d92764dac4dc38c6c3d2495259d62ecff35 Mon Sep 17 00:00:00 2001 From: Mahesh Kumar Gangula Date: Mon, 11 Jan 2021 13:22:43 +0530 Subject: [PATCH] Issue #000 fix: keyspace variables. --- ansible/inventory/env/group_vars/all.yml | 1 + kubernetes/helm_charts/datapipeline_jobs/values.j2 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ansible/inventory/env/group_vars/all.yml b/ansible/inventory/env/group_vars/all.yml index cc396d3d41..f08cd4638d 100644 --- a/ansible/inventory/env/group_vars/all.yml +++ b/ansible/inventory/env/group_vars/all.yml @@ -21,6 +21,7 @@ hierarchy_keyspace_name: "{{instance}}_hierarchy_store" orchestrator_keyspace_name: "{{instance}}_script_store" dialcode_keyspace_name: "{{instance}}_dialcode_store" category_keyspace_name: "{{instance}}_category_store" +assessment_keyspace_name: "{{instance}}_question_store" dp_cassandra_connection: "{{ groups['dp-cassandra'][0] }}:9042" diff --git a/kubernetes/helm_charts/datapipeline_jobs/values.j2 b/kubernetes/helm_charts/datapipeline_jobs/values.j2 index 71d7a3288e..9a810e93b2 100644 --- a/kubernetes/helm_charts/datapipeline_jobs/values.j2 +++ b/kubernetes/helm_charts/datapipeline_jobs/values.j2 @@ -206,11 +206,11 @@ questionset-publish: router.parallelism = 1 } question { - keyspace = "dev_question_store" + keyspace = "{{ assessment_keyspace_name }}" table = "question_data" } questionset { - keyspace = "dev_hierarchy_store" + keyspace = "{{ hierarchy_keyspace_name }}" table = "questionset_hierarchy" }