Commit Graph

64 Commits

Author SHA1 Message Date
Paul Lorenz c8b7a8d8c7 Implemented policy model performance improvements. Fixes GH-256 2020-07-28 10:03:36 -04:00
Andrew M 31089be1f4 set edge router result list to all
- all is denoted by -1 which is actualy the max for int64
2020-07-20 15:21:29 -04:00
Paul Lorenz 6c8dc06b49 Fix potential deadlock 2020-07-07 15:20:42 -04:00
Andrew M 48def995f3 fixes #191, CLI password changes
- requires corresponding changes in the CLI as well
2020-06-25 14:53:53 -04:00
Andrew M 96d1d9e905 Merge branch 'master' into fix.224.cert.log.entries 2020-06-24 14:35:22 -04:00
Paul Lorenz 736c535cdd Fix listener close logic (#223)
* Fix listener close logic
* Make timeout 8m
* Fix bbolt deadlock
2020-06-24 14:32:32 -04:00
Andrew M 6bb9eeff20 fixed #224 extra log output during invalid cert auth 2020-06-23 23:46:01 -04:00
Paul Lorenz 6795f7c520 Fix query symbol names. Fix fingerprint formats in migration 2020-06-19 16:52:05 -04:00
Paul Lorenz 81b5a4ef76 Move service and router names to fabric 2020-06-19 14:10:31 -04:00
Andrew M 5ddefc25c2 Merge branch 'master' into use.shortids 2020-06-17 17:24:24 -04:00
Paul Lorenz 64ce3a92df move edge routers under fabric routers. Fixes GH-144 2020-06-17 16:36:14 -04:00
Andrew M 0817b9b6c5 Merge branch 'master' into use.shortids 2020-06-17 13:49:20 -04:00
Andrew M 6571dbd72c use shortids 2020-06-16 17:33:45 -04:00
Andrew M 0923db08d5 Merge branch 'master' into open.api 2020-06-15 13:49:23 -04:00
Andrew M ec0b662471 code review fixes 2020-06-11 00:46:12 -04:00
Paul Lorenz f0eb83e7fe Update for API changes and fix close bug. Fixes GH-189 (#190)
* Update for API changes and fix close bug. Fixes GH-189
2020-06-09 20:21:40 -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
Andrew M e8b10600c4 fixes #147, identity naming durin auto enrollment
- allows CAs to specify a naming format for auto ca identities
- name collisions during auto enrollment now adds a six digit
  incrementing number
2020-05-20 13:00:54 -04:00
Andrew M 6732d0abfa fixes #158
- update for identities does not allow enrol/auth/default admin to be
  updated
- adds migrations to fix broken data models between ident/auth/enrol
- fixes migration not to be stuck at version 4
2020-05-18 09:17:31 -04:00
Andrew 2bcf157bac Merge pull request #153 from netfoundry/sdk.env.info.simple.store
adds env/sdk info on auth, to identities, fixes #126
2020-05-12 15:40:55 -04:00
Andrew M b8bf0be2c7 adds env info on auth fixes #126 2020-05-08 09:01:51 -04:00
Andrew M 250e80f9f0 verify body length before parsing, fixed #150 2020-05-05 13:58:16 -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 1a384399d2 api error message for tx router updates managed by fabric 2020-04-07 15:25:27 -04:00
Andrew Martinez 1f1b4e25b6 check for non-edge controlled tx router for update 2020-04-07 15:11:46 -04:00
Andrew Martinez fb189994a0 fixes #129, errors w/ tx enrollment
- addresses issues w/ tests not covering the error
- adds tests that run transit routers post enrollment
- adds test that list mixed transit routers (enrolled, not, fabric)
2020-04-07 14:36:14 -04:00
Paul Lorenz 6cc4b6f7fb Initial policy advisor API. Fixes GH-99 (#120)
* Initial policy advisor API. Fixes GH-99

* Add swagger doc for listing role attributes

* Add swagger for cross policy entity lists

* Add swagger for role based filtering

* Add policy advisor API to swagger

* Remove format: uuid where appropriate

* Bump versions to 0.13. Fix router entity ref
2020-04-02 13:45:57 -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 f833bd6a70 List by roles (#113)
* Add APIs for listing entities with role attributes using role filters

* Allow semantics to be case insensitive
2020-03-30 11:24:18 -04:00
Paul Lorenz ed341b6a5f Merge pull request #115 from netfoundry/dont-all-ref-by-name
Remove ability to reference entities by name in API/Policies. Fixes G…
2020-03-27 10:19:29 -04:00
Paul Lorenz cb219bb76f Remove ability to reference entities by name in API/Policies. Fixes GH-96 2020-03-26 16:20:37 -04:00
Andrew d16ebf8e69 Merge pull request #105 from netfoundry/ca.auto.identity.attributes
Auto Provision Identity Attributes From CA
2020-03-26 10:34:34 -04:00
Andrew Martinez 0ee7389715 adds roles to CA identities, fixes #85
- CAs now support 'identityRoles'
- Identities that auto enroll are assigned the 'identityRoles' from the
validating CA
2020-03-23 23:52:40 -04:00
Paul Lorenz 5eafb648d7 Add APIs for listing entity -> entity cross policy (service to identity, edge router -> service, etc). Fixes GH-100 2020-03-23 15:39:23 -04:00
Paul Lorenz 6a1cf1a382 Implement role attribute querying. Fixes GH-92 (#103)
* Implement role attribute querying. Fixes GH-92
2020-03-23 15:03:23 -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
Paul Lorenz 25740c3b0b Incorporate fabric store refactoring (#91) 2020-02-28 09:44:53 -05:00
dovholuknf 3db81622cb didn't i do this once already? 2020-02-25 14:29:08 -05:00
Andrew Martinez 1c73a47be2 moves field checking internal to handler 2020-02-25 13:30:41 -05:00
Andrew Martinez 8f64d859c2 add password for self service password, fixes #87
- moves logic from REST endpoint def to handlers
- moves to version 0.10
2020-02-25 10:31:58 -05:00
Andrew Martinez 5d7f42bbde Merge branch 'master' into authenticator.endpoints 2020-02-21 08:31:51 -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 46c0c396dc * Fix bug where overriden query was ignored. Fixes GH-83
* Allow routers to referenced by name when creating services. Fixes GH-76

* Allow admins to view services as other users

* Allow anyone to change the requested config types shown in a services list
2020-02-14 14:55:10 -05:00
Andrew Martinez cc497a3953 fixes #80
- Adds a check for a nil identity before returning during updb auth
- Adds API test for invalid username in updb auth
2020-02-12 12:51:11 -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 95a7064549 Extract service edge router policies into standalone entity. Fixes GH-69 2020-02-03 12:14:33 -05:00
Paul Lorenz d0f18a3a5b Allow overriding service configurations per identity (#68)
Allow overriding service configurations per identity. Fixes GH-31
2020-02-03 12:10:08 -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