-
Notifications
You must be signed in to change notification settings - Fork 104
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
Change the "Blacklist / Whitelist" nomenclature #321
Comments
Update: All the reference of For example:
to
|
Java APIs completed and released on 2.2 |
@sbcd90 could you look into this? |
@praveensameneni Could you confirm if there is any effort remaining for this? If yes, let's please target to finish it on 2.4. Otherwise, let's close the issue |
hi @anasalkouz , i looked into this issue. Looks like, we dont have the alternate apis i saw in the |
@sbcd90 The remaining effort stands for the following Java APIs
|
thanks a lot @tlfeng . |
Probably you can change the label for this issue to |
@tlfeng ok done. |
Is your feature request related to a problem? Please describe.
OpenSearch repository is going to replace the terminology "blacklist / whitelist" with "denylist / allowlist".
issue: opensearch-project/OpenSearch#1483, with the plan for its terminology replacement.
Although the existing usages with "blacklist / whitelist" will be supported in OpenSearch version 2.x to keep the backwards compatibility, please prepare for the nomenclature change in advance.
Describe the solution you'd like
When being compatible with OpenSearch 3.0:
import org.opensearch.painless.spi.Whitelist
->import org.opensearch.painless.spi.Allowlist
(https://github.com/opensearch-project/alerting/blob/2.3.0.0/alerting/src/main/kotlin/org/opensearch/alerting/AlertingPlugin.kt#L102)import org.opensearch.painless.spi.WhitelistLoader
->import org.opensearch.painless.spi.AllowlistLoader
(https://github.com/opensearch-project/alerting/blob/12.3.0.0/alerting/src/main/kotlin/org/opensearch/alerting/AlertingPlugin.kt#L102)override fun getContextWhitelists(): Map<ScriptContext<*>, List<Whitelist>>
->override fun getContextAllowlists(): Map<ScriptContext<*>, List<Allowlist>>
(https://github.com/opensearch-project/alerting/blob/2.3.0.0/alerting/src/main/kotlin/org/opensearch/alerting/AlertingPlugin.kt#L126)Describe alternatives you've considered
None.
Additional context
The text was updated successfully, but these errors were encountered: