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

Partial migration from platform-sdk to platform-client #545

Merged
merged 22 commits into from
Mar 2, 2021

Conversation

pgrzesik
Copy link
Contributor

@pgrzesik pgrzesik commented Mar 2, 2021

This PR includes migration from platform-sdk to platform-client methods with the exception of Deployment class that will be migrated in subsequent PR (it's already quite big). I've tried to separate it into distinct commits as much as possible.

It was all tested locally via CLI in addition to adjusting existing tests.

Closes: #533, #534, #535

@pgrzesik
Copy link
Contributor Author

pgrzesik commented Mar 2, 2021

Closing to draft for a moment - it seems there are a few tests failing only on CI 🤔

Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

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

Closing to draft for a moment - it seems there are a few tests failing only on CI 🤔

Ok, no problem 👍

@pgrzesik pgrzesik marked this pull request as draft March 2, 2021 13:44
@codecov
Copy link

codecov bot commented Mar 2, 2021

Codecov Report

Merging #545 (57c008f) into master (356ac5c) will increase coverage by 0.70%.
The diff coverage is 95.04%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #545      +/-   ##
==========================================
+ Coverage   49.08%   49.79%   +0.70%     
==========================================
  Files          90       90              
  Lines        2903     2922      +19     
==========================================
+ Hits         1425     1455      +30     
+ Misses       1478     1467      -11     
Impacted Files Coverage Δ
lib/interactiveCli/utils.js 0.00% <ø> (-37.50%) ⬇️
lib/login.js 28.57% <0.00%> (-2.68%) ⬇️
lib/studio.js 14.70% <33.33%> (-0.83%) ⬇️
lib/interactiveCli/set-app.js 91.47% <89.47%> (+0.20%) ⬆️
lib/appUids.js 100.00% <100.00%> (ø)
lib/clientUtils.js 100.00% <100.00%> (ø)
lib/deployProfile.js 82.97% <100.00%> (-0.70%) ⬇️
lib/injectLogsIamRole.js 93.75% <100.00%> (ø)
lib/interactiveCli/index.js 97.05% <100.00%> (+0.08%) ⬆️
lib/interactiveCli/register.js 70.37% <100.00%> (+0.55%) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 356ac5c...a0b0b53. Read the comment docs.

@pgrzesik pgrzesik marked this pull request as ready for review March 2, 2021 14:25
@pgrzesik
Copy link
Contributor Author

pgrzesik commented Mar 2, 2021

Should be ready for a review now 👍

@pgrzesik pgrzesik requested a review from medikoo March 2, 2021 14:27
medikoo
medikoo previously approved these changes Mar 2, 2021
Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

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

Looks great 👍

@pgrzesik pgrzesik force-pushed the migrate-from-platform-sdk-to-platform-client branch from 8ce3e2f to a0b0b53 Compare March 2, 2021 15:48
@pgrzesik pgrzesik merged commit 664b5ff into master Mar 2, 2021
@pgrzesik pgrzesik deleted the migrate-from-platform-sdk-to-platform-client branch March 2, 2021 17:07
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.

Replace logDestination-related platform-sdk calls with platform-client calls
2 participants