| 1 | Source: aeonbits-owner |
| 2 | Section: java |
| 3 | Maintainer: Debian Med Packaging Team <[email protected]> |
| 4 | Uploaders: Pierre Gruet <[email protected]> |
| 5 | Build-Depends: debhelper-compat (= 13), |
| 6 | default-jdk-headless, |
| 7 | javahelper, |
| 8 | maven-debian-helper |
| 9 | Build-Depends-Indep: junit4 <!nocheck>, |
| 10 | libcommons-codec-java <!nocheck>, |
| 11 | libcurator-framework-java, |
| 12 | libcurator-test-java, |
| 13 | libhamcrest-java <!nocheck>, |
| 14 | libmockito-java, |
| 15 | libslf4j-java <!nocheck>, |
| 16 | libzookeeper-java |
| 17 | Standards-Version: 4.7.2 |
| 18 | Vcs-Browser: https://salsa.debian.org/med-team/aeonbits-owner |
| 19 | Vcs-Git: https://salsa.debian.org/med-team/aeonbits-owner.git |
| 20 | Homepage: https://owner.aeonbits.org/ |
| 21 | |
| 22 | Package: libaeonbits-owner-java |
| 23 | Architecture: all |
| 24 | Depends: ${misc:Depends}, |
| 25 | ${maven:Depends} |
| 26 | Suggests: ${maven:OptionalDepends} |
| 27 | Multi-Arch: foreign |
| 28 | Description: API to handle application configuration through Java properties file |
| 29 | OWNER was written because the code dealing with the configuration is |
| 30 | frequently repetitive, redundant, it’s made of static classes, singletons, |
| 31 | long list of methods just doing conversion from a string property to a named |
| 32 | method returning a Java primitive or a basic Java object. |
| 33 | . |
| 34 | OWNER solves the problem providing an interface object that |
| 35 | - is easy to mock, easy to pass to other objects (via dependency injection); |
| 36 | - declaratively maps the configuration without any redundancy; |
| 37 | - can easily expand the loading logic in order to have multiple configuration |
| 38 | files, multiple level of overriding (global configuration, user-level, |
| 39 | defaults, etc); |
| 40 | - doesn’t need to have an actual properties file backing the configuration, |
| 41 | if one uses @DefaultValue. |
| 42 | - provides a lot of features, like hot reloading, variables expansion, etc; |
| 43 | - leaves one free to do everything one is already doing with |
| 44 | java.util.Properties; |
| 45 | - does support a super powerful type conversion, which includes arrays, |
| 46 | collections, many standard Java objects, and even the possibility to plug |
| 47 | one's own conversion logic. |