Граф коммитов

338 Коммитов

Автор SHA1 Сообщение Дата
Leland Batey c57b063590 Migrate clientarggen to svcdef 2016-10-31 14:29:05 -07:00
Leland Batey 4cafb6b349 Port httptransport to svcdef 2016-10-31 13:27:47 -07:00
Leland Batey 9af30f80a7 Initial weave of svcdef into gengokit 2016-10-31 09:46:30 -07:00
Adam Ryman bd71b70e9b Merge pull request #77 from hasAdamr/grpc-context
gRPC context
2016-10-29 16:52:33 -07:00
Adam Ryman 229bcf6bd4 Merge pull request #76 from hasAdamr/example
Add example and update README.md
2016-10-29 16:43:14 -07:00
Adam Ryman 5e3af2ded3 Add grpc context to context test; Normalize header/metadata keys 2016-10-28 19:34:43 -07:00
Adam Ryman 2c52450752 Seperate setup from test, update ctx test to be more generic 2016-10-28 17:37:29 -07:00
Adam Ryman 2182e790ce Rename http integration tests to transport 2016-10-28 17:11:35 -07:00
Adam Ryman cfdfbfb6a5 Add context to metadata to metadata to context 2016-10-28 16:59:56 -07:00
Adam Ryman 8c37fb79e0 Merge pull request #75 from hasAdamr/context-to-transport-to-transport-to-context
Context to transport to transport to context
2016-10-28 16:03:41 -07:00
Adam Ryman d719b03f3e Add example and update README.md 2016-10-28 15:26:39 -07:00
Leland Batey 7b5e861316 Merge pull request #74 from hasLeland/pipeline-migration
Pipeline migration -- Part 1
2016-10-28 10:25:03 -07:00
Leland Batey dc580b847d Implement creation of svcdef in truss 2016-10-28 09:02:49 -07:00
Adam Ryman 6ff5dba7d1 Add context to context http transport tests 2016-10-25 19:21:07 -07:00
Adam Ryman 0e8bb160a6 Add context to transport to context for http transport 2016-10-25 19:21:07 -07:00
Adam Ryman 7f984bfdff Move http transport templates for consolidation 2016-10-25 19:21:07 -07:00
Leland Batey cb84ced170 Consolidate two-step config creation into one step 2016-10-22 11:21:21 -07:00
Adam Ryman 6553cb50e1 Merge pull request #73 from hasAdamr/cleanup
Cleanup templates
2016-10-22 10:50:44 -07:00
Leland Batey 47eaf4bb8f Implement protobuf package name extractor 2016-10-22 10:47:05 -07:00
Adam Ryman 5884fbae0e Clean templates 2016-10-21 18:44:07 -07:00
Adam Ryman 2db7688dde Update template test to print code if errors occurred 2016-10-21 18:44:05 -07:00
Leland Batey 854f30c888 Merge pull request #71 from hasLeland/plumbing-rewrite
New service definition implementation
2016-10-21 14:24:33 -07:00
Zaq? Wiedmann 9c00bf7f3d Merge pull request #68 from zaquestion/glide->govendor
Move to vendor with govendor instead of glide
2016-10-20 16:27:36 -07:00
Leland Batey f69d8be272 Edits to comply with code review 2016-10-20 10:44:52 -07:00
Zaq? Wiedmann bce1866f82 Ignore solaris in vendor/vendor.json per
Issue is for godep, but references govendor and explains problem with
missing 'golang.org/x/sys/unix' which logrus solaris required.
https://github.com/tools/godep/issues/377
2016-10-17 11:45:49 -07:00
Zaq? Wiedmann 511437608b Move to govendor for dependecy management 2016-10-17 11:20:16 -07:00
Adam Ryman d3caffcf87 Merge pull request #70 from hasAdamr/refactor-protostage
Add -pbout flag for .pb.go out directory; Large refactor for pipeline changes.
2016-10-13 10:46:59 -07:00
Adam Ryman 30bde78a55 Polish based on PR comments 2016-10-13 10:43:18 -07:00
Leland Batey 79ecc77422 Rename from pbinfo to Svcdef 2016-10-12 14:16:36 -07:00
Leland Batey 1c0a5910c7 Add HTTP consolidation testing and general docs 2016-10-12 14:07:23 -07:00
Leland Batey 40288d0169 Working version of pbinfo! 2016-10-11 14:53:32 -07:00
Adam Ryman e765fa9d0e Additional refactor of main and protostuff
Flow more closely follows cli code of `go build` and `go-bindata`

