Paul Lorenz
744ae68bbd
Fix controller crash. Fixes #1736
2024-02-08 21:55:48 -05:00
Mario Trangoni
126ee5d79c
codespell: Add spelling check and fix all issues
...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
2023-12-19 10:52:42 +01:00
Paul Lorenz
f3d67b7f49
Update fabric imports
2023-09-28 23:34:28 -04:00
Paul Lorenz
b12f1d33f5
Add CreateTerminatorV2 flow for edge terminators. Fixes #1619
2023-09-27 17:32:44 -04:00
Paul Lorenz
07da3cd513
Merge remote-tracking branch 'edge/main' into merge-edge
...
Updated package names
Merged golangci-lint configurations
2023-09-27 16:54:53 -04:00
Paul Lorenz
453e6cae2a
Consolidate controller/apierror/helpers and messages
2023-08-30 17:16:10 -04:00
Paul Lorenz
5b59ae13ee
Update for moved packages in fabric
2023-08-23 09:40:05 -04:00
Paul Lorenz
dba0fb6f7c
Move protobufs to common
2023-08-04 17:01:15 -04:00
Paul Lorenz
f368b631b0
Merge remote-tracking branch 'origin/main' into prep-for-ziti-merge-p1
2023-08-04 16:26:16 -04:00
Paul Lorenz
7d6f4ef700
Reorganize code in preparation for merging to ziti repo, first pass.
2023-08-04 09:48:06 -04:00
Andrew Martinez
414cff49d7
adds support OIDC authentication, api access, and ER connections
2023-07-20 09:41:12 -04:00
Andrew Martinez
1098dfd928
Restores old /edge/client/v1 coverage of the root URL
...
- restores /version for the c-sdk
- fixes existing Go SDK enrolled configurations which will use the wrong
API URL (non-prefixed) due to an old enrollment bug.
2023-06-22 14:16:59 -04:00
Andrew Martinez
eeb9221fe4
adds .well-known/est/cacerts support to the management API
2023-06-14 09:56:23 -04:00
Paul Lorenz
b09af68d09
Update edge test for fabric api update. Remove unneeded cgo import.
2023-03-17 11:55:38 -04:00
Andrew Martinez
a46a10d9eb
use new github.com/openziti/edge-api repository
...
- fixes import statements
2023-01-24 16:03:20 -05:00
Andrew Martinez
69c31fcf3e
uses github.com/openziti/edge-api
...
- removes old api specific scripts, generated files, etc
2023-01-24 14:45:24 -05:00
Paul Lorenz
63c161224a
Add linter and fix issues found by linter
2022-10-10 16:56:51 -04:00
Paul Lorenz
63e0d9663e
Support multiple routers in router edge extensions
2022-09-30 09:34:04 -04:00
Paul Lorenz
32c197e5e1
Update to channel v2
2022-09-26 18:20:00 -04:00
Paul Lorenz
0b8a65207a
Change bootstrap check. Add hooks for isRaftEnabled
2022-08-22 12:14:40 -04:00
Andrew Martinez
fd35342aad
updates deps
2022-07-11 13:42:25 -04:00
Paul Lorenz
bae7e40b61
Update for foundation changes
2022-07-01 15:55:30 -04:00
Paul Lorenz
12df770d04
Update copyright
2022-06-30 17:45:08 -04:00
Andrew Martinez
0014b39f7e
update xweb to v2
2022-06-06 14:33:42 -04:00
Paul Lorenz
2f6a3bc828
Update handler -> manager for base types and config
2022-06-02 00:05:54 -04:00
Paul Lorenz
7cf9dc135d
Initial support for raft and command style architecture
2022-06-01 23:52:07 -04:00
Andrew Martinez
47b210c67b
updates fabric w/ xweb moved out
2022-05-26 11:27:09 -04:00
Paul Lorenz
6a25a1f5b8
Add websocket api support
2022-04-19 13:04:54 -04:00
Andrew Martinez
d80fafef96
fixes #968 management api doc not available
...
Root cause is a bug and/or lack of features in the go-open-api runtime.
2022-04-13 13:39:38 -04:00
Paul Lorenz
01bea19e1f
Update to use transport and storage libs. Use fabric config instead of foundation/config
2022-03-30 22:49:46 -04:00
Andrew Martinez
3380807334
adds ext-jwt authenticator
...
- enables /authenticate?method=ext-jwt
- adds ext-jwt to OpenAPI schema
- rebase to main, squash
2022-03-08 10:01:38 -05:00
Paul Lorenz
5be9095e60
Update to use channel library
2022-01-28 11:35:15 -05:00
Paul Lorenz
3f69bfdd43
Update for control channel API changes
2022-01-19 08:37:40 -05:00
Andrew Martinez
1f784d89ce
adds asynchronous eventer to controller
...
- emits events for processing progress/state for metric instrumentation
- emits events for eventual event backlog state for metrics
- alters Trigger() to return a channel that can be waited upon
- adds ability to add eventual events within a specific bbolt
transaction
- splits session lookup and delete into view/update transactions
- add eventual event gauge
- use CascadeCreateUpdate
- adds named functions
- documentation for 500us timeout
- grammar fixes
2022-01-18 14:19:36 -05:00
Paul Lorenz
f1709586a2
Merge pull request #864 from openziti/cache-tunnel-sessions
...
Cache tunnel sessions in LRU cache to avoid creating extraneous sessions
2022-01-18 09:15:05 -05:00
Andrew Martinez
050b0b086e
moves metric endpoint logging lower in the stack
...
- endpoint url/path -> name remains the same
- start timing on request context before we start processing
- log metrics in IsAllowed which is called by all endpoint after routing
- logging before routing to a handler would log all probe attacks
2022-01-17 10:12:59 -05:00
Paul Lorenz
fd866e7f3d
Cache tunnel sessions in LRU cache to avoid creating extraneous sessions
2022-01-13 12:38:54 -05:00
Andrew Martinez
8b20f0278a
normalize URL ids for metric names
2022-01-06 14:42:31 -05:00
Andrew Martinez
65702f502a
swap from brackets to period seperators
2022-01-06 14:11:01 -05:00
Andrew Martinez
dfa0f7c6ab
adds metrics for endpoints with keys of path[method]
2022-01-06 14:02:36 -05:00
Andrew Martinez
dae084f61c
alters router/controller enrollment extension logic
...
- routers propertly wait on certs that are about to expire
- routers no longer send multiple extension requests
- routers now request cert verification
- routers now verify new certs before saving
- controller now supports verification requests
2021-12-20 09:19:10 -05:00
Paul Lorenz
bfcb037783
Initial pass at fabric rest api working ( #838 )
...
* Update for fabric rest controller changes
2021-11-30 16:30:17 -05:00
Andrew Martinez
050d5eb0dc
fix possible formatting error
2021-10-19 11:31:31 -04:00
Andrew Martinez
6612ad9c14
fix startup timing issues
2021-10-19 10:58:59 -04:00
Andrew Martinez
45158ff864
updates to newest foundation/fabric/sdk-golang
2021-10-18 16:07:33 -04:00
Paul Lorenz
23c98c2d5a
Add more tracing and allow enabling debug for specific identities for path selection/establishment
2021-08-09 11:20:51 -04:00
Paul Lorenz
3151d31b7f
Handle xweb import change ( #697 )
...
* Handle xweb import change. Fix tunnel update/delete terminator handling
2021-06-22 14:18:17 -04:00
Paul Lorenz
01ed7b8a1c
Add policy engine start back in
2021-06-08 12:42:08 -04:00
Andrew Martinez
6ee4f6a8a5
rework CaPems for ca store calculations
2021-05-11 14:18:08 -04:00
Andrew Martinez
cc1574fdc9
update /version endpoint
...
- now reports all versions, api bindings, and api bind points from xweb
- now reports api base urls (http://<bindpoint>/<api path>
- now points 'edge' to 'edge-client' api binding
2021-05-07 10:46:24 -04:00