Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Jun 13, 2016

Run the local servers and verify they respond with code 200 to the "/"
path.

Note: bookshelf does not yet run in Travis, since we'll need to set up
client secrets credentials.

tswast added 2 commits June 9, 2016 18:18
This script will allow us to run tests against a local server for
testing. Since the App Engine and Jetty server running and testing is so
similar, I combined the scripts rather than copying. The only
differences are which plugin to use and what string to wait for before
running curl.

Since the bookshelf sample also needs a `-Plocal` profile argument, I
extended the script to allow passing through arbitrary arguments to
Maven.
Run the local servers and verify they respond with code 200 to the "/"
path.

Note: bookshelf does not yet run in Travis, since we'll need to set up
client secrets credentials.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 13, 2016
echo " $0 server-type path/to/project [-- maven arguments]" >&2
echo >&2
echo "server-type can be any of the following:" >&2
echo " appengine" >&2
Copy link
Contributor

Choose a reason for hiding this comment

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

standard or flex?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Standard. The names match those of the Maven plugins, but I suppose that could as we add more kinds of samples.

@lesv
Copy link
Contributor

lesv commented Jun 14, 2016

Consider comments, Ok if you choose not to change - LGTM

@tswast tswast merged commit 1ca115f into master Jun 16, 2016
@tswast tswast deleted the tswast-travis branch June 16, 2016 21:30
tswast added a commit to GoogleCloudPlatform/java-docs-samples that referenced this pull request Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants