Skip to content

Conversation

@mxr576
Copy link
Contributor

@mxr576 mxr576 commented May 7, 2018

No description provided.

mxr576 added 6 commits May 7, 2018 10:07
- Reduced the number of parameters in the Client class.
Original parameters still can be passed in the $options array.
(However there is no BC provided while there is only dev
version this is a BC break change.)
- New dependency: symfony/options-resolver.
- Made $client required in all API controllers.
- Improved __toString() implementation on ApiException and in its
child classes.
- Instead of OauthResponseException, OauthAuthenticationException is
being thrown every time when OAuth authentication fails.
- API client can be changed in the OAuth authentication plugin by
overriding the authClient() method.
- Cache plugin specific support dropped from the Builder class because
it was just an unnecessary overhead on our side. Cache plugin can be
still added to the HTTP client by using addPlugin.
- Cache plugin support also dropped from the Client, because caching on
the HTTP requests level does not seem a good option because cache
invalidation could become complicated. Instead, caching should be
handled at the API controller level if it is needed.
namespace.

(However there is no BC granted while there is only a dev version,
this is a BC break change.)
@codecov-io
Copy link

codecov-io commented May 7, 2018

Codecov Report

Merging #103 into 2.x-dev will increase coverage by 0.94%.
The diff coverage is 85.63%.

Impacted file tree graph

@@              Coverage Diff              @@
##             2.x-dev     #103      +/-   ##
=============================================
+ Coverage      86.42%   87.37%   +0.94%     
- Complexity       515      534      +19     
=============================================
  Files             69       72       +3     
  Lines           1208     1251      +43     
=============================================
+ Hits            1044     1093      +49     
+ Misses           164      158       -6
Impacted Files Coverage Δ Complexity Δ
...nt/Controller/DeveloperAppCredentialController.php 100% <ø> (ø) 11 <0> (ø) ⬇️
src/Controller/EntityController.php 100% <ø> (ø) 1 <0> (-1) ⬇️
...pi/Management/Controller/EnvironmentController.php 100% <ø> (ø) 3 <0> (-1) ⬇️
...i/Management/Controller/DeveloperAppController.php 100% <ø> (ø) 4 <0> (-1) ⬇️
src/Controller/CpsLimitEntityController.php 95% <ø> (ø) 8 <0> (ø) ⬇️
.../Api/Management/Controller/DeveloperController.php 47.05% <ø> (ø) 6 <0> (-1) ⬇️
src/HttpClient/Utility/Journal.php 60% <ø> (+20%) 6 <0> (ø) ⬇️
src/Exception/ApiException.php 0% <0%> (ø) 2 <2> (?)
src/Exception/ApiRequestException.php 30.76% <0%> (-0.49%) 5 <0> (-1)
...Api/Management/Controller/CompanyAppController.php 0% <0%> (ø) 4 <0> (-1) ⬇️
... and 19 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 8b9ab36...4a11e7f. Read the comment docs.

@peterserfozo peterserfozo self-requested a review May 7, 2018 09:23
@mxr576 mxr576 merged commit ead8b6e into 2.x-dev May 7, 2018
@mxr576 mxr576 deleted the oauth-support branch May 9, 2018 19:13
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.

3 participants