Hi all,
during documentation tasks, but also in the development phase, we face the
issue that a lot of user-configurable properties (e.g. system properties,
application.properties) are defined as simple String inside our codebase.
This makes both their maintenance and their knowledge hard.
We then thought of creating a specific annotation for them.
With that in place, such properties will be straightforward to identify and
track, in case of addition/modification/removal.

Having a specific annotation could also allow, in future, the
implementation of other features (e.g. define what are the allowed values
for each property).

The task is defined at the following kie-issue [1]

There are already two opened PRs:
drools [2]
kogito-runtimes [3]

to have a better idea of the final result.


Cheers

Gabriele

[1] https://github.com/apache/incubator-kie-issues/issues/2349
[2] https://github.com/apache/incubator-kie-drools/pull/6766
[3] https://github.com/apache/incubator-kie-kogito-runtimes/pull/4321

Reply via email to