{"id":25274522,"url":"https://github.com/piszmog/cloud-config-client-java","last_synced_at":"2026-04-27T20:33:14.885Z","repository":{"id":37788202,"uuid":"129652843","full_name":"Piszmog/cloud-config-client-java","owner":"Piszmog","description":"Clients for Spring Cloud Config","archived":false,"fork":false,"pushed_at":"2024-10-24T18:23:42.000Z","size":223,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-24T19:32:29.603Z","etag":null,"topics":["cloud","config","config-server","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Piszmog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-15T21:33:31.000Z","updated_at":"2024-10-24T03:43:36.000Z","dependencies_parsed_at":"2024-10-26T07:27:23.659Z","dependency_job_id":null,"html_url":"https://github.com/Piszmog/cloud-config-client-java","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Piszmog/cloud-config-client-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piszmog%2Fcloud-config-client-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piszmog%2Fcloud-config-client-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piszmog%2Fcloud-config-client-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piszmog%2Fcloud-config-client-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Piszmog","download_url":"https://codeload.github.com/Piszmog/cloud-config-client-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piszmog%2Fcloud-config-client-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cloud","config","config-server","spring"],"created_at":"2025-02-12T14:30:29.405Z","updated_at":"2026-04-27T20:33:14.869Z","avatar_url":"https://github.com/Piszmog.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project has been archived.\n\nI stopped using this library and cannot ensure it is working correctly. Additionally, every new version of Spring would sometimes break builds; it became too much to manage.\n\n# Cloud Config Client\n\n[![Java](https://github.com/Piszmog/cloud-config-client-java/actions/workflows/java.yml/badge.svg)](https://github.com/Piszmog/cloud-config-client-java/actions/workflows/java.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Description\n\nSpring's Config Server provides way to externalize configurations of applications. Spring's\n[Spring Cloud Config Client](https://github.com/spring-cloud/spring-cloud-config/tree/master/spring-cloud-config-client)\ncan be used to load the base configurations an application requires to function.\n\nBut the Config Client does not fully utilizes the Config Server's endpoints.\n\nThis library provides clients for utilizing all the endpoints in the Config Server.\n\n__Cloud Config Client 3.2.x \u003e=__ is compatible with\n\n| Dependency | Version |\n| :---: | :---: |\n| Spring Boot | 2.4.x \u003e= |\n| Spring Cloud Services | 3.2.x.RELEASE \u003e= |\n\n__Cloud Config Client 3.1.x__ is compatible with\n\n| Dependency | Version |\n| :---: | :---: |\n| Spring Boot | 2.2.x - 2.3.x |\n| Spring Cloud Services | 3.1.x.RELEASE |\n\n__Cloud Config Client 2.x__ is compatible with\n\n| Dependency | Version |\n| :---: | :---: |\n| Spring Boot | 2.1.x |\n| Spring Cloud Services | 2.x.x.RELEASE |\n\n__Cloud Config Client 1.x__ is compatible with\n\n| Dependency | Version |\n| :---: | :---: |\n| Spring Boot | 1.5.x |\n| Spring Cloud Services | 1.5.x.RELEASE |\n\nSee [Cloud Config Client Autoconfig](https://github.com/Piszmog/cloud-config-client-autoconfig)\nfor Spring ready library.\n\n### Config Clients\n\nAll Config Clients require a `ConfigTemplate`. `ConfigTemplate` is a wrapper for calling the Config Server endpoints.\n\nImplementations of the `ConfigTemplate` are `LocalConfigTemplate`, for calling a locally running Config Server,\nand `OAuth2ConfigTemplate` for calling a Config Server requiring OAuth2 authentication - this is primarily used when\nusing the PCF provided Config Server.\n\n#### DecryptConfigClient\n\nClient for decrypting values that the Config Server has encrypted.\n\n#### EncryptConfigClient\n\nClient for encrypting values using the Config Server.\n\n#### FileConfigClient\n\nClient for retrieving files from the Config Server.\n\nThe Config Server today retrieves `.yml` and `.properties` files, but is unable to retrieve `.json`, `.txt`, and etc...\n\n##### Specific Branch\n\nFile can only be retried from the root of the repo if a specific branch name is provided. This is a limitation on how\nthe endpoints for the Config Server are set up.\n\n##### Default Branch\n\nTo retrieve files from the Config Server's default branch, the files must be in a subdirectory.\n\n* __Only compatible with Config Server version 1.4.0.RELEASE or greater__\n\n#### PublicKeyClient\n\nClient for retrieving the Public Key from the Config Server.\n\n### Config Server\n\n#### Endpoints\n\nThe Config Server exposes the following endpoints,\n\n##### Security\n\nAll security specific endpoints dealing with encryption and decryption.\n\n| Name | Operation | Endpoint Path | Description |\n| :---: | :---: | :---: | :---: |\n|Retrieve Public Key|GET|`/key`|Returns the Public Key for default application name and profile|\n|Retrieve Public Key|GET|`/key/{name}/{profiles}`|Returns the Public Key for specified application name and profile|\n|Encryption Install Status|GET|`/encrypt/status`|Check if an encryptor is setup|\n|Encrypt Data|POST|`/encrypt`|Encrypts the request body using the default application name and profile|\n|Encrypt Data|POST|`/encrypt/{name}/{profiles}`|Encrypts the request body using the specified application name and profile|\n|Decrypt Data|POST|`/decrypt`|Decrypts the request body using the default application name and profile|\n|Decrypt Data|POST|`/decrypt/{name}/{profiles}`|Decrypts the request body using the specified application name and profile|\n\nWhere,\n\n| Path Variable | Description |\n| ---: | :--- |\n|`name`| The application name|\n|`profiles`| The active profile|\n\n##### Environment\n\nAll environment specific endpoints dealing with loading configuration files to applications on their startup.\n\n| Name | Operation | Endpoint Path | Description |\n| :---: | :---: | :---: | :---: |\n|Retrieve Configuration |GET|`/{name}/{profiles:.*[^-].*}`|Retrieves the configuration file matching the regex expression on the profile for the application name |\n|Retrieve Configuration |GET|`/{name}/{profiles}/{label:.*}`|Retrieves the configuration file matching the regex expression on the label for the application name and profile|\n|Retrieve Properties Configuration |GET|`/{name}-{profiles}.properties`|Retrieves the application properties in Properties format|\n|Retrieve Properties Configuration |GET|`/{label}/{name}-{profiles}.properties`|Retrieves the application properties in Properties format|\n|Retrieve JSON Configuration |GET|`{name}-{profiles}.json`|Retrieves the application properties in JSON format|\n|Retrieve JSON Configuration |GET|`/{label}/{name}-{profiles}.json`|Retrieves the application properties in JSON format|\n|Retrieve YML Configuration |GET|`/{name}-{profiles}.yml`|Retrieves the application properties in YML format\n|Retrieve YAML Configuration |GET|`/{name}-{profiles}.yaml`|Retrieves the application properties in YAML format|\n|Retrieve YML Configuration |GET|`/{label}/{name}-{profiles}.yml`|Retrieves the application properties in YML format|\n|Retrieve YAML Configuration |GET|`/{label}/{name}-{profiles}.yaml`|Retrieves the application properties in YAML format|\n\nWhere,\n\n| Path Variable | Description |\n| ---: | :--- |\n|`name`| The application name|\n|`profiles`| The active profile|\n|`label`| The GIT branch to retrieve from|\n\n##### Resource\n\nAll resource specific endpoints dealing with loading files.\n\n| Name | Operation | Endpoint Path | Parameters | Description |\n| :---: | :---: | :---: | :---: | :---: |\n|Retrieve Resource |GET|`/{name}/{profile}/{label}/**`| `useDefaultBranch` - boolean |Retrieves the resource of the specified application name, profile, label, and resource name from the default branch|\n|Retrieve Resource |GET|`/{name}/{profile}/{label}/**`| NA |Retrieves the resource of the specified application name, profile, label, and resource name|\n\nWhere,\n\n| Path Variable | Description |\n| ---: | :--- |\n|`name`| The application name|\n|`profile`| The active profile|\n|`label`| The GIT branch to retrieve from|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiszmog%2Fcloud-config-client-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiszmog%2Fcloud-config-client-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiszmog%2Fcloud-config-client-java/lists"}