-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[CurrencyBundle] Add command to allow updating exchange rates using ECB database #1831
Conversation
stloyd
commented
Aug 25, 2014
I think we need something more generic... Command is fine, but it should be able to use different adapters. Exchange rates updating service sounds like a solution to me. What do you think? |
@pjedrzejewski I agree... but currently this is one step forward where we don't have any real option to handle this ;) If you give me some example database that can be used instead of ECB I will try to add them as more generic case, otherwise I think it's ok for now, and make it more generic when we have usecase (other databases) to handle. |
^ this. I just think it can be really simple implementation with adapters or providers. :) |
1371c3b
to
ccb82ca
Compare
ccb82ca
to
177f087
Compare
@pjedrzejewski @kayue @Arn0d I guess it's ready for first review. |
Personally I prefer full name instead of Thanks @stloyd . |
@kayue For me both versions are ok, so I can give full names and add aliases for short names. |
671cdfd
to
87e1393
Compare
…xternal databases
87e1393
to
f86ae28
Compare
@Arn0d @kayue @pjedrzejewski Anything missing for this? |
[CurrencyBundle] Add command to allow updating exchange rates using ECB database
Looks like a good start to me! I agree with Ka Yue for both points, I think we should improve it with tagged services and use full names. Thank you very much Joseph! 👍 |
@pjedrzejewski My team and I have worked on a similar feature. We have Multiple Exchange Rate Providers (ECB, Google, Yahoo) Also we have cli Command for updating all rates. We have phpspec included. Is it too late for us to send PR? Perhaps you could take a look? I would like to hear your opinion about our approach and work. I know you accepted this PR but maybe it is not too late to take a look at another similar PR. |
@Djuki I guess there is no problem to adapt your code to merged one ;) So feel free to create PR :) |
@Djuki Yes, please go ahead and send the PR! 👍 I'd love to see how can we use it! |
[CurrencyBundle] Add command to allow updating exchange rates using ECB database