These are chat archives for spring-cloud/spring-cloud

12th
Apr 2017
Fabian Wallwitz
@cforce
Apr 12 2017 07:36
How can i filter properties (import) for name prefix or mask in any spring cloud config repository?
Is there anyone who knows/created spring cloud config server enhancement to push/post yml property changes into a repostory (rest service and/or frontend to edit yml files/single properties) based on a git push
Dave Syer
@dsyer
Apr 12 2017 07:41
The config server is a rest service.
Not sure what you are asking really
Sounds like a config server with the monitor added
Daniel Lavoie
@daniellavoie
Apr 12 2017 07:48
@Fabi What you need is a merge / pull request review strategy on your repository backend. With github and locked branches for exemple, you can force code reviews before merging new configurations. Config Server only purpose is to serve configurations, not to manage them.
Fabian Wallwitz
@cforce
Apr 12 2017 07:58
@daniellavoie So lets say i want to manage user owned (not devops) properties it ..meaning some of the properties (prefixed or masked by property name space) get imported by config server from a special git repo backend -> i need a property name space filter to make sure nobody can merge/overwrite devops manged properties imported from othe repos, but only allow a certain name space to be honored from a certain user reposisory (just make sure its not possible ). Futhermore i would need a property based (key/value) psot rest api to manage the contnet of this user repo by the user itself - still based on the all/application-profile pattern from spingd cloud config
@dsyer i kmnow spring cloud config server is not able/made of that request - just searching for ideas/ or any one/ demo/github repo /request that goes into this direction.
Daniel Lavoie
@daniellavoie
Apr 12 2017 08:01
@cforce IMO, Config Server is not aimed for user owned properties. Config Server let you distribute techinical configurations that would otherwise be deployed manually with your binaries.
Dave Syer
@dsyer
Apr 12 2017 08:10
I guess you could give users their own config server. Or their own git repo.
Implementing a policy for which properties they are allowed to edit is way out of scope for spring cloud though
Fabian Wallwitz
@cforce
Apr 12 2017 09:39
i want to use the same config server (how how i use two in same application?) source from the git user repo and asked what todo (1) to filter properties on import from a special repo
what i need additionaly is rest service that allows user to post/update single properties that libe in an yml file inside the gir repo..
Fabian Wallwitz
@cforce
Apr 12 2017 09:46
additionly a web frontend to edit properties in context of appliction,profile,property name and value (fixed type for existing properties ), create property ( select type from yml supported types) and delete property