Commit Graph

162 Commits

Author SHA1 Message Date
Andrew Martinez d305026980 exposes controller.Identity() to avoid re-parses 2021-10-19 09:38:14 -04:00
Andrew Martinez 90824085a1 fix refactoring of 'config' in strings 2021-10-18 15:39:36 -04:00
Andrew Martinez c6b54e8606 updates to new foundation version
- updated identity module
- centralizes identity references
- removes old parsing logic
2021-10-18 15:25:07 -04:00
Paul Lorenz 79fe8c7ddb Add terminator to service events 2021-10-06 11:25:51 -04:00
Paul Lorenz 7233d18463 Remove HA terminator strategy since it's an incomplete solution 2021-09-13 09:51:51 -04:00
Paul Lorenz e3fe91a528 Remove unused map. Removed code could panic b/c of race condition 2021-09-09 10:28:20 -04:00
Paul Lorenz 58e159236d Use string id instead of identity where we don't need certs 2021-09-03 14:10:28 -04:00
Paul Lorenz 70c10f0e15 Allow querying terminators by service.name and router.name 2021-08-18 14:55:19 -04:00
ziti-ci 23a9da54e7 Allow injecting context into path creation/establishment operations 2021-08-06 16:34:57 -04:00
Paul Lorenz 21c261fb19 Rename session -> circuit 2021-08-04 13:17:39 -04:00
Paul Lorenz bcd1c374e8 Rename circuit to path 2021-08-04 13:16:09 -04:00
Paul Lorenz b6026b0024 Reduce duplicate links by allowing pending links a short window to be completed before we try again 2021-08-04 13:03:47 -04:00
Paul Lorenz cb70e33fa0 Improve link logging. Add destination id to xlink 2021-07-30 10:18:45 -04:00
Paul Lorenz c45e741bbd Add controller health check (#249)
* Add controller health check and make controller and router health checks consistent
2021-06-22 14:01:45 -04:00
Paul Lorenz 375dfd03b4 Add configurable router health check 2021-06-17 12:32:16 -04:00
Michael Quigley fa9da87419 Refactor ctrl_pb.Dial to support both LinkId and RouterId. (#238) 2021-05-14 14:35:12 -04:00
Andrew Martinez ae85cbad0b adds xweb share config validation points, time.ParseDuration
- split xweb/config.go into multiple files by type
- allow api factories to validate shared config
- use time.ParseDuration for duration config values in core xweb options
- add interface documentation for api factories
- merge http.request context values for xweb
2021-05-06 15:22:03 -04:00
Andrew Martinez 68c4d9a030 fixes xweb comments, fixes xweb startup
- fixes multi server startup would block on first server
- fixes comments, goland was complaining
- adds better output for what APIs are starting on what servers/bind
  points
- adds IsHandled() demuxer
2021-05-05 14:11:24 -04:00
Paul Lorenz 0173a633c6 Add nill check on terminator lookup. Fix spelling mistake 2021-04-29 18:56:04 -04:00
Paul Lorenz 478d8c1e0b Remove eXtensible Terminator Validator framework (xtv) as it's now unused.
terminator validation can be done in custom control channel handlers instead
2021-04-29 12:45:07 -04:00
Paul Lorenz 14c632c862 Add events for router online/offline 2021-04-22 11:27:10 -04:00
Andrew Martinez deb46432e1 initial xweb implementation
- adds config structures
- adds server structures
- simplifies interfaces
- removed unused remnants
- refactor work
- adds doc
2021-04-14 13:19:39 -04:00
Andrew Martinez 4d9ea4e504 update cache instead of clearing 2021-04-08 16:00:42 -04:00
Andrew Martinez b9b624a0a0 add ability to clear the cached state of a router from bbolt
Will be used for enrollment extension where the fingerprint has been
updated
2021-04-08 16:00:41 -04:00
Paul Lorenz 270fd077b1 Allow way to notify router of rename 2021-04-07 21:29:25 -04:00
Paul Lorenz d0ceb31274 Change default metrics report interval to 1 minute 2021-03-31 18:48:57 -04:00
Paul Lorenz 1d6bec6a09 Expose IsSystem to the model level as a read-only property 2021-03-26 12:02:44 -04:00
Paul Lorenz 451ea9e58a Merge pull request openziti/fabric#224 from openziti/all-access-to-service-events-registry
Allow access to the service events registry
2021-03-25 09:34:25 -04:00
Paul Lorenz 59dd03cdca Allow access to the service events registry 2021-03-23 17:11:18 -04:00
Michael Quigley 36840eb20e Merge branch 'main' into transwarp_2 2021-03-23 11:17:38 -04:00
Paul Lorenz add3ae6f13 If accept fails, ch will be nil 2021-03-18 13:54:14 -04:00
Michael Quigley c2881e9cd5 Merge branch 'main' into transwarp_2 2021-03-18 13:34:39 -04:00
Paul Lorenz d2e54e766f Fix circuit test and update foundation dep 2021-03-18 13:30:35 -04:00
Michael Quigley 920a6970e9 Merge branch 'main' into transwarp_2 2021-03-18 13:25:39 -04:00
Paul Lorenz 402dcb1f60 Don't allow routers to connect with no version info. They're too old to work correctly anyway for other reasons 2021-03-18 11:38:42 -04:00
Michael Quigley 57f904b739 Configuration for bolt db tracing. 2021-03-17 10:42:02 -04:00
Michael Quigley c59ec4d927 Cleaner logging without anonymous functions. 2021-03-17 10:34:18 -04:00
Michael Quigley 2c9b1552c7 Enable bbolt tracing in controller. 2021-03-16 11:25:18 -04:00
Michael Quigley 34d1f5dccc Merge branch 'main' into transwarp_2 2021-03-15 09:42:58 -04:00
Michael Quigley 072eb3fc3e Send unroute asynchronously. (#204) 2021-03-12 10:32:13 -05:00
Michael Quigley 427fa10258 Merge branch 'main' into idle_route_gc 2021-03-11 09:46:14 -08:00
Paul Lorenz 31a587384a Add interval counts, per service, for dial success, timeout, fail, other 2021-03-10 13:15:55 -05:00
Michael Quigley 77012b47db Merge branch 'main' into transwarp_2 2021-03-09 16:00:47 -08:00
Michael Quigley 3ec45972b9 Warn->Info (#206) 2021-03-09 12:52:41 -05:00
Michael Quigley f4d9be4271 Log lint. (#206) 2021-03-09 12:42:26 -05:00
Michael Quigley 5c22c9e531 Initial parallel network re-routing, and session-level concurrency control. (#206) 2021-03-09 11:35:51 -05:00
Michael Quigley b8b9c47fcf Lint. 2021-03-05 15:14:32 -05:00
Michael Quigley eb904f8b4c Controller cleanup side. (#173) 2021-03-05 14:14:26 -05:00
Michael Quigley 1c63a5fb84 Merge branch 'main' into transwarp_2 2021-03-02 12:27:42 -05:00
Andrew Martinez 44eced5dd1 session to Session 2021-03-01 16:58:38 -05:00