Sync docs from master to gh-pages
This commit is contained in:
2
js/highlight/styles/dracula.min.css
vendored
2
js/highlight/styles/dracula.min.css
vendored
@@ -7,7 +7,7 @@ https://github.com/zenorocha/dracula-theme
|
||||
Copyright 2015, All rights reserved
|
||||
|
||||
Code licensed under the MIT license
|
||||
https://zenorocha.mit-license.org/
|
||||
http://zenorocha.mit-license.org
|
||||
|
||||
@author Éverton Ribeiro <nuxlli@gmail.com>
|
||||
@author Zeno Rocha <hi@zenorocha.com>
|
||||
|
||||
2
js/highlight/styles/monokai-sublime.min.css
vendored
2
js/highlight/styles/monokai-sublime.min.css
vendored
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
|
||||
Monokai Sublime style. Derived from Monokai by noformnocontent https://nn.mit-license.org/
|
||||
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
|
||||
|
||||
*/
|
||||
|
||||
|
||||
2
js/highlight/styles/monokai.min.css
vendored
2
js/highlight/styles/monokai.min.css
vendored
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Monokai style - ported by Luigi Maselli - https://grigio.org
|
||||
Monokai style - ported by Luigi Maselli - http://grigio.org
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
function addBlockSwitches() {
|
||||
$('.primary').each(function() {
|
||||
@@ -696,14 +696,14 @@ The server can be configured to clone the repositories at startup, as shown in t
|
||||
team-a:
|
||||
pattern: team-a-*
|
||||
cloneOnStart: true
|
||||
uri: https://git/team-a/config-repo.git
|
||||
uri: http://git/team-a/config-repo.git
|
||||
team-b:
|
||||
pattern: team-b-*
|
||||
cloneOnStart: false
|
||||
uri: https://git/team-b/config-repo.git
|
||||
uri: http://git/team-b/config-repo.git
|
||||
team-c:
|
||||
pattern: team-c-*
|
||||
uri: https://git/team-a/config-repo.git</code></pre>
|
||||
uri: http://git/team-a/config-repo.git</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
@@ -768,18 +768,18 @@ If you do not know where your <code>~/.git</code> directory is, use <code>git co
|
||||
<div class="sect4">
|
||||
<h5 id="_authentication_with_aws_codecommit"><a class="link" href="#_authentication_with_aws_codecommit">Authentication with AWS CodeCommit</a></h5>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Config Server also supports <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> authentication.
|
||||
<p>Spring Cloud Config Server also supports <a href="http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> authentication.
|
||||
AWS CodeCommit uses an authentication helper when using Git from the command line.
|
||||
This helper is not used with the JGit library, so a JGit CredentialProvider for AWS CodeCommit is created if the Git URI matches the AWS CodeCommit pattern.
|
||||
AWS CodeCommit URIs follow this pattern://git-codecommit.${AWS_REGION}.amazonaws.com/${repopath}.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>If you provide a username and password with an AWS CodeCommit URI, they must be the <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html">AWS accessKeyId and secretAccessKey</a> that provide access to the repository.
|
||||
If you do not specify a username and password, the accessKeyId and secretAccessKey are retrieved by using the <a href="https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html">AWS Default Credential Provider Chain</a>.</p>
|
||||
<p>If you provide a username and password with an AWS CodeCommit URI, they must be the <a href="http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html">AWS accessKeyId and secretAccessKey</a> that provide access to the repository.
|
||||
If you do not specify a username and password, the accessKeyId and secretAccessKey are retrieved by using the <a href="http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html">AWS Default Credential Provider Chain</a>.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>If your Git URI matches the CodeCommit URI pattern (shown earlier), you must provide valid AWS credentials in the username and password or in one of the locations supported by the default credential provider chain.
|
||||
AWS EC2 instances may use <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html">IAM Roles for EC2 Instances</a>.</p>
|
||||
AWS EC2 instances may use <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html">IAM Roles for EC2 Instances</a>.</p>
|
||||
</div>
|
||||
<div class="admonitionblock note">
|
||||
<table>
|
||||
@@ -948,15 +948,15 @@ folder content changes by an OS process) such that Spring Cloud Config Server ca
|
||||
repos:
|
||||
team-a:
|
||||
pattern: team-a-*
|
||||
uri: https://git/team-a/config-repo.git
|
||||
uri: http://git/team-a/config-repo.git
|
||||
force-pull: true
|
||||
team-b:
|
||||
pattern: team-b-*
|
||||
uri: https://git/team-b/config-repo.git
|
||||
uri: http://git/team-b/config-repo.git
|
||||
force-pull: true
|
||||
team-c:
|
||||
pattern: team-c-*
|
||||
uri: https://git/team-a/config-repo.git</code></pre>
|
||||
uri: http://git/team-a/config-repo.git</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="admonitionblock note">
|
||||
@@ -1034,7 +1034,7 @@ is requested.</p>
|
||||
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="https://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349#377349">routinely clean out</a> temporary directories.
|
||||
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 behavior, such as missing properties.
|
||||
To avoid this problem, change the directory that 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>
|
||||
|
||||
Reference in New Issue
Block a user