Chris Veilleux
ade8f65f73
add a new job to load skills for core version 19.08
2019-10-17 13:02:40 -05:00
Chris Veilleux
ad3eb20a78
Merge remote-tracking branch 'remotes/origin/dev' into feature/publish_repo
...
# Conflicts:
# api/account/Pipfile.lock
# api/public/public_api/endpoints/device_skill.py
# shared/selene/data/device/__init__.py
2019-09-30 11:54:54 -05:00
Chris Veilleux
e1230a4e79
Add daily run of the skill loader for the 19.02 branch
2019-09-13 14:51:10 -05:00
Chris Veilleux
cdf5654c0e
ensure pipfiles are up-to-date before publishing repo
2019-08-15 19:23:30 -05:00
Steve Penrod
9dc4d62490
Adding the basics to prepare for publishing this repo
...
Changes include:
* Adding AGPL 3.0 license template (TODO: Apply to all 200+ *.py files)
* Adding AGPL license files
* Add generic public repo files (CONTRIBUTING, etc)
* Simple README updates
* Adding other generic files, e.g. .github templates
2019-07-27 18:44:23 -05:00
Chris Veilleux
8d9e697537
added new column to metric.core_interaction table to capture the user latency metric.
2019-07-09 19:43:12 -05:00
Chris Veilleux
63e6053966
new metric.core_interaction table to track skill latency and the code to populate it from the metric.core table.
2019-07-09 13:47:31 -05:00
Chris Veilleux
e6d14d792d
Next iteration through the job scheduler:
...
-- added docstrings
-- converted run_job method into a JobRunner class
-- added a test job to run in non-production environments
-- added ability to override the default run date
2019-06-30 14:34:21 -05:00
Chris Veilleux
abf3556b36
renamed metrics schema to metric, because I am one anal MF
2019-06-28 22:38:38 -05:00
Chris Veilleux
332a79f7cf
new service for batch job scheduling
2019-06-27 17:54:23 -05:00
Chris Veilleux
d8b5cc311b
add if __name__ == '__main__' to scripts
2019-06-27 17:48:47 -05:00
Chris Veilleux
ac2f48a299
Merge remote-tracking branch 'remotes/origin/master' into dev
...
# Conflicts:
# api/public/public_api/endpoints/device_skills.py
# api/public/tests/features/steps/device_skills.py
# shared/selene/data/skill/repository/device_skill.py
2019-06-27 12:22:23 -05:00
Chris Veilleux
8e286f2084
added docstring
2019-06-27 01:27:07 -05:00
Chris Veilleux
bd8739b407
new script to move data from transient metrics.api table to the partitioned metrics.api_history table to help with query performance
2019-06-27 01:24:57 -05:00
Matheus Lima
4f4f66baae
Fixing date parsing
2019-06-20 21:05:31 -03:00
Matheus Lima
f64fe8e3b6
Fixing date paramter
2019-06-20 20:43:56 -03:00
Matheus Lima
4bf25a6e47
Fixing date used to generate the daily report
2019-06-17 19:25:17 -03:00
Matheus Lima
ab0a14faea
Adding date to daily report script
2019-06-14 18:01:22 -03:00
Matheus Lima
f6934e075e
Migrating DailyReport script to use the SeleneScript base class
2019-06-14 17:52:16 -03:00
Chris Veilleux
f69607d5d2
added a docstring and fixed a few bugs encountered in testing.
2019-06-13 20:53:38 -05:00
Chris Veilleux
9d5a8d87c3
build a batch job that will update the last contact timestamp of a device with the value collected in the Redis database throughout the day
2019-06-13 20:29:28 -05:00
Matheus Lima
830ce5a4d6
Merge branch 'dev' into test
2019-06-05 20:29:09 -03:00
Matheus Lima
af815058f4
Changing query used to build the daily report to date interval
2019-06-05 20:25:06 -03:00
Chris Veilleux
1d84e0cb97
removed unused package
2019-06-04 14:55:10 -05:00
Chris Veilleux
5aca99de14
moved the base class in to the selene library to resolve import error
2019-06-04 14:10:42 -05:00
Chris Veilleux
b3e59507a8
added some comments and docstrings
2019-06-04 10:59:59 -05:00
Chris Veilleux
6a40029dea
added some comments and docstrings
2019-06-04 10:59:41 -05:00
Chris Veilleux
12407d912b
refactored to use new base class for batch jobs
2019-06-03 23:29:20 -05:00
Chris Veilleux
11d399468a
new base class for batch jobs
2019-06-03 23:28:52 -05:00
Matheus Lima
b54387de66
Added logic to schedule a task to send the daily metrics email
2019-06-01 18:32:19 -03:00
Matheus Lima
7ffc36ef35
Adding email template and fixing column
2019-06-01 16:42:42 -03:00
Matheus Lima
cf702a5feb
Created script to send email with the metrics report
2019-06-01 16:42:42 -03:00
Matheus Lima
6643f59bf9
Created query to build the daily report
2019-06-01 16:42:42 -03:00
Chris Veilleux
8bcf8ef7ca
fix a bug with the core version passed to repository
2019-05-29 13:07:57 -05:00
Chris Veilleux
9aecdca311
added ssl mode to connection parameters and changed branch to 19.02
2019-04-02 12:10:56 -05:00
Chris Veilleux
b20e249d9c
removed an extra passed parameter
2019-04-02 11:33:30 -05:00
Chris Veilleux
80585076b5
changed definition of skill table to match more closely with the skill metadata
2019-04-01 13:13:05 -05:00
Chris Veilleux
143c14159d
new directory for batch scripts
2019-03-28 14:08:20 -05:00