* Upgrade python version being used by the ci workflow.
* Update the python version in instance_vm.go.
* Try to fix the v1 gomod test.
* Add export python3 back.
* Stop trying to find python2.7.
* Seems like we still need to install python3.
* There seems to be a mismatch between APPENGINE_DEV_APPSERVER_BINARY and APPENGINE_DEV_APPSERVER.
* Apply the same change to v2 ci.
This should be wire compat as field numbers did not change and
package is not apart of the serialization. I appened `.v2` to each
proto package so that these protos can register distinctly from the
protos that were copied from the v1 library. This removes runtime
errors due to double registration of the same messages. Note: I did
have to specially regenerate taskqueue with a special built version
of protoc-gen-go in order to generate some proto1 legacy message
type that is referenced.
Fixes: #311
Fixes: https://github.com/googleapis/google-cloud-go/issues/7760
* Install python2 needed for the tests.
* Update base image and install python2
* Adding python2
* adding python 2
* Add more go versions to test.
* remove 1.11
* Adding go get google.golang.org/appengine/v2/search missing from previous PR.
* Typo
This makes the test more hermetic by avoiding the need to set env vars, and it also avoids some unecessary duplication of test helper logic by leveraging some of aetest's underlying implementation.
This change was originally part of #284, but I split it out because it's not compatible with v1's log flushing tests, and it would have added unecessary noise to that PR.
* remove golang.org/x/net dependency
The golang.org/x/net/context package is an alias for stdlib context
since go1.7 (see https://go-review.googlesource.com/72570)
This patch replaces all uses of it for stdlib context.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* rename App Engine context type to remove import aliases
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
---------
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The ApiHost used to require a security ticket for all API calls, so the
client side code used to be able to assume that any request without one
was invalid and reject it. The backend now is able to handle requests
without security tickets in many cases, so the client side check is now
just getting in the way. This change removes that check and lets the
backend attempt to handle all requests.
The way the client implementation happened to require a security ticket
was actually by requiring a GAE context. This change removes that
constraint as well and removes the now-unecessary BackgroundContext.
* Removing old, unsupported APIs (#230)
* Remove the old Search API.
* Remove the old Remote API.
* Remove the old sockets API.
* Delete legacy appengine code (#231)
- Delete all files behind `+build appengine`
- Merge the `*_vm.go` variants with the base files
- `go fix` for context update (TODO: Fix internal/api.go's use of context)
- Update travis config to test new versions
* Remove Query APIs from appengine.log (#233)
Remove deprecated log.Query api from appengine.log
* Update docs (#234)
* Remove the old Search API.
* Remove the old Remote API.
* Remove the old sockets API.
* Temporarily remove blobstore API for v2 preview.
* Revert "Temporarily remove blobstore API for v2 preview."
This reverts commit 169bbdd467.
* Update docs for QA.
* Update module API docs to indicate manual_scaling must be used for NumInstances, etc.
* Update module API docs to indicate manual_scaling must be used for NumInstances, etc.
* Remove old interfaces and interfaces that are not recommended (#236)
* Remove the old deprecated channel interface.
* Remove the old deprecated file interface.
* Remove the old deprecated xmpp interface.
* Removing the cloudsql interface, which is not recommended.
* Removing the aebundler interface, which has been deprecated for some time.
* Remove obsolete demo code (#238)
* Remove obsolete demo code. Official appengine sample code referred by doc is in https://github.com/GoogleCloudPlatform/golang-samples
* Replace Logs API with Stdout (#240)
* Removed Logs API.
* Remove dead code.
* Added JSON encoding tests.
* Emit single character severity in JSON message to trigger structured logs handling.
* Prevent timestamp from being emitted on deployed logs.
* Remove superfluous apis (#241)
* Removed protos for channel/search/xmpp.
* Remove protos for socket.
* Add traceID/spanID to structured logs and chunk long logs (#242)
* Moved logging related logic to separate file.
* Added traceID/spanID to structured logs and log chunking.
* Changes from code review.
* Update go.mod for v2
* Revert v2 in the base directory.
* Create the v2 in /v2 and revert the base directory back to 1.6.7 (#243)
* Create a v2 directory for v2+ releases.
* Update AppEngine imports to v2.
* Update AppEngine imports to v2.
* Clean up travis. We only currently support go 1.11+
* Temporarily disable testing go111+ with gopath until we can tag v2 properly.
* Tidy v2/go.mod (#244)
* Create a v2 directory for v2+ releases.
* Update AppEngine imports to v2.
* Update AppEngine imports to v2.
* Clean up travis. We only currently support go 1.11+
* Temporarily disable testing go111+ with gopath until we can tag v2 properly.
* Tidy go.sum
* go mod tidy (#245)
* Create a v2 directory for v2+ releases.
* Update AppEngine imports to v2.
* Update AppEngine imports to v2.
* Clean up travis. We only currently support go 1.11+
* Temporarily disable testing go111+ with gopath until we can tag v2 properly.
* Tidy go.sum
* go mod tidy
Co-authored-by: Steven Buss <sbuss@google.com>
Co-authored-by: Kayla Nguyen <kaylanguyen@google.com>
Co-authored-by: Jason Collins <jason.a.collins@gmail.com>