-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Cache] Add couchbase cache adapter #32039
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
[Cache] Add couchbase cache adapter #32039
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this.
Can you ensure the .travis.yml file is configured to run the tests for the new adapter please?
src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php
Outdated
Show resolved
Hide resolved
Hi @nicolas-grekas ,
And from what I can see in the code as a fourth parameter, it is passing a mock of an LoggerInterface Could you help me? Thank you. |
@ajcerezo are you planing to finish this PR? |
Hello @OskarStark , I am sorry for the delay in the response at this time, I only have one problem with the integration tests in travis, but it is nothing of the code that I have touched, the exact comment of this problem is just above and I do not know why I fail . If you can help me, I imagine that it has been part of one of the rebase that I had to do to merge with the latest changes in branch 4.4. The new functionality is finished. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me this is not a BC break, can you please update the table in the PR header, if you agree with me? Thanks 👍🏻
/** | ||
* @author Antonio Jose Cerezo Aranda <aj.cerezo@gmail.com> | ||
*/ | ||
class CouchbaseBucketAdapter extends AbstractAdapter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can and shall we make this class final @nicolas-grekas ? Not sure right now how Symfony handles such things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @OskarStark,
From what I've seen none of the other adapters is defined as final class.
src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php
Outdated
Show resolved
Hide resolved
Hi @OskarStark, Thank you |
@nicolas-grekas can you please take care of the label and give another review here? Thanks. |
I'd like to get an idea on the number of people in the community using couchbase before merging this PR in core. |
Ok, thank you. |
I asked via Twitter: https://twitter.com/OskarStark/status/1190148688565415936 |
👍 (We’ll open source our Symfony-Doctrine-Couchebase integration soon.😁) |
👍 |
I'm a DA with Couchbase. I think we'll add this PR to our monthly newsletter. In the meantime, is there anything else I can do to get this in front of Couchbase/PHP/symfony users? Also, feel free to post a message on our PHP forum if you'd like: https://forums.couchbase.com/c/php-sdk |
👍 |
2 similar comments
👍 |
👍 |
Thank you @ajcerezo. |
This PR was merged into the 5.1-dev branch. Discussion ---------- [Cache] Add couchbase cache adapter | Q | A | ------------- | --- | Branch? | 4.4 for features | Bug fix? | no | New feature? | yes | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32038 | License | MIT | Doc PR | symfony/symfony-docs#11748 Add new cache adapter to be able using Couchbase as cache system. Commits ------- 1ae7dd5 [Cache] Add couchbase cache adapter
Thanks to the all symfony community. |
Add new cache adapter to be able using Couchbase as cache system.