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

Add Datastore indexes samples. #214

Merged
merged 1 commit into from
Apr 29, 2016
Merged

Add Datastore indexes samples. #214

merged 1 commit into from
Apr 29, 2016

Commits on Apr 29, 2016

  1. Add Datastore indexes samples.

    Samples are moved from:
    https://cloud.google.com/appengine/docs/java/datastore/indexes
    
    Note: I add a new script `test-devserver.sh` to the testing config. This
    script runs the `mvn appengine:devserver` plugin, waits for it to start,
    then verifies that it gets a non-error response from the `/` path. I use
    this to verify that the `datastore-indexes.xml` files are correct (by
    disabling autoGenerate, the local devserver throws an error when a query
    is used without the correct index defined, just as production does).
    
    We should probably add any "hello world" or other projects to this
    check, as well. Anywhere we say to run `mvn appengine:devserver`, it
    would be good to test that it is correct.
    tswast committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    e9e32ce View commit details
    Browse the repository at this point in the history