{"id":23126395,"url":"https://github.com/theangrydev/dynamic-configuration","last_synced_at":"2026-01-18T16:32:52.465Z","repository":{"id":78654143,"uuid":"496249083","full_name":"theangrydev/dynamic-configuration","owner":"theangrydev","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-05T07:19:27.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T05:25:57.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"statisticsnorway/dynamic-configuration","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theangrydev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-25T13:45:06.000Z","updated_at":"2022-05-25T13:44:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1489f43-df69-41d6-9150-52f6def729ef","html_url":"https://github.com/theangrydev/dynamic-configuration","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/theangrydev/dynamic-configuration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theangrydev%2Fdynamic-configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theangrydev%2Fdynamic-configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theangrydev%2Fdynamic-configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theangrydev%2Fdynamic-configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theangrydev","download_url":"https://codeload.github.com/theangrydev/dynamic-configuration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theangrydev%2Fdynamic-configuration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28541596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T08:30:44.193Z","updated_at":"2026-01-18T16:32:52.419Z","avatar_url":"https://github.com/theangrydev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configuration\n\nThe Configuration library is a clean (no external dependencies) Java implementation inspired by and partly based on work\nfound in the Constretto library: https://github.com/constretto/constretto-core\n\nThis library contains a simple configuration loading and override mechanism capable of reading properties files from \nfile-system or classpath and also ability to read configuration from environment and java system properties.\n\n\nExample:\n```properties\n# application.properties\nhost=localhost\nport=28282\naccesslog.enabled=true\n```\n```java\n// Sample Java application using configuration library\n\npublic class MyApp {\n\n    public static void main(String[] args) {\n\n        DynamicConfiguration configuration = new StoreBasedDynamicConfiguration.Builder()\n                .propertiesResource(\"application.properties\")\n                .propertiesResource(\"application_override.properties\")\n                .environment(\"MYAPP_\")\n                .systemProperties()\n                .build();\n\n        String host = configuration.evaluateToString(\"host\");\n        int port = configuration.evaluateToInt(\"port\");\n        boolean accessLogEnabled = configuration.evaluateToBoolean(\"accesslog.enabled\");\n\n        new MyWebServer(host, port, accessLogEnabled);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheangrydev%2Fdynamic-configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheangrydev%2Fdynamic-configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheangrydev%2Fdynamic-configuration/lists"}