summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-cassandra/resources/config
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-11-06 12:37:36 +0000
committerKrzysztof Kosewski <krzysztof.kosewski@nokia.com>2021-01-08 10:35:30 +0000
commita9270d9dbdeed2da5d3527a62f9b2067b5ccb0e5 (patch)
tree69985763c0f69e900c1fd83737899e508be23f3a /kubernetes/portal/components/portal-cassandra/resources/config
parent50d29a32cadf7c8c91e3409d8d604cc4852dadb4 (diff)
[PORTAL] Make Portal use generic Cassandra image
Portal uses currently a customized, old Cassandra Image (cassandra_music:3.0.0) which doesn't support dual stack (IPv4 and IPv6). Intention of this change is to replace this image with generic, bitnami image. Issue-ID: PORTAL-1037 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I6d76a09328adc20b408f1e22fd608cd44b074712
Diffstat (limited to 'kubernetes/portal/components/portal-cassandra/resources/config')
-rw-r--r--kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql b/kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql
index 4fd368a5b8..21715a9e2a 100644
--- a/kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql
+++ b/kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql
@@ -1,4 +1,5 @@
-// Copyright © 2018 Amdocs, Bell Canada, AT&T
+// Copyright (c) 2018 Amdocs, Bell Canada, AT&T
+// Modifications Copyright (c) 2020 Nokia
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -66,3 +67,6 @@ CREATE TABLE portal.spring_session_attributes (
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
+
+CREATE TABLE portal.health_check (primary_id text PRIMARY KEY, creation_time text);
+insert into portal.health_check (primary_id,creation_time) values ('ECOMPPortal-25927','2018-05-25T20:14:39.408Z');