Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Martinez 34ace5afd4 be less strict on input and rely on API model to ignore additional props 2020-03-19 13:32:27 -04:00
Paul Lorenz f0257f6ccf Support for multiple endpoints 2020-03-19 13:31:31 -04:00
Paul Lorenz 25740c3b0b Incorporate fabric store refactoring (#91) 2020-02-28 09:44:53 -05:00
Eugene K e7904aca34 pass peer data in the Dial response, update deps 2020-02-27 13:15:29 -05:00
Eugene K f8a3a4cc26 crypto support 2020-02-26 14:49:53 -05:00
Eugene K fbfcc76983 checkpoint 2020-02-26 14:49:53 -05:00
dovholuknf 3db81622cb didn't i do this once already? 2020-02-25 14:29:08 -05:00
Andrew Martinez 1c73a47be2 moves field checking internal to handler 2020-02-25 13:30:41 -05:00
Andrew Martinez 7016c8b413 sync password length mins between init and API 2020-02-25 11:03:40 -05:00
Andrew Martinez 8f64d859c2 add password for self service password, fixes #87
- moves logic from REST endpoint def to handlers
- moves to version 0.10
2020-02-25 10:31:58 -05:00
Andrew Martinez 5d7f42bbde Merge branch 'master' into authenticator.endpoints 2020-02-21 08:31:51 -05:00
Andrew Martinez 046128194a fixes #86
- restores /current-identity
- restores /authenticators
- adds tests for both endpoints
2020-02-21 08:29:46 -05:00
Paul Lorenz 46c0c396dc * Fix bug where overriden query was ignored. Fixes GH-83
* Allow routers to referenced by name when creating services. Fixes GH-76

* Allow admins to view services as other users

* Allow anyone to change the requested config types shown in a services list
2020-02-14 14:55:10 -05:00
Paul Lorenz 0dcd2a4ba5 Merge pull request #79 from netfoundry/fix-port-setting-on-migration
Fix port symbol name
2020-02-14 14:44:57 -05:00
Andrew Martinez cc497a3953 fixes #80
- Adds a check for a nil identity before returning during updb auth
- Adds API test for invalid username in updb auth
2020-02-12 12:51:11 -05:00
Paul Lorenz ffccd0898a Fix port symbol name 2020-02-12 11:26:16 -05:00
Paul Lorenz 647dff62c3 Add versioning and tagging (#74)
* Add versioning and tagging

* Update for build info generation

* Return config ids as well as raw config

* Return [] not null for empty service configs list

* Try to fix body parse error issue

* Update fabric and foundation and sdk
2020-02-11 15:54:09 -05:00
Paul Lorenz 95a7064549 Extract service edge router policies into standalone entity. Fixes GH-69 2020-02-03 12:14:33 -05:00
Paul Lorenz d0f18a3a5b Allow overriding service configurations per identity (#68)
Allow overriding service configurations per identity. Fixes GH-31
2020-02-03 12:10:08 -05:00
Paul Lorenz 9adf93dc57 Enable schema validation for configs. Fixes GH-62 (#63)
* Enable schema validation for configs. Fixes GH-62
2020-01-28 15:02:20 -05:00
Paul Lorenz d1bdaae857 Move tunneler configuration into config entities (#61)
* Move tunneler configuration into config entities. Fixes GH-46
2020-01-24 09:09:09 -05:00
Paul Lorenz b1289cb96a Replacing isHosting with session type. Fixes GH-44 2020-01-22 14:02:42 -05:00
Paul Lorenz d93b6d5da2 Allow anyOf semantics in addition to allOf for policies. Fixes GH-41 2020-01-22 14:02:39 -05:00
Paul Lorenz c0a478fe34 Update policies when entities referenced by name change their names. … (#53)
* Update policies when entities referenced by name change their names. Fixes GH-43
2020-01-22 14:01:52 -05:00
Paul Lorenz 6902572a9a Return failure if invalid names/ids are submitted for policies. Fixes GH-42 2020-01-22 14:01:15 -05:00
Paul Lorenz d0b4b9047f Allow linking configurations to services. Fixes GH-30 2020-01-22 14:01:09 -05:00
Andrew Martinez 0f472f4c6f fixes netfoundry/ziti-edge#29 store full pem
- adds api tests for certiicate authentication
- adds api tests for full cert storage for cretificate authenticators
2020-01-17 14:00:42 -05:00
Andrew Martinez fcbba57ce0 Merge branch 'master' into apisession.sess.refactor 2020-01-14 10:11:12 -05:00
Andrew Martinez 4a8d67b215 fixes netfoundry/ziti-edge#39
- Adds re-read for the current api session post updateAt update
2020-01-13 11:53:51 -05:00
Paul Lorenz fb8be70394 Implement config store. Fixes GH-17 (#37)
* Implement config store. Fixes GH-17

* Fix PATCH. Allow null tags on patch and add config patch test
2020-01-13 10:55:07 -05:00
Andrew Martinez 7a42412a15 refactors API tests to have API sessions scoped to an object 2020-01-13 08:44:01 -05:00
Paul Lorenz 6a770dcde9 Fix edge router roles check. services with role attributes were getting empty edge router lists 2020-01-09 15:16:07 -05:00
Paul Lorenz c10c3ad781 Remove Handle prefix from handler methods. Remove breaking changes docs, which are moving to ziti-cmd 2020-01-09 13:14:50 -05:00
Paul Lorenz 55eaa157b9 GH-16 Enable service policies replacing appwans (#28)
* GH-16 Enable service policies replacing appwans
2020-01-08 15:08:58 -05:00
Andrew 3646ee3551 gitattributes and eol (#26) 2020-01-06 09:47:00 -05:00
Andrew Martinez 156d3699aa fixes GH-12
- No longer blindly use field.Interface() as fields that are unexported
will cause panics
2019-12-19 15:50:41 -05:00
Andrew Martinez f555666e69 GH-18 genreate scripts to lf 2019-12-18 13:43:44 -05:00
Andrew Martinez 6eb2cf6d56 GH-18 interp to lf 2019-12-18 13:27:55 -05:00
Andrew Martinez 2d22a72c10 GH-18 Fix golang mangling import aliases part3 2019-12-18 13:23:34 -05:00
Andrew Martinez e06cb3dd82 GH-18 selective swap back to lf for sql 2019-12-18 13:16:57 -05:00
Andrew Martinez 7f1fb9a458 GH-18 Swap most sql back to crlf 2019-12-18 13:14:16 -05:00
Andrew Martinez f9078cb487 GH-18 Fix golang mangling import aliases part1 2019-12-18 12:44:40 -05:00
Andrew Martinez d49e246eda GH-18 fix sql line endings 2019-12-18 12:35:12 -05:00
Andrew Martinez 82973f4532 GH-18 json line endings 2019-12-18 12:34:38 -05:00
Andrew Martinez da8edbfd4b GH-18 fix line endings 2019-12-18 12:33:44 -05:00
Andrew Martinez 08649f31cf Revert "GH-18 run go fmt, fix line endings"
This reverts commit e83664035c.
2019-12-18 12:00:37 -05:00
Andrew Martinez e83664035c GH-18 run go fmt, fix line endings 2019-12-18 11:59:39 -05:00
Andrew Martinez c8e2729f05 GH-18 removes ziti-edge/edge folder and moves all contents up 1 row
- Updates .gitignore files
- Fixes imports
2019-12-18 10:02:25 -05:00