Preparing for adding the parsed .pb.go file inforation to the pipeline
2016-10-11 12:50:24 -07:00
Adam Ryman 3ec08eaa64 Add support for specifying output .pb.go package
Add flag -pbout which allows the user to specify a go package
for the .pb.go files to be written to.
2016-10-11 12:49:22 -07:00
Adam Ryman a26f615ecf Refactor protostage
General cleanup, clearer names, high cohesion, loose coupling.

Additionally, the third_party directory is now inside of /NAME-service
2016-10-11 12:01:38 -07:00
Leland Batey 7a86e1bf74 Add map handling, add docs 2016-10-10 10:26:36 -07:00
Leland Batey 2babfa4458 Further construct, add type resolution 2016-10-09 11:54:16 -07:00
Leland Batey b2b619e83e Initial work on implementing deftree replacement 2016-10-08 14:51:43 -07:00
Adam Ryman a2bd9bc548 Merge pull request #65 from hasAdamr/new-integration
Update integration tests with http transport
2016-10-07 11:15:51 -07:00
Adam Ryman d1997b075b Reword _integration_tests/README.md 2016-10-06 20:10:34 -07:00
Adam Ryman 5996e6f7c3 Update Makefiles with suggestions 2016-10-06 20:10:34 -07:00
Adam Ryman 383049f383 Update http tests so it is easier to add new routes 2016-10-06 20:10:34 -07:00
Adam Ryman bf3176b793 FIX #1, for Leland http transport, fix case body empty 2016-10-06 20:10:34 -07:00
Adam Ryman 4ea2ea4c68 Update integration tests with http transport
Before the integration tests were only testing building the server and
cli client and testing for panics over grpc.

Now the following is tested:
- http transport, both the client library and manually set http requests
    - query, repeated query, and nested messages in body
- building cliclient and server
    - gprc and http transports
    - base, repeated, nested messages, and map type tests

The repeated, nested messages, and map type tests are currently disabled
until those features are implmented for the cliclient.

In addition a Makefile to the root directory has been added for building
truss and running all of the tests.
2016-10-06 16:33:06 -07:00
Adam Ryman 30b995fb9d Merge pull request #66 from hasLeland/repeated-fields-json-rebase
Add support for any msg structure in query and cli, excluding maps
2016-10-06 16:30:57 -07:00
Leland Batey b09f03e3b0 Add support for any msg structure in query and cli, excluding maps
Update tests for arbitrary message support

Implement support for any messages, but not maps

Ignore maps, correct nested definition support
2016-10-06 11:05:53 -07:00
Leland Batey 3764b942e5 Merge pull request #64 from hasLeland/repeated-query
Add support for repeated query parameters
2016-09-30 11:59:42 -07:00
Leland Batey 604a096847 Add support for repeated query parameters 2016-09-30 11:54:06 -07:00
Adam Ryman c62491a111 Merge pull request #63 from hasAdamr/update-template.go
Update template.go and remove $ go generate from travis
2016-09-29 11:48:48 -07:00
Adam Ryman 0f3568ddf5 Merge pull request #60 from hasAdamr/http_transport_hotfix
Fix http transport panic
2016-09-28 18:49:43 -07:00
Adam Ryman 0e112f7704 Removing go generate from .travis to test commited changes
The versions of any generated file should be up to date in master,
running go generate on a freshly cloned version of truss should be a
noop. This allows for people to go get truss without running go generate
2016-09-28 17:17:50 -07:00