Commit Graph

973 Commits

Author SHA1 Message Date
Andrew Martinez 46eb2cfdcd remove swagger.yml 2021-05-04 16:26:30 -04:00
Andrew Martinez b562fb5c07 splits API specs into composible modules
- splits Open API 2.0 (swagger) into client/management APIs
- uses go-swaggers flatten capabilities
- uses newer version of go-swagger (v0.27.0)
- introduces /edge/client/v1, /edge/management/v1
- non-prefixed URLs default to /edge/client/v1
- splits some shared management/client API handlers
- renames some REST models to "client" instead of "limited"
- passes all apitests, fails dataflow upd test (main fails this as well)
- updates generate rest script for powershell
- todo: test generate rest script for bash
- todo: use xweb (different branch)
2021-05-04 11:30:32 -04:00
Paul Lorenz 369ea5de0f listener.close already cleaned up interceptor. don't need to do it again 2021-04-30 09:31:26 -04:00
Paul Lorenz f14b776ea1 Merge pull request #653 from openziti/fix-id-set
Need to set id on new terminator
2021-04-30 09:28:07 -04:00
Paul Lorenz 5fe0091db7 Need to set id on new terminator 2021-04-30 09:21:05 -04:00
ziti-ci 9ad30c5b14 Updating dependency github.com/openziti/fabric@v0.16.59 2021-04-30 03:31:09 +00:00
Paul Lorenz 86e6fdc0f1 Merge pull request #651 from openziti/tunnel-shutdown
Handle tunneler cleanup on shutdown
2021-04-29 16:57:37 -04:00
Paul Lorenz 881a0a45b2 Handle tunneler cleanup on shutdown 2021-04-29 16:37:26 -04:00
Paul Lorenz 0d025bb910 Merge pull request #650 from openziti/move-terminator-validation
Move terminator validation from xtv to control channel handler
2021-04-29 14:36:37 -04:00
Paul Lorenz 57da48f142 Move terminator validation from xtv to control channel handler 2021-04-29 13:46:54 -04:00
ziti-ci 476ebf8816 Updating dependency github.com/openziti/sdk-golang@v0.15.45 2021-04-29 15:35:38 +00:00
Paul Lorenz 04a01d9dad Merge pull request #648 from openziti/dependabot/go_modules/github.com/go-openapi/runtime-0.19.28
Bump github.com/go-openapi/runtime from 0.19.27 to 0.19.28
2021-04-28 23:50:20 -04:00
dependabot[bot] 12c888e16b Bump github.com/go-openapi/runtime from 0.19.27 to 0.19.28
Bumps [github.com/go-openapi/runtime](https://github.com/go-openapi/runtime) from 0.19.27 to 0.19.28.
- [Release notes](https://github.com/go-openapi/runtime/releases)
- [Commits](https://github.com/go-openapi/runtime/compare/v0.19.27...v0.19.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 02:01:03 +00:00
Paul Lorenz f51ef3b5af Merge pull request #647 from openziti/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-28 21:54:57 -04:00
ziti-ci 47630828e1 Updating dependency github.com/openziti/fabric@v0.16.57 2021-04-29 01:47:39 +00:00
Paul Lorenz 8de3f5edd0 Update dependabot.yml 2021-04-28 21:45:20 -04:00
Paul Lorenz 96e15e055b Update dependabot.yml 2021-04-28 21:44:38 -04:00
ziti-ci 2f218aab7e Updating dependency github.com/openziti/sdk-golang@v0.15.44 2021-04-29 01:40:46 +00:00
dependabot-preview[bot] f3ec898499 Upgrade to GitHub-native Dependabot 2021-04-28 22:20:42 +00:00
Andrew dee7a6a20b Merge pull request #639 from openziti/posture.multi.process
adds posture check type PROCESS_MULTI
2021-04-28 15:06:58 -04:00
Andrew Martinez 1919b6b5a4 Merge branch 'main' into posture.multi.process 2021-04-28 11:08:28 -04:00
Andrew Martinez 41ff14688d add PROCESS_MULTI to posture check types 2021-04-28 11:02:55 -04:00
Paul Lorenz 9953c93ba2 Merge pull request #646 from openziti/fix-source-addr-type
If dialing udp with source addr, make source addr a UDP addr
2021-04-28 11:02:12 -04:00
Paul Lorenz 10515bae53 If dialing udp with source addr, make source addr a UDP addr 2021-04-28 10:51:06 -04:00
Paul Lorenz cf2065397f Merge pull request #644 from openziti/fix-error-on-empty-router-name
When empty router name specified, return 4xx error instead of 5xx error
2021-04-23 14:36:33 -04:00
Paul Lorenz d313d39a80 When empty router name specified, return 4xx error instead of 5xx error 2021-04-23 14:18:40 -04:00
Shawn Carey deef2bba6a Fix issues with host.v1 config type schema (#640)
- require "low", "high" properties in portRange
- fixed allowedAddresses item type in json schema docs
2021-04-23 09:39:29 -04:00
ziti-ci 570fae8f84 Updating dependency github.com/openziti/fabric@v0.16.56 2021-04-22 16:32:00 +00:00
ziti-ci 4243b3ea51 Updating dependency github.com/openziti/fabric@v0.16.55 2021-04-22 14:28:34 +00:00
ziti-ci 89325b6cc5 Updating dependency github.com/openziti/sdk-golang@v0.15.43 2021-04-22 13:34:58 +00:00
Andrew Martinez 98101fa3a2 fix base posture check entity in apitests
- wasn't setting id on pointer receiver
2021-04-20 10:34:36 -04:00
Andrew Martinez 54af8801e7 adds posture check type PROCESS_MULTI
- adds a new posture check for dealing with multiple processes
- supports anyOf and allOf semantics
- does not require new posture responses, current process responses
  suffice
- tests
2021-04-20 08:52:23 -04:00
Paul Lorenz 7d7e1e0913 Merge pull request #638 from openziti/add-error-codes
Add error code reporting to control channel requests
2021-04-19 15:29:05 -04:00
Paul Lorenz 2a2e380cb7 Add error code reporting to control channel requests 2021-04-19 14:22:07 -04:00
ziti-ci 454292859e Updating dependency github.com/openziti/sdk-golang@v0.15.42 2021-04-19 18:15:27 +00:00
ziti-ci b0a2d9092b Updating dependency github.com/openziti/sdk-golang@v0.15.41 2021-04-19 17:43:12 +00:00
Paul Lorenz 9700e7b56c Merge pull request #633 from openziti/add-test
Add test
2021-04-14 17:15:56 -04:00
Paul Lorenz 5a2e7d1f92 Separate dataflow tests into separate build tag 2021-04-14 16:57:24 -04:00
Paul Lorenz 29156c7154 Fix udp protocol type. Fix UDP tunneler code. Add UDP proxy test 2021-04-14 16:10:22 -04:00
Paul Lorenz 503e320b58 Fix file name 2021-04-14 16:10:22 -04:00
Paul Lorenz fa56d0f487 Add test for cursor on-delete issue 2021-04-14 16:10:21 -04:00
ziti-ci b2a1f8db4c Updating dependency github.com/openziti/fabric@v0.16.54 2021-04-14 17:57:18 +00:00
Andrew ad52280565 Merge pull request #632 from openziti/router.extend.enrollment
adds the ability for router to extend their enrollment
2021-04-14 09:50:16 -04:00
Andrew Martinez 4a9b226f0e adds the ability for router to extend their enrollment
- routers can now opt to extend their enrollment at any time with a
  previous or new key
- adds tests for router enrollment
- adds tests for router enrollment extension
2021-04-14 09:21:59 -04:00
Andrew 15e0df8154 Merge pull request #636 from openziti/updb.enroll.tests
add updb enrollment api tests
2021-04-14 09:03:41 -04:00
Andrew 13162ef9da Merge pull request #635 from openziti/add.dial.bind.to.service.posture.queries
add policyType to posture query sets
2021-04-14 09:03:09 -04:00
Andrew Martinez e7733ff6cc add updb enrollment api tests 2021-04-13 16:36:52 -04:00
Andrew Martinez b278f611d0 add policyType to posture query sets
- also fixes policy ids being set as the same value due to pointer in
  for loop reference
2021-04-13 15:26:17 -04:00
Shawn Carey 0c281d998b corrected definitions in host.v1 2021-04-13 08:01:12 -04:00
Shawn Carey 2110aba5c1 host.v1 configuration type schema changes (#631)
- Rename host.v1 dialIntercepted* properties to forward*
- Add allowed* properties to whitelist destinations that are dialed via forward*
- Add allowedSourceAddresses, which serves as a whitelist for source IPs/CIDRs and informs the hosting tunneler of the local routes to establish when hosting a service
2021-04-13 07:48:47 -04:00