- Mastering Spring Cloud
- Piotr Minkowski
- 94字
- 2021-08-27 18:57:09
Using placeholders in URIs
All the recently listed placeholders, application, profile, and label, are also supported here. We can create a single repository per application using a placeholder as in https://github.com/piomin/{application}, or even per profile, https://github.com/piomin/{profile}. This type of backend implementation maps the label parameter of the HTTP resource to a Git label, which may refer to commit ID, branch, or tag name. The most appropriate way to discover interesting features for us is obviously through an example. Let's begin by creating a Git repository dedicated to storing the application's property sources.