Skip to content

Conversation

@tschaffter
Copy link
Member

This PR implements the changes made to the openapi specification of the data node described in this PR.

The README has been updated with information on how to set the value of the API key.

Before merging this PR, we need to make sure that the benchmarking infra is able to use a data node protected by an API key. Updating the NLP Sandbox client for Python should not be too difficult using the openapi-generator. I did the same thing in another project but for a TypeScript client and it was very easy. I will give it a shot and open a PR for the Python client to update the part of the library that is automatically generated by the openapi-generator. @thomasyu888 could then update the SDK part of the client.

It may not be straightforward to let the NLP Sandbox controller know about the API key value it should use when sending request to a data node instance according to Tom.

@thomasyu888 - Can you comment on the difficulties you mentioned this morning? If we can let a controller know the API address of a data node (different IP address used by the MCW controller and Sage controller), why can't we specify the API key in the same way?

@tschaffter tschaffter self-assigned this Nov 2, 2021
@tschaffter tschaffter linked an issue Nov 15, 2021 that may be closed by this pull request
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.

Add authorization using API key

2 participants