From a9270d9dbdeed2da5d3527a62f9b2067b5ccb0e5 Mon Sep 17 00:00:00 2001 From: Grzegorz-Lis Date: Fri, 6 Nov 2020 12:37:36 +0000 Subject: [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 Change-Id: I6d76a09328adc20b408f1e22fd608cd44b074712 --- .../config/cassandra/docker-entrypoint-initdb.d/portal.cql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kubernetes/portal/components/portal-cassandra/resources/config/cassandra') 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'); -- cgit 1.2.3-korg