Sync docs from vault to gh-pages
This commit is contained in:
@@ -1100,6 +1100,21 @@ search).</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
<h4 id="_version_control_backend_filesystem_use">Version Control Backend Filesystem Use</h4>
|
||||
<div class="admonitionblock warning">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="icon">
|
||||
<div class="title">Warning</div>
|
||||
</td>
|
||||
<td class="content">
|
||||
With VCS based backends (git, svn) files are checked out or cloned to the local filesystem. By default they are put in the system temporary directory with a prefix of <code>config-repo-</code>. On linux, for example it could be <code>/tmp/config-repo-<randomid></code>. Some operating systems <a href="http://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349#377349">routinely clean out</a> temporary directories. This can lead to unexpected behaviour such as missing properties. To avoid this problem, change the directory Config Server uses, by setting <code>spring.cloud.config.server.git.basedir</code> or <code>spring.cloud.config.server.svn.basedir</code> to a directory that does not reside in the system temp structure.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
<h4 id="_file_system_backend">File System Backend</h4>
|
||||
<div class="paragraph">
|
||||
<p>There is also a "native" profile in the Config Server that doesn’t use
|
||||
@@ -1601,7 +1616,7 @@ as YAML or Java properties by adding a suffix to the resource path
|
||||
(".yml", ".yaml" or ".properties"). This can be useful for consumption
|
||||
by applications that do not care about the structure of the JSON
|
||||
endpoints, or the extra metadata they provide, for example an
|
||||
application that is not using Spring might benefit fro mthe simplicity
|
||||
application that is not using Spring might benefit from the simplicity
|
||||
of this approach.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
@@ -2040,7 +2055,7 @@ grabbing it in the bootstrap context and injecting one).</p>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2016-06-13 23:02:30 UTC
|
||||
Last updated 2016-06-29 19:21:39 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user