Skip to content

Service Level Objectives : add 2 additional API endpoints now available#464

Merged
zippolyte merged 15 commits intomasterfrom
slo-endpoints
Oct 24, 2019
Merged

Service Level Objectives : add 2 additional API endpoints now available#464
zippolyte merged 15 commits intomasterfrom
slo-endpoints

Conversation

@platinummonkey
Copy link
Copy Markdown
Contributor

Adds the /api/v1/slo/can_delete && /api/v1/slo/<id>/history endpoints to match documentation

also add SLO client to dogshell this was missed last time

also add SLO client to dogshell this was missed last time
@platinummonkey platinummonkey requested a review from a team as a code owner October 21, 2019 20:38
@platinummonkey
Copy link
Copy Markdown
Contributor Author

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@platinummonkey
Copy link
Copy Markdown
Contributor Author

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@platinummonkey
Copy link
Copy Markdown
Contributor Author

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's just try to add exhaustive unit tests for your date utility functions

add freezegun dependency to do time-unit tests without being flaky
Copy link
Copy Markdown
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

freezgun is only needed for unit tests.
Looks like it's failing for pypy2 for some reason

platinummonkey and others added 7 commits October 23, 2019 08:56
Co-Authored-By: Hippolyte HENRY <zippolyte@users.noreply.github.com>
Co-Authored-By: Hippolyte HENRY <zippolyte@users.noreply.github.com>
Co-Authored-By: Hippolyte HENRY <zippolyte@users.noreply.github.com>
@platinummonkey
Copy link
Copy Markdown
Contributor Author

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@platinummonkey
Copy link
Copy Markdown
Contributor Author

the integration test failures have nothing to do with this PR afaik :(

Copy link
Copy Markdown
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you're right tests failure are a known problem at this point. We're working on fixing this. Will merge in the meantime

@zippolyte zippolyte merged commit a690ced into master Oct 24, 2019
@zippolyte zippolyte deleted the slo-endpoints branch October 24, 2019 08:34
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Oct 25, 2019
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants