summaryrefslogtreecommitdiffstats
path: root/compose
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-08-01 14:18:34 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-08-02 12:50:19 +0100
commitf11e6d9815fd739f2241464612fd0b48736f06af (patch)
treece890e828cc01b559a698ef47ea786391f32c60c /compose
parent1836bd57d497827977f175fa88cb7ed49b485e30 (diff)
Drools-apps CSIT tests (almost) fix.
- controller usecases is now starting normally. - drools policy is deploying. - two policy executions are still failing. Issue-ID: POLICY-4955 Change-Id: I08cee61463c1e8e52f0f874bbb15acca8ed7d6b2 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose')
-rw-r--r--compose/config/drools-applications/env/base.conf7
-rwxr-xr-xcompose/stop-compose.sh7
2 files changed, 9 insertions, 5 deletions
diff --git a/compose/config/drools-applications/env/base.conf b/compose/config/drools-applications/env/base.conf
index 0f677239..4ac3330c 100644
--- a/compose/config/drools-applications/env/base.conf
+++ b/compose/config/drools-applications/env/base.conf
@@ -141,3 +141,10 @@ SDNC_PORT=6668
SDNC_CONTEXT_URI=
SDNC_USERNAME=
SDNC_PASSWORD=
+
+# CDS
+
+CDS_GRPC_HOST=grpc-sim
+CDS_GRPC_PORT=6680
+CDS_GRPC_USERNAME="ccsdkapps"
+CDS_GRPC_PASSWORD="ccsdkapps"
diff --git a/compose/stop-compose.sh b/compose/stop-compose.sh
index 809c8f47..493f9b57 100755
--- a/compose/stop-compose.sh
+++ b/compose/stop-compose.sh
@@ -42,7 +42,7 @@ source export-ports.sh > /dev/null 2>&1
source get-versions.sh > /dev/null 2>&1
echo "Collecting logs from docker compose containers..."
-rm -rf docker_compose.log
+rm -rf *.log
# this will collect logs by service instead of mixing all together
containers=$(docker compose ps --all --format '{{.Service}}')
@@ -51,10 +51,7 @@ IFS=$'\n' read -d '' -r -a item_list <<< "$containers"
for item in "${item_list[@]}"
do
if [ -n "$item" ]; then
- echo "======== Logs from ${item} ========" >> docker_compose.log
- docker compose logs $item >> docker_compose.log
- echo "===================================" >> docker_compose.log
- echo "" >> docker_compose.log
+ docker compose logs $item >> $item.log
fi
done