opensearch-project / opensearch-sdk-py

OpenSearch Extensions SDK for Python.
https://opensearch.org/blog/introducing-extensions-for-opensearch/
Apache License 2.0
11 stars 7 forks source link

[META] Integrate with OpenSearch Settings #84

Open dbwiddis opened 1 year ago

dbwiddis commented 1 year ago

Is your feature request related to a problem?

Extensions may have their own settings that must be registered with OpenSearch.

Extensions may make use of OpenSearch settings and need to subscribe to changes in those settings.

What solution would you like?

What alternatives have you considered?

None; the above most closely resembles the Java SDK implementation which required multiple iterations to get right.

Do you have any additional context?

The Java WriteableSetting constructor takes a Setting<T> object as a parameter with this Setting used in the extension. Given that we are not importing the Python class it is entirely reasonable to combine the functionality of the two classes.

dblock commented 10 months ago

@dbwiddis update this one with current status?

dbwiddis commented 10 months ago

It's up to date. The third bullet is partially complete but still doesn't have transport for the superclass. I'll split it into two parts to make it more clear.