harness-community / openfeature-java-provider

Apache License 2.0
0 stars 1 forks source link

OF Provider 2.1 #10

Open scalabl3 opened 1 year ago

scalabl3 commented 1 year ago

https://docs.openfeature.dev/docs/specification/sections/providers#requirement-21

The provider interface MUST define a metadata member or accessor, containing a name field or accessor of type string, which identifies the provider implementation.

provider.getMetadata().getName(); // "my-custom-provider"


Reference Provider (JAVA): https://github.com/splitio/split-openfeature-provider-java/blob/main/src/main/java/io/split/openfeature/SplitProvider.java

Conventions Checklist: https://docs.openfeature.dev/docs/reference/concepts/provider/#checklist