-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#### Dynamic Endpoints | ||
|
||
Endpoints has to be defined in helmet config file. Anytime we want to add a new endpoint or change an endpoint, a restart will be needed. This draft explains how to make these configs dynamic. | ||
|
||
- [ ] First the database schema need to be adjusted | ||
|
||
```zsh | ||
+ option: | ||
- id | ||
- key | ||
- value | ||
|
||
+ endpoint: | ||
- id | ||
- status | ||
- listen_path | ||
- name | ||
- upstreams | ||
- balancing | ||
- http_methods | ||
- authentication | ||
- rate_limit | ||
- circuit_breaker | ||
|
||
+ auth_method: | ||
- id | ||
- name | ||
- description | ||
- type (key_authentication, basic_authentication, oauth_authentication, any_authentication) | ||
|
||
+ endpoint_auth_method (Many to Many): | ||
- id | ||
- auth_method_id | ||
- endpoint_id | ||
``` | ||
|
||
- [ ] Services and Endpoints has to be adjusted |