-
Notifications
You must be signed in to change notification settings - Fork 0
Rework rest flow type, rest and http functions #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
15764c7
feat: adjusting http request send function
nicosammito 4ce743d
feat: adjusting http request send function
nicosammito 4cef255
feat: adding query_params and path_params to trigger of rest
nicosammito 6ab9509
feat: adding schema and correct payload to rest control respond
nicosammito da1cd7b
feat: renaming rest to webhook
nicosammito 8b11555
feat: making header optional
nicosammito d371675
feat: adding auth providers to webhook flow type
nicosammito fcc5e9a
feat: changing naming and description of rest module
nicosammito 2fb7791
feat: adding http schema to webhook flow type
nicosammito 92f88e1
feat: correct aliases
nicosammito File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
definitions/draco_rest/data_types/rest_adapter_auth_type.proto.json
This file contains hidden or 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,24 @@ | ||
| { | ||
| "identifier": "REST_AUTH_TYPE", | ||
| "name": [ | ||
| { | ||
| "code": "en-US", | ||
| "content": "Webhook credential variant" | ||
| } | ||
| ], | ||
| "alias": [ | ||
| { | ||
| "code": "en-US", | ||
| "content": "webhook;rest;auth;credential;type;variant;bearer;basic;jwt" | ||
| } | ||
| ], | ||
| "displayMessage": [ | ||
| { | ||
| "code": "en-US", | ||
| "content": "Webhook credential variant" | ||
| } | ||
| ], | ||
| "type": "'Bearer JWT' | 'Bearer static' | 'Basic'", | ||
| "linkedDataTypeIdentifiers": [], | ||
| "rules": [] | ||
| } |
25 changes: 25 additions & 0 deletions
25
definitions/draco_rest/data_types/rest_adapter_auth_value.proto.json
This file contains hidden or 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,25 @@ | ||
| { | ||
| "identifier": "REST_AUTH_VALUE", | ||
| "name": [ | ||
| { | ||
| "code": "en-US", | ||
| "content": "Webhook credential value" | ||
| } | ||
| ], | ||
| "alias": [ | ||
| { | ||
| "code": "en-US", | ||
| "content": "webhook;rest;auth;credential;value;bearer;basic;username;password;token" | ||
| } | ||
| ], | ||
| "displayMessage": [ | ||
| { | ||
| "code": "en-US", | ||
| "content": "Webhook credential value" | ||
| } | ||
| ], | ||
| "genericKeys": ["T"], | ||
| "type": "T extends 'Basic' ? { username: string, password: string } : T extends undefined ? undefined : string", | ||
| "linkedDataTypeIdentifiers": [], | ||
| "rules": [] | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.