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 e60e0ac commit 7a229b9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions ADR/dynamic-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ Endpoints has to be defined in helmet config file. Anytime we want to add a new

```zsh
+ option:
---------
- id
- key
- value

+ endpoint:
-----------
- id
- status
- listen_path
Expand All @@ -23,15 +25,51 @@ Endpoints has to be defined in helmet config file. Anytime we want to add a new
- 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

+ key_based_auth_data:
----------------------
- id
- name
- api_key
- meta
- auth_method_id

+ basic_auth_data:
------------------
- id
- name
- username
- password
- meta
- auth_method_id

+ oauth_data:
-------------
- id
- name
- client_id
- client_secret
- meta
- auth_method_id

+ oauth_access_data:
--------------------
- id
- access_token
- meta
- expire_at
- oauth_data_id
```

- [ ] Services and Endpoints has to be adjusted

0 comments on commit 7a229b9

Please sign in to comment.