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

Multi Transport Simple Client #75

Merged
merged 8 commits into from
May 10, 2017
Merged

Conversation

ASKozienko
Copy link
Member

No description provided.

@makasim
Copy link
Member

makasim commented May 9, 2017

That looks good to me. Could you please create a new package for the simple client ( we can call it simple-client). So the dependency on symfony container component is explicitly defined in composer.json.

@makasim
Copy link
Member

makasim commented May 9, 2017

Add other factories and move tests that depends on simple client where appropriate

@@ -21,7 +21,8 @@
"symfony/dependency-injection": "^2.8|^3",
"symfony/config": "^2.8|^3",
"enqueue/null": "^0.3",
"enqueue/test": "^0.3"
"enqueue/test": "^0.3",
"enqueue/simple-client": "^0.3"
Copy link
Member

Choose a reason for hiding this comment

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

IMO enqueue should not require simple client. Why do you think we should do?

@@ -0,0 +1,19 @@
Copyright (c) 2016 Kotliar Maksym
Copy link
Member

Choose a reason for hiding this comment

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

2017

use Enqueue\Symfony\DefaultTransportFactory;
use Symfony\Component\DependencyInjection\ContainerBuilder;

/**
* Experimental class. Use it speedup setup process and learning but consider to switch to custom solution (build your own client).
* Use it speedup setup process and learning but consider to switch to custom solution (build your own client).
Copy link
Member

Choose a reason for hiding this comment

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

remote it completly

"php": ">=5.6",
"enqueue/enqueue": "^0.3",
"symfony/dependency-injection": "^2.8|^3",
"symfony/config": "^2.8|^3"
Copy link
Member

Choose a reason for hiding this comment

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

add symfony/console.

"phpunit/phpunit": "~5.5",
"enqueue/test": "^0.3"
},
"suggest": {
Copy link
Member

Choose a reason for hiding this comment

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

remote transport suggestions. (they are suggeted by enqueue/enqueue) lib

@makasim makasim changed the title [WIP] Multi Transport Simple Client Multi Transport Simple Client May 10, 2017
@makasim makasim merged commit f87ef7f into master May 10, 2017
@makasim
Copy link
Member

makasim commented May 10, 2017

Thank you @ASKozienko

@makasim makasim deleted the multi-transport-simple-client branch May 10, 2017 13:07
ASKozienko pushed a commit that referenced this pull request Nov 2, 2018
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.

2 participants