Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(alpha): monitoring tasks api #921

Merged
merged 6 commits into from
Dec 1, 2022
Merged

Conversation

polomani
Copy link
Collaborator

@polomani polomani commented Nov 23, 2022

Adds monitoring task api to the alpha client

NOTE: Geospatial tests are failing these days, spoke to @saagar-cognite we agreed to disable them until the backend stabilizes.

@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Merging #921 (3000220) into master (de3557f) will decrease coverage by 4.82%.
The diff coverage is 69.12%.

@@            Coverage Diff             @@
##           master     #921      +/-   ##
==========================================
- Coverage   84.06%   79.24%   -4.83%     
==========================================
  Files          70      106      +36     
  Lines        1952     3426    +1474     
  Branches      249      440     +191     
==========================================
+ Hits         1641     2715    +1074     
- Misses        301      709     +408     
+ Partials       10        2       -8     
Impacted Files Coverage Δ
packages/beta/src/cogniteClient.ts 100.00% <ø> (ø)
packages/core/src/httpClient/httpError.ts 90.00% <ø> (ø)
packages/core/src/testUtils.ts 35.59% <0.00%> (-19.58%) ⬇️
packages/stable/src/__tests__/testUtils.ts 96.42% <ø> (-3.58%) ⬇️
packages/stable/src/api/3d/assetMappings3DApi.ts 79.16% <ø> (-20.84%) ⬇️
packages/stable/src/api/3d/nodes3DApi.ts 81.81% <ø> (-18.19%) ⬇️
packages/stable/src/api/3d/revealNodes3DApi.ts 100.00% <ø> (ø)
packages/stable/src/api/3d/revealSectors3DApi.ts 100.00% <ø> (ø)
packages/stable/src/api/3d/revisions3DApi.ts 95.65% <ø> (-4.35%) ⬇️
...kages/stable/src/api/annotations/annotationsApi.ts 100.00% <ø> (ø)
... and 125 more

@polomani polomani marked this pull request as ready for review November 24, 2022 16:26
@polomani polomani requested a review from a team as a code owner November 24, 2022 16:26
packages/alpha/README.md Outdated Show resolved Hide resolved
externalId: channelExternalId,
},
]);
expect(response).toEqual({});
Copy link
Contributor

Choose a reason for hiding this comment

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

Check for status 200?

Copy link
Collaborator Author

@polomani polomani Nov 28, 2022

Choose a reason for hiding this comment

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

Check for status 200?

we technically don't have access to the status at this level anymore (at least the easy way), if 400+ status happens it will throw an error at earlier stages

Co-authored-by: Bert Verstraete <bertverstraete22@gmail.com>
Copy link
Contributor

@bdimitrijoski bdimitrijoski left a comment

Choose a reason for hiding this comment

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

LGTM

@polomani polomani merged commit 9161a69 into master Dec 1, 2022
@polomani polomani deleted the add-monitoring-task-api branch December 1, 2022 08:16
@polomani polomani restored the add-monitoring-task-api branch December 1, 2022 08:30
@polomani polomani deleted the add-monitoring-task-api branch December 1, 2022 08:31
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.

4 participants