-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
add instancewide variables setter endpoints #5940
Conversation
Handle injection for check/discover jobs too
required: | ||
- sourceConnectorDefinitionId | ||
- params | ||
properties: | ||
sourceDefinitionId: | ||
$ref: "#/components/schemas/SourceDefinitionId" | ||
params: | ||
type: object | ||
additionalProperties: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we also add workspaceId
as an optional properties (not required), we can also handle setting workspace specific parameters.
Thus, I wouldn't include the instanceWide
in the naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am intentionally including this so that endpoint permissioning is possible without having to inspect the body of the request i.e: I want to make this whole endpoint available only to super admins rather than depending on whether workspace ID is passed, make it available to different permission levels. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok that makes sense!
@ChristopheDuong gonna move forward on this but please add any further comments and I'll address them as soon as I can |
What
closes #5920
How
Adds an endpoint which allows writing instancewide oauth secrets
Recommended reading order
config.yaml
OauthHandler.java
&OauthHandlerTest.java
ConfigurationApi.java