From a4008993efe021439ee0e4b1b33c9065ab74928c Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" Date: Wed, 27 Nov 2024 16:19:51 +0100 Subject: [PATCH] feat(config): config nc_ionos_processes app Signed-off-by: Misha M.-Kupriyanov --- configure.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.sh b/configure.sh index e7a4232..454b958 100755 --- a/configure.sh +++ b/configure.sh @@ -59,6 +59,17 @@ config_apps() { # "see" each other. Users in one contract are part of one group. ooc config:app:set --value="no" core shareapi_only_share_with_group_members ooc config:app:set --value='["admin"]' core shareapi_only_share_with_group_members_exclude_group_list + + echo "Configure nc_ionos_processes app" + + if [ -z "${IONOS_PROCESSES_API_URL}" ] || [ -z "${IONOS_PROCESSES_USER}" ] || [ -z "${IONOS_PROCESSES_PASS}" ]; then + echo "Warning: IONOS_PROCESSES_API_URL, IONOS_PROCESSES_USER or IONOS_PROCESSES_PASS not set, skipping configuration of nc_ionos_processes app" + return + fi + + ooc config:app:set --value "${IONOS_PROCESSES_API_URL}" --type string nc_ionos_processes ionos_mail_base_url + ooc config:app:set --value "${IONOS_PROCESSES_USER}" --type string nc_ionos_processes basic_auth_user + ooc config:app:set --value "${IONOS_PROCESSES_PASS}" --type string nc_ionos_processes basic_auth_pass } add_config_partials() {