From acc4775813f1c9ef641a382c4650fc437f2a7242 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 27 Mar 2019 17:08:12 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-config.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/spring-cloud-config.html b/spring-cloud-config.html index 42982170..c31c8f24 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -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: http://git/team-a/config-repo.git + uri: https://git/team-a/config-repo.git team-b: pattern: team-b-* cloneOnStart: false - uri: http://git/team-b/config-repo.git + uri: https://git/team-b/config-repo.git team-c: pattern: team-c-* - uri: http://git/team-a/config-repo.git + uri: https://git/team-a/config-repo.git
@@ -768,18 +768,18 @@ If you do not know where your ~/.git directory is, use git co
Authentication with AWS CodeCommit
-

Spring Cloud Config Server also supports AWS CodeCommit authentication. +

Spring Cloud Config Server also supports AWS CodeCommit 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}.

-

If you provide a username and password with an AWS CodeCommit URI, they must be the AWS accessKeyId and secretAccessKey that provide access to the repository. -If you do not specify a username and password, the accessKeyId and secretAccessKey are retrieved by using the AWS Default Credential Provider Chain.

+

If you provide a username and password with an AWS CodeCommit URI, they must be the AWS accessKeyId and secretAccessKey that provide access to the repository. +If you do not specify a username and password, the accessKeyId and secretAccessKey are retrieved by using the AWS Default Credential Provider Chain.

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 IAM Roles for EC2 Instances.

+AWS EC2 instances may use IAM Roles for EC2 Instances.

@@ -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: http://git/team-a/config-repo.git + uri: https://git/team-a/config-repo.git force-pull: true team-b: pattern: team-b-* - uri: http://git/team-b/config-repo.git + uri: https://git/team-b/config-repo.git force-pull: true team-c: pattern: team-c-* - uri: http://git/team-a/config-repo.git + uri: https://git/team-a/config-repo.git
@@ -1034,7 +1034,7 @@ is requested.

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 config-repo-. On linux, for example, it could be /tmp/config-repo-<randomid>. -Some operating systems routinely clean out temporary directories. +Some operating systems routinely clean out 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 spring.cloud.config.server.git.basedir or spring.cloud.config.server.svn.basedir to a directory that does not reside in the system temp structure.