Commit Graph

54 Commits

Author SHA1 Message Date
Andrew M 6571dbd72c use shortids 2020-06-16 17:33:45 -04:00
Andrew M 7d34b9eadf set base path to /edge/v1
- reroute API requests for the root to edge/v1 (i.e. / -> /edge/v1
- fix pagination empty values being omitted
2020-06-16 12:15:35 -04:00
Andrew M 0923db08d5 Merge branch 'master' into open.api 2020-06-15 13:49:23 -04:00
Andrew M ec0b662471 code review fixes 2020-06-11 00:46:12 -04:00
Paul Lorenz a3f9e3c978 Remove postgres code. Fixes GH-195 2020-06-10 15:52:45 -04:00
Paul Lorenz f0eb83e7fe Update for API changes and fix close bug. Fixes GH-189 (#190)
* Update for API changes and fix close bug. Fixes GH-189
2020-06-09 20:21:40 -04:00
Andrew M 3087972172 all conversion work
- remove old JSON schema, unsused code
- remove unused variables from base router functions
- rework all API entities
- rework all links
- fix lint issues
- adds error conversion logic
- update tests as needed
- fix up go test
- fix backwards compat w/ non json enroller
2020-06-09 14:11:23 -04:00
Andrew M b6d9efaf8c fixed #183, move to openziti 2020-05-26 17:37:35 -04:00
Andrew M e8b10600c4 fixes #147, identity naming durin auto enrollment
- allows CAs to specify a naming format for auto ca identities
- name collisions during auto enrollment now adds a six digit
  incrementing number
2020-05-20 13:00:54 -04:00
Paul Lorenz 00208186cf Merge pull request #156 from netfoundry/fix-server-first-race-condition
Fix server first race condition
2020-05-13 10:38:36 -04:00
Paul Lorenz 9b31a7e0f8 Enable server first rotating test. Lengthen timeout waiting for connection to quiesce. Fix some possible timing issues 2020-05-12 17:37:53 -04:00
Andrew M ae15cf3c75 packr -z 2020-05-08 14:55:20 -04:00
Andrew M b8bf0be2c7 adds env info on auth fixes #126 2020-05-08 09:01:51 -04:00
Paul Lorenz ae6edccbab Update for Xt changes (#142)
* Update for Xt changes
2020-05-01 13:24:20 -04:00
Paul Lorenz 1895415ea7 Move FieldError to foundation. Adapt to fabric API changes. Several terminator/transit router fixes 2020-04-24 10:04:36 -04:00
Andrew Martinez a289129162 updates packr files 2020-04-02 16:11:43 -04:00
Paul Lorenz 6cc4b6f7fb Initial policy advisor API. Fixes GH-99 (#120)
* Initial policy advisor API. Fixes GH-99

* Add swagger doc for listing role attributes

* Add swagger for cross policy entity lists

* Add swagger for role based filtering

* Add policy advisor API to swagger

* Remove format: uuid where appropriate

* Bump versions to 0.13. Fix router entity ref
2020-04-02 13:45:57 -04:00
Michael Quigley c74949cc35 Merge branch 'master' into p14_c1 2020-04-01 15:10:16 -04:00
Andrew Martinez ffed869289 adds tests to check tx router delete 2020-04-01 10:46:44 -04:00
Andrew Martinez 214c25a628 adds transit router enrollment and CRUD, resolves #27
- allows fabric routers to  be created in an unenrolled state
- allows fabric routers to be CRUD
- converts both edge and transit routers to use the same enrollment
facilities as identities (1st step to merge)
- migrations for enrollment changes
- adds ability to extend a base store
- add external cleanup logic to tx router to handle isbase=true
- use router handler for is connected status
2020-04-01 10:10:34 -04:00
Michael Quigley 05bb407c32 Merge branch 'master' into p14_c1 2020-03-30 11:17:47 -04:00
Paul Lorenz 8d1a935d19 Update logrus and pkg/errors. Fix use of %w 2020-03-27 14:58:10 -04:00
Michael Quigley e558ad4a64 Merge branch 'master' into p14_c1 2020-03-27 11:28:16 -04:00
Andrew d16ebf8e69 Merge pull request #105 from netfoundry/ca.auto.identity.attributes
Auto Provision Identity Attributes From CA
2020-03-26 10:34:34 -04:00
Michael Quigley 37caaec7a6 Merge branch 'master' into p14_c1 2020-03-24 10:09:19 -04:00
Andrew Martinez 0ee7389715 adds roles to CA identities, fixes #85
- CAs now support 'identityRoles'
- Identities that auto enroll are assigned the 'identityRoles' from the
validating CA
2020-03-23 23:52:40 -04:00
Paul Lorenz 5eafb648d7 Add APIs for listing entity -> entity cross policy (service to identity, edge router -> service, etc). Fixes GH-100 2020-03-23 15:39:23 -04:00
Paul Lorenz 6a1cf1a382 Implement role attribute querying. Fixes GH-92 (#103)
* Implement role attribute querying. Fixes GH-92
2020-03-23 15:03:23 -04:00
Michael Quigley 0f88d698d1 Merge branch 'master' into p14_c1 2020-03-23 11:25:43 -04:00
Michael Quigley 55e72a24b7 X... import updates. 2020-03-20 13:58:21 -04:00
Paul Lorenz 7d60e03b65 Remove copyright date from header 2020-03-19 13:47:42 -04:00
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
dovholuknf 3db81622cb didn't i do this once already? 2020-02-25 14:29:08 -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 046128194a fixes #86
- restores /current-identity
- restores /authenticators
- adds tests for both endpoints
2020-02-21 08:29:46 -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 d0b4b9047f Allow linking configurations to services. Fixes GH-30 2020-01-22 14:01:09 -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
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 Martinez f9078cb487 GH-18 Fix golang mangling import aliases part1 2019-12-18 12:44:40 -05:00