Commit Graph

1206 Commits

Author SHA1 Message Date
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
Paul Lorenz c19f0dbbd4 Allow router to be shutdown for tests 2020-04-23 20:20:49 -04:00
Paul Lorenz fd231fef0c Update deps and error messages 2020-04-21 14:56:08 -04:00
Paul Lorenz 1177dcb6e9 Update deps and update error messages 2020-04-21 14:42:08 -04:00
Andrew M 3c26a7586d error message format 2020-04-20 09:18:33 -04:00
Andrew M 11f1b477a5 updates for add.channel2.connect.options 2020-04-20 09:00:35 -04:00
Andrew Martinez 1a384399d2 api error message for tx router updates managed by fabric 2020-04-07 15:25:27 -04:00
Andrew Martinez 1f1b4e25b6 check for non-edge controlled tx router for update 2020-04-07 15:11:46 -04:00
Andrew Martinez fb189994a0 fixes #129, errors w/ tx enrollment
- addresses issues w/ tests not covering the error
- adds tests that run transit routers post enrollment
- adds test that list mixed transit routers (enrolled, not, fabric)
2020-04-07 14:36:14 -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 f6bcc8b123 fixes from code review
- migration version number
- commented out code
- removed todo code for router update
2020-04-01 14:59:53 -04:00
Michael Quigley da0025381e Test fixes. 2020-04-01 14:49:42 -04:00
Andrew Martinez ffed869289 adds tests to check tx router delete 2020-04-01 10:46:44 -04:00
Michael Quigley 8ef0c5f6e1 Merge branch 'master' into p14_c1 2020-04-01 10:25:27 -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
Andrew 1d7a04a111 Merge pull request openziti/fabric#71 from netfoundry/tx.router.connection.status
expose IsConnected(routerId) for edge use
2020-04-01 09:58:56 -04:00
Andrew Martinez 8640e698f9 remove GetRouterController() 2020-04-01 09:55:32 -04:00
Michael Quigley 2b4e376343 Merge branch 'master' into p14_c1 2020-03-31 15:22:18 -04:00
Andrew Martinez db3f6845bd expose IsConnected(routerId) for edge use 2020-03-31 15:13:01 -04:00
Andrew Martinez 0bd9a51190 packr update 2020-03-30 14:17:52 -04:00
Andrew Martinez df5e09da0d adds swagger defs for 0.12
- adds /specs endpoint for swagger
2020-03-30 14:17:18 -04:00
Michael Quigley ace22c581a Merge branch 'master' into p14_c1 2020-03-30 14:12:12 -04:00
Michael Quigley ba6c22eb58 Merge branch 'master' into p14_c1 2020-03-30 14:11:22 -04:00
Paul Lorenz f833bd6a70 List by roles (#113)
* Add APIs for listing entities with role attributes using role filters

* Allow semantics to be case insensitive
2020-03-30 11:24:18 -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
Paul Lorenz 2f94fe061f Update for foundation API change. Support list by roles. (#68)
* Update for foundation API change. Support list by roles.
2020-03-27 12:42:42 -04:00
Michael Quigley e558ad4a64 Merge branch 'master' into p14_c1 2020-03-27 11:28:16 -04:00
Paul Lorenz ed341b6a5f Merge pull request #115 from netfoundry/dont-all-ref-by-name
Remove ability to reference entities by name in API/Policies. Fixes G…
2020-03-27 10:19:29 -04:00
Paul Lorenz cb219bb76f Remove ability to reference entities by name in API/Policies. Fixes GH-96 2020-03-26 16:20:37 -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 510b5205ac Merge branch 'master' into p14_c1 2020-03-25 13:39:40 -04:00
ekoby 8c48ac871e relocate metrics to ziti-foundation (#63)
metrics package is now in ziti-foundation
* update and tidy go.mod
* fix: use ziti-foundation/metrics
2020-03-24 18:37:28 -04:00
Michael Quigley a3838ed857 Controller changes to support non 'transport.Address' addresses (string). Enough 'xlink_transwarp' to minimally establish a connection. (#44) 2020-03-24 16:00:36 -04:00
Paul Lorenz 1b14d00861 Use short ids for terminators. Fixes GH-65 (#66) 2020-03-24 13:45:35 -04:00
Michael Quigley a09a608449 HelloRouterAdvertisementsHeader. (#54) 2020-03-24 11:10:01 -04:00
Michael Quigley 37caaec7a6 Merge branch 'master' into p14_c1 2020-03-24 10:09:19 -04:00
Michael Quigley cc6a231580 Merge branch 'master' into p14_c1 2020-03-24 10:09:01 -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
Paul Lorenz bc2d3c6fe2 Adapt to foundation API change (#60)
* Adapt to foundation API change
2020-03-23 14:34:54 -04:00
Michael Quigley 0f88d698d1 Merge branch 'master' into p14_c1 2020-03-23 11:25:43 -04:00
Andrew Martinez cff179b86f api model changes 2020-03-23 11:03:02 -04:00
Michael Quigley 55e72a24b7 X... import updates. 2020-03-20 13:58:21 -04:00
Michael Quigley 2902c4942b Move the X... frameworks underneath controller/ or router/. 2020-03-20 13:57:59 -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