Commit Graph

25 Commits

Author SHA1 Message Date
Paul Lorenz 735eb1d80f Move ApiError and FieldError to foundation 2021-03-03 14:44:26 -05:00
Andrew Martinez df1f2a1a75 fixes #497 send session header
- add server headers during HTTP handler delegation rather than at HTTP
  response time
- remove all old header setting locations
- remove unused status writer and other response code
- add manual set on authentication for session headers
2021-02-01 14:28:29 -05:00
Andrew Martinez 807a061a93 adds expiration-seconds and expires-at headers
- also adds expiresSeconds to current api session and login
2021-01-14 11:30:44 -05:00
Andrew Martinez 3bbff3a01a support version info from fabric 2020-10-07 07:25:14 -04:00
Andrew M faec4b95ba various fixes for API streaming and data net support
- http requests should hard timeout w/ a reasonable response
- edge routers should close when an API session token is not provided or
  does not match
- stream both types of sessions on edge router connect
- stream sessions for time out processing/deletion
- add id to session messages (edge control pb update, breaks backwards
  compat)
2020-08-24 08:31:45 -04:00
Andrew M 6182beeffa rename text producer
- text producer is now pem producer only
- remove ability to render errors in pem producer
- update tests
- fix accept header processing for multiple accepts in one header
2020-07-07 11:44:40 -04:00
Andrew M 923b182b85 fixes #233 return API errors as JSON if possible 2020-07-01 15:54:20 -04:00
Andrew M 6571dbd72c use shortids 2020-06-16 17:33:45 -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
Paul Lorenz 49610b6ffb Add cause to not found and debug on error return. Fixes GH-148 2020-05-12 17:13:07 -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 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
Paul Lorenz 7d60e03b65 Remove copyright date from header 2020-03-19 13:47:42 -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 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 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 6902572a9a Return failure if invalid names/ids are submitted for policies. Fixes GH-42 2020-01-22 14:01:15 -05:00
Paul Lorenz d0b4b9047f Allow linking configurations to services. Fixes GH-30 2020-01-22 14:01:09 -05:00
Andrew Martinez da8edbfd4b GH-18 fix line endings 2019-12-18 12:33:44 -05:00
Andrew Martinez 08649f31cf Revert "GH-18 run go fmt, fix line endings"
This reverts commit e83664035c.
2019-12-18 12:00:37 -05:00
Andrew Martinez e83664035c GH-18 run go fmt, fix line endings 2019-12-18 11:59:39 -05:00
Andrew Martinez c8e2729f05 GH-18 removes ziti-edge/edge folder and moves all contents up 1 row
- Updates .gitignore files
- Fixes imports
2019-12-18 10:02:25 -05:00