Leland Batey
47bdb59480
Separate doc generation from definition structure
...
Consolidate makedt and httpopts into doctree
Move `doctree` from `gendoc/doctree` into a separate top level package
called `deftree`. Then, move generation of markdown documentation from
within `deftree` into `gendoc`.
Remove unused describeMarkdown methods in deftree
Remove unused scanner test
2016-09-12 11:37:15 -07:00
Ian Molee
2b514b141e
Merge pull request #43 from cmosetick/master
...
Vetted that this still works as expected, and it does. Docker approach will change shortly, but this is definitely an improvement to reduce UFS layers. Next change will pull protobuf prebuilt binary as well, to avoid the lengthy and filesystem-pollutey build process.
2016-09-09 17:42:02 -07:00
Chris Mosetick
aedd2b41a6
Dockerfile cleanup:
...
- point to master branch of GoogleMock to help with issue #42 .
- remove redundant RUN commands / extraneous layers.
2016-09-09 13:56:57 -07:00
Zaq? Wiedmann
3116774f2f
Merge pull request #38 from tunezaq/patch-1
...
Update travis ci button in readme
2016-08-22 19:05:22 -07:00
Adam Ryman
89426bcc85
Merge pull request #36 from hasAdamr/travis
...
Add travis-ci for automated testing
2016-08-22 18:48:33 -07:00
Zaq? Wiedmann
1187c2b58f
Update travis ci button in readme
...
button needs to be pointing to TuneLab/master instead of dev fork
2016-08-22 18:48:10 -07:00
Adam Ryman
b4e8a821a7
Add travis-ci for automated testing
...
The .travis.yml file has a few warts that we will need to deal with.
This is going to be very helpful for not breaking the build as we go
forward.
2016-08-22 18:12:46 -07:00
Leland Batey
1b3cb482dd
Merge pull request #35 from hasLeland/default-protofiles-include
...
Add google-provided include files to work with binary protoc
2016-08-21 16:41:01 -07:00
Leland Batey
ac22d44f13
Add google provided include files to work with binary protoc
2016-08-21 16:08:05 -07:00
Leland Batey
877c1ee7f2
Merge pull request #32 from hasLeland/doctree-markdown-cleanup
...
Fix bug with title of services, clean repeat code
2016-08-19 18:27:36 -07:00
Leland Batey
83533222ba
Merge pull request #33 from hasLeland/readme-disclaimer
...
Add disclaimer to README.md
2016-08-19 17:48:04 -07:00
Leland Batey
f1c75d1f23
Add disclaimer to README.md
2016-08-19 17:45:00 -07:00
Leland Batey
4cbbf9baf5
Fix bug with title of services, clean repeat code
2016-08-19 17:30:26 -07:00
Adam
2815f9b62c
Merge pull request #31 from TuneLab/truss
...
Merge truss into master
2016-08-19 17:22:15 -07:00
Adam
938b5f884c
Merge pull request #30 from hasLeland/truss
...
Merge `master` into `truss`
2016-08-19 17:16:12 -07:00
Leland Batey
6146ff794b
Merge branch 'master' into truss
2016-08-19 17:03:53 -07:00
Leland Batey
054c8c4c32
Merge pull request #27 from hasLeland/truss
...
Modify files for repo name change
2016-08-19 16:50:41 -07:00
Leland Batey
7986dd53fd
Modify files for repo name change
2016-08-19 16:43:46 -07:00
Leland Batey
bf0ff904c5
Merge pull request #24 from hasLeland/http-transport-clean
...
Add HTTP transport
2016-08-19 14:47:05 -07:00
Leland Batey
91b97a95c4
Add HTTP transport
...
Add comments for pull request and golint
2016-08-19 14:40:55 -07:00
Adam
7826d3778b
Merge pull request #25 from hasAdamr/truss-interface
...
Update truss to use NamedReadWriter Interface
2016-08-19 13:51:26 -07:00
Adam Ryman
0307725f4b
Update truss to use NamedReadWriter Interface
...
The truss.NamedReadWriter interface has the methods Read, Write, and
Name. *os.File fulfills this interface. A slice of them can represent a
file structure. This allows files to be directly used as NameReadWriter's.
This also allows for a truss.NamedReadWriter to be passed to functions
that accept io.Reader or io.Writer.
2016-08-19 10:54:04 -07:00
Adam
2606176641
Merge pull request #22 from hasAdamr/truss-refactor
...
Major refactor of truss
2016-08-17 19:46:12 -07:00
Adam Ryman
78d2ce7eaa
Major truss refactor
...
truss used to be composed of several protoc plugins, with lots of side
effects.
truss is now composed of one protoc plugin, protoc-gen-truss-protocout
which outputs the output of protoc.
This output, plus the .proto file with the service definition are used
to create a doctree
This doctree is then used by gendocs and gengokit to generate the
microservice and documentation.
This stucture has less side effects, and should be more testable
2016-08-17 19:26:35 -07:00
Adam
e8e3e8ec8c
Merge pull request #19 from hasLeland/truss
...
Hotfix of typo in error wraps
2016-08-10 12:16:08 -07:00
Leland Batey
b6559f0e26
Hotfix of typo in error wraps
2016-08-10 12:12:53 -07:00
Adam
31fe2d42c9
Merge pull request #18 from hasLeland/doctree-refactor
...
Makedt refactor
2016-08-09 14:16:45 -07:00
Leland Batey
f4d039307f
Clarify error messages
2016-08-08 17:41:40 -07:00
Leland Batey
8e1c66af07
Clean comments, break out functionality
2016-08-08 17:26:49 -07:00
Leland Batey
3a8d80046b
Fix "it's" mistakes, move makedt to camelCase
2016-08-08 17:02:54 -07:00
Leland Batey
5d7b04f3d5
Add `github.com/pkg/errors` to vendored packages
2016-08-08 14:08:56 -07:00
Leland Batey
76e63e6504
Add unit test for makedt
...
The addition of annotations.pb.go and http.pb.go are necessary so that
tests which make use of http annotations are able to make use of them.
They're not used in this single test, but for future tests it's
important that they be included so I'm including them now.
2016-08-08 13:59:02 -07:00
Leland Batey
19b7251304
Refactor doctree creation into smaller functions
...
Each stage of the construction of a doctree has been broken down into
smaller functions, allowing each of those smaller functions to be
tested.
2016-08-07 16:26:01 -07:00
Adam
ffd57bbce0
Merge pull request #16 from hasAdamr/truss-updatebuildflag
...
Update truss flag -build=false to -nobuild
2016-08-03 17:09:47 -07:00
Adam Ryman
c1a1c38327
Update truss flag -build=false to -nobuild
2016-08-03 17:08:32 -07:00
hasLeland
7c0b2a858c
Merge pull request #15 from hasAdamr/truss-buildflag
...
Add build flag for truss
2016-08-03 16:12:36 -07:00
Adam Ryman
0953ebae59
Add build flag for truss
...
The slowest part of truss is exec'ing $ go build for the generated
microservice. This commit adds a build flag to truss.
If truss is called as followed:
$ truss -build=false *.proto
The generated microservice will not be built.
This was added for using truss for tests that do not involve the built
microservice.
2016-08-03 16:11:07 -07:00
hasLeland
0ecb845f2c
Merge pull request #14 from TuneLab/truss
...
Truss
2016-08-03 15:32:56 -07:00
hasLeland
d437e730f7
Merge pull request #13 from TuneLab/sanitize-proto
...
Sanitize protobuf files
2016-08-03 12:05:48 -07:00
Leland Batey
09aa1879ef
Remove pb from names
2016-08-02 19:05:54 -07:00
Leland Batey
deffb3bbbf
Remove references to tmc
2016-08-02 17:17:04 -07:00
Leland Batey
aaf9e55ab0
Remove 'mv' references in files and names
2016-08-02 17:13:13 -07:00
Leland Batey
014766bc49
Move sanitize mvauth
2016-08-02 17:06:35 -07:00
hasLeland
174f0b0666
Merge pull request #12 from TuneLab/truss-rename-gotemplate
...
Update truss .go templates to .gotemplate
2016-08-02 16:47:12 -07:00
Adam
67975ae6f3
Merge pull request #11 from TuneLab/tests-and-comments
...
Expanding tests and documentation
2016-08-02 15:57:51 -07:00
Adam Ryman
e823b84944
Update truss .go templates to .gotemplate
...
Having the template files be of extention .go confuses golangs tooling.
.gotemplate does not.
2016-08-02 15:53:26 -07:00
Leland Batey
f2a9ad396b
Revise clientarggen package docstring
2016-08-02 15:44:20 -07:00
hasLeland
cc1ccd7540
Merge pull request #10 from TuneLab/developing.md
...
Add initial development documentation
2016-08-02 14:41:00 -07:00
Adam Ryman
546b78da79
Add initial development documentation
2016-08-02 14:38:15 -07:00
Leland Batey
5eeab0b8a4
Merge branch 'truss' into tests-and-comments
2016-08-02 14:27:53 -07:00