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

Refactor sends HTTP method to use specific methods #33676

Merged
merged 1 commit into from
Nov 30, 2018

Conversation

paurakhsharma
Copy link
Member

Description

Refactor behat setps like user sends HTTP method 'PUT' to endpoint '/cloud/xyz' to more specific methods, hiding endpoints from behat steps definitions.

Related issue: #33364

How Has This Been Tested?

Locally

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Acceptance test

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Nov 28, 2018

Codecov Report

Merging #33676 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #33676      +/-   ##
============================================
- Coverage     64.35%   64.35%   -0.01%     
  Complexity    18307    18307              
============================================
  Files          1195     1195              
  Lines         69241    69240       -1     
  Branches       1276     1276              
============================================
- Hits          44561    44560       -1     
  Misses        24308    24308              
  Partials        372      372
Flag Coverage Δ Complexity Δ
#javascript 52.98% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 65.67% <ø> (-0.01%) 18307 <ø> (ø)
Impacted Files Coverage Δ Complexity Δ
...eratedfilesharing/lib/Controller/OcmController.php 66.06% <0%> (-0.21%) 30% <0%> (ø)

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 47da212...eeb2a91. Read the comment docs.

@phil-davis
Copy link
Contributor

3 files in config folder have changed their permissions. That needs to be reverted.

@phil-davis
Copy link
Contributor

Now the commit message says: [tx-robot] updated from transifex
Some problem when doing a rebase?
Next time you need to change something, fix the commit message also.

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

Stuff I found so far to the end of apiProvisioning-v1 suite.

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

review comments for apiProvisioning-v2 suite

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

Few more items

@paurakhsharma paurakhsharma force-pushed the refactor-sents-HTTP-method branch 2 times, most recently from b897225 to d195d82 Compare November 28, 2018 10:29
Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

2 more things

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

I have reviewed it all now! There are just a few comments to be resolved, and get CI to pass.

tests/acceptance/features/bootstrap/Sharing.php Outdated Show resolved Hide resolved
tests/acceptance/features/bootstrap/Provisioning.php Outdated Show resolved Hide resolved
@paurakhsharma paurakhsharma force-pushed the refactor-sents-HTTP-method branch 2 times, most recently from 489e74c to dbd3ba6 Compare November 29, 2018 04:47
package-lock.json Outdated Show resolved Hide resolved
Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

Should be good now, if CI passes.

tests/acceptance/features/bootstrap/Sharing.php Outdated Show resolved Hide resolved
tests/acceptance/features/bootstrap/Sharing.php Outdated Show resolved Hide resolved
tests/acceptance/features/bootstrap/Sharing.php Outdated Show resolved Hide resolved
@paurakhsharma paurakhsharma force-pushed the refactor-sents-HTTP-method branch 2 times, most recently from ffb578a to 24aacb9 Compare November 29, 2018 11:04
@paurakhsharma
Copy link
Member Author

@DeepDiver1975 Some issue with codecov. Can you please merge this. Thanks

@phil-davis
Copy link
Contributor

@paurakhsharma please backport. You will need to think about step text in extra scenarios in stable10 that might need to be adjusted (e.g. user management). But maybe none of those are effected by this.

@PVince81 PVince81 merged commit c136534 into master Nov 30, 2018
@PVince81 PVince81 deleted the refactor-sents-HTTP-method branch November 30, 2018 15:58
@paurakhsharma
Copy link
Member Author

Backport on: #33721

@lock lock bot locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants