mazhead
3af53ce9b6
Add client header option to requests ( #61 )
...
* Add header option
* Add header option
* Add unit test for headers
* Add client header
* Remove environ for HEADER
environ does not support dictionaries, so HEADER can't be passed.
2019-03-31 01:18:48 -07:00
Mitsuo Takaki
eae51967c4
Fixing the broken test
2019-02-24 22:01:54 -08:00
mtakaki
10e0141454
Upgrading to python3 ( #60 )
...
* Migrating to python 3.7.2, but docker image is not working properly.
Need to continue investigating why it's not properly running.
* Trying to fix the build and fixing logging in the scheduler initialization.
* Trying to fix the build
* Collecting test results
* Fixing the dockerfile
* Updating the development dependencies
2019-02-22 02:17:13 -08:00
Mitsuo Takaki
d3c14e6491
Addressing codacy issues
2018-03-18 17:44:01 -07:00
Mitsuo Takaki
1899e95642
#38 - Adding support to milliseconds and different units for latency and changing http status to a range, instead of a single value.
2018-03-18 16:58:02 -07:00
Mitsuo Takaki
9e66736f48
Fixing the build and upgrading pytest and pytest-cov to latest
2018-03-18 14:43:41 -07:00
Mitsuo Takaki
d63420ac01
Documenting better the code and small tweaks to the unit tests.
2016-05-20 02:23:39 -07:00
Mitsuo Takaki
a3a91edadc
Adding support to overriding some of the configuration through environment variables.
2016-05-19 23:41:20 -07:00
Mitsuo Takaki
a83abfd1d3
Fixing failing test. Using @mock.path decorator, instead of overriding the sys.modules.
2016-05-19 08:26:18 -07:00
Mitsuo Takaki
ca358eab2b
Verifying component status when we initialize to set the initial state. Tests are failing, but checking it in nonetheless.
2016-05-18 09:34:58 -07:00
Mitsuo Takaki
0f53ff8678
Initial attempt at creating incidents when an URL becomes unhealthy. Missing to actually call it from the scheduler. #3
2016-05-16 01:31:53 -07:00
Mitsuo Takaki
f563526a2a
Creating push_metrics() method to start pushing the URL latency, if it the metric id is configured.
2016-05-03 02:28:58 -07:00
Mitsuo Takaki
0ea3891a7d
Adding REGEX to sample configuration and updating the unit tests.
2016-05-02 01:09:56 -07:00
Mitsuo Takaki
072aed1024
Adding better documentation and more tests, but still missing tests for Scheduler
2016-05-01 00:41:33 -07:00
Mitsuo Takaki
f254bddd0f
Fixing log format and extracting main logic to a separate class.
2016-04-30 13:39:02 -07:00
Mitsuo Takaki
c7a28edac2
Adding Agent unit test and asserting calls to logging.
2016-04-29 23:49:51 -07:00
Mitsuo Takaki
a6cf64e2b4
Wrapping up Configuration unit tests
2016-04-29 19:07:56 -07:00
Mitsuo Takaki
a24c69cfd5
Creating more tests for Configuration
2016-04-29 15:36:28 -07:00
Mitsuo Takaki
c5520450ba
Adding new expectation (Regex) and creating unit tests.
2016-04-29 08:48:53 -07:00