Commit Graph

24 Commits

Author SHA1 Message Date
Paul Lorenz f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -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
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
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
Andrew Martinez fd35342aad updates deps 2022-07-11 13:42:25 -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
Andrew Martinez 47b210c67b updates fabric w/ xweb moved out 2022-05-26 11:27:09 -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
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
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
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 45158ff864 updates to newest foundation/fabric/sdk-golang 2021-10-18 16:07:33 -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
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
Andrew Martinez 6625084569 use xweb for Edge Client and Management APIs
- use xweb for run
- use xweb for api tests
- use time.ParseDuration for edge configuration
- use CORS defaults in Client/Management API handlers
2021-05-06 16:45:48 -04:00