spring-cloud-consul
spring-cloud-consul copied to clipboard
Support Hashicorp HCL as a config format
https://github.com/spring-projects/spring-boot/issues/4974#issuecomment-173175333
https://github.com/hashicorp/hcl
see https://github.com/spring-projects/spring-boot/issues/3558
Would bring in JSON as a config format as well.
HCL is also fully JSON compatible. That is, JSON can be used as completely valid input to a system expecting HCL. This helps makes systems interoperable with other systems.
Could be useful for folks using Spring Cloud Consul and other hashicorp tools (vault, etc...).
HCL in java https://github.com/VladRassokhin/intellij-hcl
@spencergibb Hello! What do you think about adding just JSON support? When I do a little research, I found out that there not so many libraries to just serialize/deserialize HCL in Java/Kotlin. So, I think that not so much effort is needed to add JSON support rather than researching, creating, fixing libraries that support HCL. What do you think about it? We can even split this task like this:
- Add support of JSON using Jackson, GSON, whatever
- Search or create a library to support HCL
- Migrate JSON to HCL
https://solutionshub.epam.com/blog/post/programming-language-popularity-on-github
Although it's still not on the list of the ten most popular programming languages in the open source community, Hashicorp Configuration Language (HCL) with a 56,1% increase in popularity is the fastest-growing language according to GitHub. This is mainly due to the need to automate deployment.
https://github.com/bertramdev/hcl4j