{"id":23674017,"url":"https://github.com/wlanboy/cloudconfigpropertygenerator","last_synced_at":"2026-05-05T19:31:20.491Z","repository":{"id":77581508,"uuid":"179639529","full_name":"wlanboy/CloudConfigPropertyGenerator","owner":"wlanboy","description":"Spring based property generator - generated k8s ConfigMap from Spring Cloud Config Server","archived":false,"fork":false,"pushed_at":"2026-05-01T11:46:02.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-01T13:26:23.894Z","etag":null,"topics":["migration","mirror","spring-boot","spring-cloud","spring-cloud-config","spring-profile","spring-properties"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wlanboy.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-04-05T07:47:29.000Z","updated_at":"2026-05-01T11:46:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d2b5cb1-bc58-4d11-8b5d-7d178edd6fb0","html_url":"https://github.com/wlanboy/CloudConfigPropertyGenerator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wlanboy/CloudConfigPropertyGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2FCloudConfigPropertyGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2FCloudConfigPropertyGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2FCloudConfigPropertyGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2FCloudConfigPropertyGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlanboy","download_url":"https://codeload.github.com/wlanboy/CloudConfigPropertyGenerator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2FCloudConfigPropertyGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32664745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["migration","mirror","spring-boot","spring-cloud","spring-cloud-config","spring-profile","spring-properties"],"created_at":"2024-12-29T12:58:47.941Z","updated_at":"2026-05-05T19:31:20.486Z","avatar_url":"https://github.com/wlanboy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Cloud Config property file generator\nSpring Boot and Spring Cloud Config based property file generator to migrate from Spring Cloud Config Server.\nLoads profiles from Spring Cloud Config server and generates a Kubernetes Config Map.\n\n\n## Dependencies\nAt least: Java 25 and Maven 3.9\n\nRunning: https://github.com/wlanboy/ServiceConfig\n\n## Build \n```bash\nmvn package\n```\n\n## Konfigure property generator\n```bash\nexport SPRING_CLOUD_CONFIG_URI=http://127.0.0.1:8888\nexport SPRING_PROFILES_ACTIVE=test,info\nexport SPRING_APPLICATION_NAME=sample\nexport CONFIGMAP_FILE_TO_WRITE=./output\n```\n\n## Run property generator\n```bash\njava -jar target/cloudconfigpropertygenerator-0.0.1-SNAPSHOT.jar\n```\n\n## build docker image\n```bash\ndocker build -t propertygenerator:latest . \n```\n\n## run docker image\n```bash\nmkdir output\nchmod 777 output\n\ndocker run --rm \\\n  --env-file .env \\\n  --add-host=host.docker.internal:host-gateway \\\n  -v $(pwd)/application.properties:/app/config/application.properties \\\n  -v $(pwd)/output:/output \\\n  propertygenerator:latest\n```\n\n## output\n```sh\n  .   ____          _            __ _ _\n /\\\\ / ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\n( ( )\\___ | '_ | '_| | '_ \\/ _` | \\ \\ \\ \\\n \\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\n  '  |____| .__|_| |_|_| |_\\__, | / / / /\n =========|_|==============|___/=/_/_/_/\n\n :: Spring Boot ::                (v3.5.9)\n\n2026-01-02T06:50:16.017Z  INFO 1 --- [sample] [           main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://172.17.0.1:8888\n2026-01-02T06:50:17.521Z  INFO 1 --- [sample] [           main] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=sample, profiles=[test,info], label=null, version=8c615ecc77bb90db13306c1f8ae42c7839b106ee, state=\n2026-01-02T06:50:17.523Z  INFO 1 --- [sample] [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-configClient'}, BootstrapPropertySource {name='bootstrapProperties-https://github.com/wlanboy/cloudconfig.git/application-info.yaml'}, BootstrapPropertySource {name='bootstrapProperties-https://github.com/wlanboy/cloudconfig.git/sample.yaml'}]\n2026-01-02T06:50:17.554Z  INFO 1 --- [sample] [           main] .CloudconfigpropertygeneratorApplication : The following 2 profiles are active: \"test\", \"info\"\n2026-01-02T06:50:18.254Z  INFO 1 --- [sample] [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=04d02a29-f860-3431-808e-48a13550e717\n2026-01-02T06:50:18.653Z  INFO 1 --- [sample] [           main] .CloudconfigpropertygeneratorApplication : Started CloudconfigpropertygeneratorApplication in 4.215 seconds (process running for 4.993)\n2026-01-02T06:50:18.657Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Merging all properties from Spring Environment\n2026-01-02T06:50:18.658Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: bootstrapProperties-configClient\n2026-01-02T06:50:18.661Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: bootstrapProperties-https://github.com/wlanboy/cloudconfig.git/application-info.yaml\n2026-01-02T06:50:18.662Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: bootstrapProperties-https://github.com/wlanboy/cloudconfig.git/sample.yaml\n2026-01-02T06:50:18.663Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: Config resource 'file [application.properties]' via location 'optional:file:./'\n2026-01-02T06:50:18.663Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: springCloudClientHostInfo\n2026-01-02T06:50:18.663Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: applicationConfig: [file:./application.properties]\n2026-01-02T06:50:18.663Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: applicationInfo\n2026-01-02T06:50:18.664Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: Config resource 'file [bootstrap.properties]' via location 'optional:file:./'\n2026-01-02T06:50:18.664Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: applicationConfig: [file:./bootstrap.properties]\n2026-01-02T06:50:18.664Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Reading PropertySource: springCloudDefaultProperties\n2026-01-02T06:50:18.666Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Writing ConfigMap to /output/configmap.yaml\n2026-01-02T06:50:18.671Z  INFO 1 --- [sample] [           main] c.w.c.PropertyGenerator                  : Finished generating Kubernetes ConfigMap\n```\n\n## Docker hub\nhttps://hub.docker.com/repository/docker/wlanboy/propertygenerator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlanboy%2Fcloudconfigpropertygenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlanboy%2Fcloudconfigpropertygenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlanboy%2Fcloudconfigpropertygenerator/lists"}