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

configuration of appengine services in dev #44

Open
jirubio opened this issue Mar 3, 2012 · 1 comment
Open

configuration of appengine services in dev #44

jirubio opened this issue Mar 3, 2012 · 1 comment

Comments

@jirubio
Copy link
Contributor

jirubio commented Mar 3, 2012

I have started using task queues in play-gae.
And they work on appengine but not in dev.
I think I have spotted the problem. Before pull request #39, it worked.
After pull request #39 we have started to use test classes from the sdk to simulate the local environment.
They aren't intented for this purpose, they mock some parts of the sdk so you can embed them in junit tests.
One of the parts mocked is remote task queues, so they don't work now.

I think we should completely avoid the use of testing classes for the gae module, like LocalDatastoreServiceTestConfig and LocalTaskQueueTestConfig.
It's not the way used by the official google plugin to simulate dev, and will generate a lot of problems. I suggest to go with the previous version, with that datastore and task queues are working fine for me.

@brianhenk
Copy link
Contributor

I wrote the code using the test config. Sorry I broke remote task queues! Those are the "standard" task queues that just POST to a url, correct?

I opened up the source to those test config classes and saw it was doing something very similar to what was being done manually and decided it might be best to use that existing infrastructure. I'd like to look into exactly why regular task queues aren't working and if there is a simple change to get them working again.

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

No branches or pull requests

2 participants