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.

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.