generated from pagopa/pn-template-ms-be
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PN-13230: Removed sensitive info and externalized variables in PresaI…
…nCarico.sh script. (#556)
- Loading branch information
1 parent
353b6d9
commit 32b3f5c
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,10 @@ fi | |
|
||
if [ x$sendSMS == x1 ] ; then | ||
|
||
SMSSender="+393293707683" | ||
SMSReceiver="+393293707683" | ||
if [ -z "$SMSSender" ] || [ -z "$SMSReceiver" ]; then | ||
echo "Error: SMSSender and SMSReceiver variables must be set to send an SMS." | ||
exit 1 | ||
fi | ||
|
||
SMSRequestId="TestSMS-"$(date +%s) | ||
|
||
|
@@ -53,8 +55,10 @@ fi | |
|
||
if [ x$sendEmail == x1 ] ; then | ||
|
||
EmailSender="[email protected]" | ||
EmailReceiver="[email protected]" | ||
if [ -z "$EmailSender" ] || [ -z "$EmailReceiver" ]; then | ||
echo "Error: EmailSender and EmailReceiver variables must be set to send an Email." | ||
exit 1 | ||
fi | ||
|
||
EmailRequestId="TestEmail-"$(date +%s) | ||
|
||
|
@@ -69,8 +73,10 @@ fi | |
|
||
if [ x$sendPEC == x1 ] ; then | ||
|
||
PECSender="[email protected]" | ||
PECReceiver="[email protected]" | ||
if [ -z "$PECSender" ] || [ -z "$PECReceiver" ]; then | ||
echo "Error: PECSender and PECReceiver variables must be set to send a PEC." | ||
exit 1 | ||
fi | ||
|
||
PECRequestId="TestPEC-"$(date +%s) | ||
|
||
|