Skip to content
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

Additions to secrets connectors #8402

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

mandy-chessell
Copy link
Contributor

Description

This PR ensures the audit log is pushed down to the Resource connectors and then on to the REST API Connectors and secrets connectors.

It also extends the secrets store token API to include contentType and requestType.

Related Issue(s)

None

Testing

Unit testing sending bearer token to Unity Catalog

Release Notes & Documentation

These are bug fixes

Additional notes

None

Signed-off-by: Mandy Chessell <[email protected]>
@mandy-chessell mandy-chessell merged commit 78e776a into odpi:main Sep 27, 2024
4 checks passed
/**
* Request that the subclass refreshes its secrets.
*/
protected void refreshSecrets()

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
SecretsStoreConnector.refreshSecrets
; it is advisable to add an Override annotation.
* @return how long the secrets can be cached - 0 means indefinitely
* @throws ConnectorCheckedException there is a problem with the connector
*/
public long getRefreshTimeInterval() throws ConnectorCheckedException

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
SecretsStoreConnector.getRefreshTimeInterval
; it is advisable to add an Override annotation.
* @param tokenAPI request specification
* @return new token or null
*/
private String getToken(TokenAPI tokenAPI)

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'tokenAPI' is never used.
/**
* Request that the subclass refreshes its secrets.
*/
protected void refreshSecrets()

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
SecretsStoreConnector.refreshSecrets
; it is advisable to add an Override annotation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant