These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)
Commit: | 3d47392 | |
---|---|---|
Author: | Broc Woodworth | |
Committer: | GitHub |
upgrade atlas app toolkit to v2 (#264) * upgrade atlas app toolkit to v2 * gorm v2 * go mod tidy / vendor
The documentation is generated from this commit.
Commit: | 6c5afd9 | |
---|---|---|
Author: | Broc Woodworth |
upgrade atlas app toolkit to v2
The documentation is generated from this commit.
Commit: | 4aa3400 | |
---|---|---|
Author: | Suhas Bhagate | |
Committer: | GitHub |
Add compartment support in gorm generated file (#263) - feature-compartment - go mod vendor - go mod vendor
Commit: | d3024d4 | |
---|---|---|
Author: | Chinmaya Bharadwaj | |
Committer: | GitHub |
feat: add bytes support (#254)
Commit: | 76a99c1 | |
---|---|---|
Author: | Chinmaya Bharadwaj | |
Committer: | GitHub |
Fix: use an array instead of map to maintain the order of the keys (#253) * Fix: use an array instead of map to maintain the order * bit more optimization and generated protos
Commit: | 40bd640 | |
---|---|---|
Author: | Chinmaya Bharadwaj | |
Committer: | GitHub |
feat: add partial support for composite primary keys (#252) * feat: add partial support for composite primary keys Currently, a single PK was getting handled. This PR attempts to add the support for composite primary keys, so that generated methods are predictable. Currently, only read, list & delete are handled in the current PR. Additional method support will be added in the upcoming PRs. Added department user proto to demonstrate the same. * consider field name "id" as well
Commit: | 200c4da | |
---|---|---|
Author: | Chinmaya Bharadwaj | |
Committer: | GitHub |
add toolkit filters only if needed (#251) This has two changes * To skip applyCollectionOperators method generation if no filters are present got Get&List methods * Support for optional IDs
Commit: | 0566213 | |
---|---|---|
Author: | Chinmaya Bharadwaj | |
Committer: | GitHub |
feat: add support for proto3 optional fields (#250) This feature makes the field a pointer type if `optional` field is specified. This feature needs protoc version >=v3.15.0
Commit: | cedaaf0 | |
---|---|---|
Author: | Michael Skuratovich | |
Committer: | GitHub |
Upgrade gORM to V2 (#237) * updated gorm, changed identifier import in user/user.pb.go * updated gorm version * added changes except for associations * plugin changes * updated plugin for gorm v2 * Added custom Jsonb type * Fixed generation issues * Updated README * addressed comments * Regenerate --------- Co-authored-by: chorst <chorst@infoblox.com>
Commit: | 6b603e1 | |
---|---|---|
Author: | Mathias Grund Sørensen | |
Committer: | GitHub |
Add serializer tag support (#245)
Commit: | e651531 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Fix: bytes protobuf type gives unhelpful segfault (#242)
Commit: | 3a529ff | |
---|---|---|
Author: | ttoad | |
Committer: | GitHub |
Feat/support time duration (#233) * feat: support time.Duration type * docs: regenerate * Fix and update test cases Co-authored-by: chorst <chorst@infoblox.com>
Commit: | bfeed9e | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Handle multiple services re-using a proto object type (#241)
Commit: | 51a4b3c | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Convert to use fixed versions of gen in buf, fix arrays bug (#240) * Convert to use fixed versions of gen in buf, fix arrays bug * Remove accidental buf.gen.yaml at root * Lock versions of protoc-gen-go for options/types generation
Commit: | 2985d51 | |
---|---|---|
Author: | Alexey Zaiats | |
Committer: | GitHub |
Added "big.Int" support for GORM data type in protoc generation (#222)
Commit: | 65a5422 | |
---|---|---|
Author: | Alexey Zaiats |
Added "big.Int" support for GORM data type in protoc generation
Commit: | b69f533 | |
---|---|---|
Author: | khous |
remove gogo
Commit: | 936cfc3 | |
---|---|---|
Author: | Sergei Semenchuk | |
Committer: | GitHub |
Revert "move to google.golang.org/protobuf"
Commit: | 4b6ce3b | |
---|---|---|
Author: | binjip978 |
remove comments form proto file
Commit: | ec67fe5 | |
---|---|---|
Author: | binjip978 |
uncommit whole user.proto
Commit: | a5c4420 | |
---|---|---|
Author: | binjip978 |
many to many
Commit: | ba85f86 | |
---|---|---|
Author: | binjip978 |
remove debug and started belongsTo
Commit: | 3ea574e | |
---|---|---|
Author: | binjip978 |
uncomment address
Commit: | 598a7b7 | |
---|---|---|
Author: | binjip978 |
added HasMany, but FieldMask is buggy and not consistent with example
Commit: | 0ef90e0 | |
---|---|---|
Author: | binjip978 |
simple user.proto, to with hasOne only
Commit: | e1c348a | |
---|---|---|
Author: | binjip978 |
update timestamp.proto
Commit: | 7c2772d | |
---|---|---|
Author: | binjip978 |
get rid of old import function
Commit: | fc9e60d | |
---|---|---|
Author: | binjip978 |
work on blog post only
Commit: | 1f85393 | |
---|---|---|
Author: | binjip978 |
enum detection
Commit: | 96f3718 | |
---|---|---|
Author: | binjip978 |
some stuff
Commit: | fd90573 | |
---|---|---|
Author: | Drew Wells |
upgrade protoc
Commit: | 736bb0f | |
---|---|---|
Author: | Drew Wells | |
Committer: | Drew Wells |
B-51429 update to grpc-gateway v2 Moved to buf build for provisioning generated code. This ensures our protos conform to standards with `buf lint`. It also ensures reliable builds by utilizing a standard build toolchain. Vendored dependent protobufs so project can be built without special containers. Updated gogo/protobuf and small API changes as a result. Fixed grpc tests that were using unsupported reflect.DeepEqual see https://github.com/golang/protobuf/issues/1173#issuecomment-659509017
Commit: | 967c7c3 | |
---|---|---|
Author: | Mewis | |
Committer: | GitHub |
Feature/association handler (#187) * Add association handler * Amend association handler * Put mod back * Add gorm default mode * Update readme * remove gorm_association_defaults * Update plugin/handlergen.go Co-authored-by: Caleb Horst <calebjh1@gmail.com> * Remove association handlers from GORM tag * Amend association handler logic in plugin Co-authored-by: Caleb Horst <calebjh1@gmail.com>
Commit: | ec9aaae | |
---|---|---|
Author: | Mewis | |
Committer: | GitHub |
Feature/allow multiple crud same service (#184) * Remove removeChildAssociations * Delete go.sum * Update go.mod * Fix failing test (Update protobuf) * Amend servergen to allow multiple crud * Fix for pre service call * Add test for multiple creates * Add all methods to multi service test * Amend test name and description * Remove go sum * Remove protec exec * Remove math import * Put removeChildAssociations back * Use HasPrefix instead of regex for parsing service
Commit: | db22b9f | |
---|---|---|
Author: | Dzmitry Rudkouski | |
Committer: | GitHub |
Add span (#181) * Add span * Add span annotations in/out params * Fixed second parameter * fix annotation to attribute * fix annotation to attribute * Add option for switching span * Update error handling and refactor code * travis fix * add error handlers for the Before* and After* calls * Updated with latest comments
Commit: | 0e46de2 | |
---|---|---|
Author: | Aliaksei Burau | |
Committer: | GitHub |
Update set implementation (#172) * Implementation for UpdateSet server method, generate DefaultPatchSet for handling this behavior on ORM level * Add example for UpdateSet
Commit: | 5fa0db5 | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | GitHub |
Handle DeletedAt (#162) * Handle DeletedAt
Commit: | 9cae0b4 | |
---|---|---|
Author: | Yury Rashetska | |
Committer: | Daniil Kukharau |
Postgres DB Time type support (#160) * Adding time support * Change package * Fix generated code * Adding marshaller unmarshaller * Fix pattern isshe * Fix algorithm issue * Fix unmarshaler issue * Change the pattern * Fix major issues on validation and marshaling * Fix time output issue * Roll back imports * Fix PR issues * Improve time only test coverage * Remove redundant validation from time parsing * Adding example for TimeOnly type, slight code refactoring against code review
Commit: | acb2249 | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | GitHub |
Fix FloatValue/DoubleValue protobuf types handling (#156)
Commit: | 2257f6a | |
---|---|---|
Author: | Chris (CruftMaster) | |
Committer: | Caleb Horst |
Support for PQ arrays in Postgres Added an array of bools Forcing the correct PG array types
Commit: | 3d81b13 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Fix improper int to string conversion (#143) * Fix improper int to string conversion * Add fields with example tags. Fix gentool issue
Commit: | 17c0eeb | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Add function and service generation for a multiple delete (#134) * Add function and service generation for a multiple delete * Add repeated field check for ids field, use single hook call
Commit: | 486d777 | |
---|---|---|
Author: | Maxim Senokosow | |
Committer: | Daniil Kukharau |
Issue #131: Golang "context" import in separate files. (#133)
Commit: | c71fa2e | |
---|---|---|
Author: | Evgeny Milev | |
Committer: | Daniil Kukharau |
Transfer PageInfo from grpc metadate to grpc responce message (#129)
Commit: | 775a493 | |
---|---|---|
Author: | Evgeny Milev | |
Committer: | Daniil Kukharau |
Populate offset in paged List requests (#127)
Commit: | 713bb1f | |
---|---|---|
Author: | Evgeny Milev | |
Committer: | Daniil Kukharau |
Add support of preload gorm option (#125)
Commit: | 223cf82 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Quiet warnings, Check non-autogenned services for Ops, Reflect for unormable children (#122) * Use reflection based field masking for non-ormable structs * Adds a quiet option to suppress warnings, checks un-genned svcs * Also generate handling for object in mask direct copy
Commit: | 5066908 | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | GitHub |
Major revisit of hooks (#120) * Remove DefaultUpdate handler * Add handler-level hooks * - Add after service hooks - Fix before service hooks signatures * Adjust before List/Read hook names * Minor changes to function naming * Generate service hooks per service method rather than per service verb * Minor code formatting changes * Added test for the case when there are no collection ops in request
Commit: | 3910fb1 | |
---|---|---|
Author: | Richard Felkl | |
Committer: | Daniil Kukharau |
Added support for advanced association options (#117) * Added support for advanced association options - For each association type new options have been added (association_autoupdate, association_autocreate, association_save_reference). - Those options can be set to boolean value (by default set to `true` in GORM) represented by string which is parsed and checked in plugin/associations.go. - Updated readme now mentions those options and contains link to official docs how to use them. * Change advanced association parameters to bool - options association_autoupdate, association_autocreate, association_save_reference changed to type bool
Commit: | 44efa10 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | Daniil Kukharau |
Enable Fields selection for autogenerated Reads (#109) * Breaking Change to DefaultRead func to enable field selection * Fix spelling error * Under the hood refactor, connects svc methods to objects * Add a ReadXYZFields function that accepts a FieldSelection * Generate only one Read function, depending on FieldSelection usage
Commit: | 0cc0117 | |
---|---|---|
Author: | EvgenyMilev | |
Committer: | Daniil Kukharau |
Fix option names inconsistency (#114) * Fix option names inconsistency * Fix option names inconsistency (added)
Commit: | effc3dd | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | Caleb Horst |
Fix empty import / nil reference handling (#107) * Fix empty import issue * Yet another fix for nil reference handling
Commit: | 8f9b165 | |
---|---|---|
Author: | Daniel Kukharau |
Fix foreignkey pointer missing
Commit: | fedbd57 | |
---|---|---|
Author: | Aliaksandr Skurydzin | |
Committer: | GitHub |
PATCH with update mask implementation. (#82) Patch with update mask implementation * Patch handler implementation * Update service method executes either Patch or Update depending on length (or presence) of update mask * DefaultApplyFieldMask method implementation.
Commit: | 7b33d43 | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | GitHub |
Fix multi-file association use case (#91) * Add multi-file association example * Fix multi-file association use case
Commit: | 4186446 | |
---|---|---|
Author: | Andrei Maskalenka | |
Committer: | Evgeniy Litvin |
Support of implicit foreign key of type atlas.rpc.Identifier. (#89)
Commit: | 5af4d93 | |
---|---|---|
Author: | Daniel McDonald | |
Committer: | GitHub |
Add GORM tags for relationships to field messages (#85)
Commit: | 825072e | |
---|---|---|
Author: | Andrei Maskalenka |
generated files
Commit: | 2d7545e | |
---|---|---|
Author: | Yauheni Stankevich | |
Committer: | Yauheni Stankevich |
Support collection parameters for list operation
Commit: | e120f0e | |
---|---|---|
Author: | Andrei Maskalenka |
Merge remote-tracking branch 'upstream/master' into resource-amaskalenka
Commit: | 539ea21 | |
---|---|---|
Author: | Andrei Maskalenka |
examples
Commit: | 648735f | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
WIP: Add support for Postgres Inet type as PB gorm.types.InetValue (#76) Add support for Postgres Inet type as PB gorm.types.InetValue
Commit: | 498eef1 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Add support for including types of non-builtin types (#74) * Add support for including types of non-builtin types * Documentation, comments, and internal naming changes * Dramatic refactor of the import handling system * Readme tweak for correctness * Cleanup unnecessary conditions, trim packages on included types * Remove special packages, use special package paths instead
Commit: | 7101dfa | |
---|---|---|
Author: | Andrei Maskalenka |
Example: generated files
Commit: | 06cd4ef | |
---|---|---|
Author: | Daniel Kukharau |
Make foreignkey a pointer type by default
Commit: | dde518a | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Enable cross-file and cross-package imported types (#71) * Enable cross-file and cross-package imported types * Readme update and comment change
Commit: | d2b9677 | |
---|---|---|
Author: | Daniel Kukharau |
Fix position field handling
Commit: | 3cec8f6 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Add service level option to integrate with toolkit txn middleware (#70) * Add service level option to integrate with toolkit txn middleware * Add getServiceOptions utility call to reduce redundancy
Commit: | 8b8e03a | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Add UUID type for non-ptr uuids. Fix zero-checks with ptr check (#67) * Add UUID type for non-ptr uuids. Fix zero-checks with ptr check * Change NilUUID to ZeroUUID * Invert logic so that it works properly
Commit: | 647b5be | |
---|---|---|
Author: | Daniel Kukharau |
Revert "add vendor" This reverts commit 2033d6e63f3f0b42061c2a863da13713e9c8180d.
Commit: | 2033d6e | |
---|---|---|
Author: | Daniel Kukharau |
add vendor
Commit: | 8343d09 | |
---|---|---|
Author: | Daniel Kukharau | |
Committer: | Daniel Kukharau |
Make example use multi-tenancy
Commit: | e695595 | |
---|---|---|
Author: | Evgeniy Litvin | |
Committer: | GitHub |
Remove vendor folder and updates for Makefile and Gopkg.lock (#59) * Remove vendor folder * Updates for Makefile and Gopkg.lock * Update .gitignore and toolkit revision
Commit: | 6d32968 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Initial JSON type support, custom JSON type. WKT hack replacement (#55) * Initial JSON type support, custom JSON type. WKT hack replacement * Properly skip json field if no supported db type * Add marshal/unmarshal tests * Change wording of one test case * More test cases, tests in UUID/JSONValue package, README updates
Commit: | d3a3f3d | |
---|---|---|
Author: | Daniel Kukharau | |
Committer: | Daniel Kukharau |
ManyToMany association
Commit: | 13a2688 | |
---|---|---|
Author: | Daniel Kukharau | |
Committer: | Daniel Kukharau |
BelongsTo association
Commit: | 852c34a | |
---|---|---|
Author: | Daniel Kukharau |
Make associations options to be a oneof
Commit: | c9b081b | |
---|---|---|
Author: | Daniel Kukharau | |
Committer: | Daniel Kukharau |
Refactoring
Commit: | 590c30b | |
---|---|---|
Author: | Daniel Kukharau | |
Committer: | Daniel Kukharau |
Associations MVP
Commit: | 9eee558 | |
---|---|---|
Author: | dmacthedestroyer | |
Committer: | Caleb Horst |
update vendor files
Commit: | 817aabc | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
Rename gormable types package, rename example, update Makefile (#43) * Rename gormable types package, rename example, update Makefile * Add lots of comments on the proto files. One plugin fix * Address comments by clarifying comments
Commit: | 83cefe3 | |
---|---|---|
Author: | chorst | |
Committer: | Caleb Horst |
Remove Contacts entirely, add comment to the override hook func
Commit: | 48ae19e | |
---|---|---|
Author: | chorst | |
Committer: | Caleb Horst |
Add gorm example for consideration.
Commit: | 2664741 | |
---|---|---|
Author: | Daniel McDonald | |
Committer: | GitHub |
update to use version 0.2.0 of infobloxopen/atlas-app-toolkit (#33) * update to use version 0.2.0 of infobloxopen/atlas-app-toolkit version 0.2.0 renamed the `auth/GetTenantID` function to `GetAccountID`
Commit: | 1388b09 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | Evgeniy Litvin |
Forsake lint (#31) * Move linting and resolve resulting issues, initial * Fix assocations foreign key id checks * Reduce code reuse, simplify typename fetching * Remove redundant fieldName, fromName. Clean some commented lines * Foreign key field in TestTypes
Commit: | 50cbda8 | |
---|---|---|
Author: | Daniel McDonald | |
Committer: | GitHub |
fix .proto file to fit naming conventions (#32)
Commit: | d0d10c0 | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | Daniel McDonald |
Improve default server generation (#29)
Commit: | a4f53cf | |
---|---|---|
Author: | Daniel McDonald | |
Committer: | GitHub |
add full go package name to proto file (#27) * add full go package name * remove `goimports` call from `make test` target
Commit: | 08b7c69 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | Daniel McDonald |
Open source deps (#25) * Replace private dependency Infoblox-CTO with infobloxopen * Updated vendor files, potential context import clashes
Commit: | a510c5b | |
---|---|---|
Author: | Daniil Kukharau | |
Committer: | Daniel McDonald |
implement default server generation (#13)
Commit: | f696d78 | |
---|---|---|
Author: | Caleb Horst | |
Committer: | GitHub |
UUID support (#12) * Support for UUID and Timestamp types. Converters to ptrs in/out * Revert pointer arg and return change for converters * Fix issue with closing bracket, remove handling of useless cases
Commit: | b2b8acf | |
---|---|---|
Author: | chorst | |
Committer: | Daniel McDonald |
Added List handler and Infoblox collection operators, comment fix
Commit: | 126fd9e | |
---|---|---|
Author: | Daniel McDonald | |
Committer: | Daniel McDonald |
add multitenant support If the `multi_tenant` flag is set in the `.proto`, a `ID` field will be added to the gorm model, and the CRUD methods will be modified to include tenancy checks. *Limitations:* if an `id` field isn't present on the message, then the `DefaultUpdateX` function can't be created. This could be extended to have better support, but for this iteration the `id` convention will be required.
Commit: | a4b467b | |
---|---|---|
Author: | Daniel McDonald | |
Committer: | Daniel McDonald |
move from glide to dep
Commit: | 2e15383 | |
---|---|---|
Author: | chorst | |
Committer: | Daniel McDonald |
Remove manual in/outdent. Various reformatting. Makefile updates
Commit: | 1a3fed6 | |
---|---|---|
Author: | chorst |
Address comments
Commit: | 27e8352 | |
---|---|---|
Author: | chorst |
Cleaning up after merge
Commit: | 5e21eaa | |
---|---|---|
Author: | chorst |
Merge branch 'master' into autogen-handlers
Commit: | 6a4d2ee | |
---|---|---|
Author: | chorst |
Basic C/R/U/D handlers at object level
Commit: | f00e4a2 | |
---|---|---|
Author: | chorst |
Partial changes to implement default C-R-U-D-L handlers