summaryrefslogtreecommitdiffstats
path: root/deliveries
diff options
context:
space:
mode:
authorsa282w <sa282w@att.com>2018-07-25 13:25:43 -0400
committersa282w <sa282w@att.com>2018-07-30 11:49:36 -0400
commitaa9b320ff93511280cf51b03d38fb9254af6b530 (patch)
tree434819201ead235fad2e7fb663b0480695156db4 /deliveries
parentfe3a67c11b65d7989a6ef648c3f34eee8abe7394 (diff)
JUnits for coverage
Issue-ID: PORTAL-273 JUnits for sonar coverage Change-Id: Icb88d8563164281d29877bbc2de9c8f1f780aa0c Signed-off-by: sa282w <sa282w@att.com>
Diffstat (limited to 'deliveries')
-rw-r--r--deliveries/portal.cql3
-rw-r--r--deliveries/portalsdk.cql3
-rw-r--r--deliveries/start-apache-tomcat.sh2
3 files changed, 5 insertions, 3 deletions
diff --git a/deliveries/portal.cql b/deliveries/portal.cql
index b871ab9f..249f8712 100644
--- a/deliveries/portal.cql
+++ b/deliveries/portal.cql
@@ -53,4 +53,5 @@ CREATE TABLE portal.spring_session_attributes (
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
-CREATE TABLE portal.healthcheck (id uuid PRIMARY KEY); \ No newline at end of file
+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');
diff --git a/deliveries/portalsdk.cql b/deliveries/portalsdk.cql
index bf4e71a3..8c8feaf7 100644
--- a/deliveries/portalsdk.cql
+++ b/deliveries/portalsdk.cql
@@ -53,4 +53,5 @@ CREATE TABLE portalsdk.spring_session_attributes (
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
-CREATE TABLE portalsdk.healthcheck (id uuid PRIMARY KEY);
+CREATE TABLE portalsdk.health_check (primary_id text PRIMARY KEY, creation_time text);
+insert into portalsdk.health_check (primary_id,creation_time) values ('ECOMPPortal-25927','2018-05-25T20:14:39.408Z');
diff --git a/deliveries/start-apache-tomcat.sh b/deliveries/start-apache-tomcat.sh
index db39248b..522eaf2a 100644
--- a/deliveries/start-apache-tomcat.sh
+++ b/deliveries/start-apache-tomcat.sh
@@ -51,4 +51,4 @@ fi
echo "$0: Starting server from $BASE"
LOGFILE=${BASE}/logs/catalina.out
echo "`date`:<-------------------- Starting -------------------->" >> $LOGFILE
-exec ${BASE}/bin/catalina.sh run 2>&1 | tee -a $LOGFILE
+exec ${BASE}/bin/catalina.sh run 2>&1 | tee -a $LOGFILE \ No newline at end of file