-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
Description
Java Operator SDK implements an integration test(s) for every feature. To make them more visible / discoverable to the users we could generate a sample index page into the documentation.
The idea would be to provide an annotation, like:
@Sample(tldr="Usage of PrimaryToSecondaryMapper", descrption="Showcases the usage of PrimaryToSecondaryMapper, in what situation it needs to be used and how to optimize typical uses with Informer indexes." )
class PrimaryToSecondaryIT {
// details omitted
}
We would collect those test which are annotated, and generate a mardown page for the website:
[Usage of PrimaryToSecondaryMapper"](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/primarytosecondary/PrimaryToSecondaryIT.java)
Showcases the usage of PrimaryToSecondaryMapper, in what situation it needs to be used and how to optimize typical uses with Informer indexes.
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.