atbashee / atbash-config Goto Github PK
View Code? Open in Web Editor NEWMicroProfile Config extensions
License: Apache License 2.0
MicroProfile Config extensions
License: Apache License 2.0
Instead of the class names which are shown at the moment.
When no @ModuleConfigName
is specified, the class name is still kept as fall back.
With the usage of ServiceLoader?
Server -> MP application (outside of this repo) to retrieve configuration values from Rest Endpoint
Config source (within this repo, separate jar) to retrieve config values from server URL.
something like
pets: ["dog”,"cats”]
Other projects using atbash-config can benefit from a ConfigProviderResolver which configures a TestConfig which is a HashMap which can be configured for each test to have to required parameters.
We need to be able to define a parameter with different key names
for example
So that we can have all our parameters in one file, but based on some System/environment variable select the correct set?
The following construct fails (with message that no converter is available for int)
@Inject
@ConfigProperty(name = "value2")
private int value2;
But works fine with the real Geronimo Config
Contains also StringUtils, ClassUtils, ...
The implementation and the definition of the configuration file should be optional.
This avoids the MissingServiceLoaderConfigurationException when it is not defined.
Because in Atbash-config, we have defined the return type of the getOptionalValue()
as T
(and not Optional).
This results in UnknownMethod exception.
Although targetted to Java 7, a smooth upgrade should be possible.
The ResourceUtils.getInputStreamForPath works differently on Java SE as with Java EE when using the locator classpath:/resource.
When the resource is in the root, it is found in Java EE but not in Java SE. The construct classpath:resource needs to be used for that.
When trying to load a classpath resource and it is not found, also try without leading /.
In those cases where the logging is not required.
Like the OAuth2 clientId and clientSecret values for Octopus. But we need them for Google, LinkedIn, etc ...
Something similar then the property aware values of DeltaSpike https://deltaspike.apache.org/documentation/configuration.html#getPropertyAwarePropertyValue()
Several methods can be defined as helping reading optional values with defaults.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.