Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Oct 16, 2021
1 parent fb15044 commit 413a31a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions ADR/dynamic-endpoints.md
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

0 comments on commit 413a31a

Please sign in to comment.