Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
66058060
Commit
66058060
authored
5 years ago
by
kaliraja
Browse files
Options
Download
Patches
Plain Diff
DO-1516 added the api call report mailing var
parent
a3619b51
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/elasticsearch-api-query.yml
+1
-1
ansible/elasticsearch-api-query.yml
ansible/static-files/api_count_query.sh
+1
-1
ansible/static-files/api_count_query.sh
with
2 additions
and
2 deletions
+2
-2
ansible/elasticsearch-api-query.yml
+
1
−
1
View file @
66058060
...
...
@@ -10,7 +10,7 @@
name
:
apt
state
:
present
-
name
:
Copy the elasticsearch api query Shell script
copy
:
template
:
src
:
static-files/api_count_query.sh
dest
:
/tmp/
mode
:
0775
...
...
This diff is collapsed.
Click to expand it.
ansible/static-files/api_count_query.sh
+
1
−
1
View file @
66058060
...
...
@@ -60,7 +60,7 @@ query $registermobile $mobiledevice_registerfilename
#sending an email with an attachment
curl https://api.sendgrid.com/api/mail.send.json
\
"
{{ api_report_mailing_list }}
"
-F
subject
=
"Data for Diksha api calls"
\
{{
api_report_mailing_list
}}
-F
subject
=
"Data for Diksha api calls"
\
-F
text
=
"Data"
--form-string
html
=
"<strong>Hi Team, PFA.</strong>"
\
-F
from
=
reports@diksha.in
-F
api_user
=
"
$sguser
"
-F
api_key
=
"
$sgpass
"
\
-F
files
\[
contentsearch.txt
\]
=
@contentsearch-
$date
.txt
-F
files
\[
contentread.txt
\]
=
@contentread-
$date
.txt
-F
files
\[
telemetry.txt]
=
@telemetry-
$date
.txt
-F
files
\[
registermobile.txt]
=
@registermobile-
$date
.txt
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets