Administrator > Secure Agent services > GitRepoConnectApp
  

GitRepoConnectApp

When your organization uses an on-premises source control repository, the GitRepoConnectApp service manages the communication between Informatica Intelligent Cloud Services and the source control repository.
The Secure Agent uses the GitRepoConnectApp service when it creates the local copy of the remote source control repository on the Secure Agent machine. It also uses the service to get information about source control operations from the remote repository.

Local repository base directory

If your source control repository is on-premises, the Secure Agent creates a local copy of the repository branch that stores Informatica Intelligent Cloud Services assets. You can configure the local repository location on the Secure Agent machine.
By default, the Secure Agent creates the local repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/<base directory>/<client URL>/<organization ID>/<branch>/<remote repository name>
In this file path, the base directory is controlled by the git_local_repository_path property of the GitRepoConnectApp service.
By default, git_local_repository_path is set to ../git_repository/. Therefore, the Secure Agent creates the local Git repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/git_repository/<client URL>/<organization ID>/<branch>/<remote repository name>
You can change the base directory by editing the git_local_repository_path property. For example, if you set this property to ../MYREPO/PROD, the Secure Agent creates the local Git repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/MYREPO/PROD/<client URL>/<organization ID>/<branch>/<remote repository name>
To specify a base directory that contains a backslash character (\), escape it with another backslash character.
Warning: If you omit the parent directory (..) when you set the git_local_repository_path property, the Secure Agent creates a subdirectory for the version of the GitRepoConnectApp service. The local copy of the repository is then stored in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/<GitRepoConnectApp version>/<base directory>/<client URL>/<organization ID>/<branch>/<remote repository name>
In this case, the Secure Agent creates a new local repository directory each time the GitRepoConnectApp service is updated, which can consume large amounts of disk space on the Secure Agent machine.

GitRepoConnectApp properties

To change or optimize behavior of the GitRepoConnectApp service, configure the service properties. Configure the service properties in the System Configuration Details area when you edit a Secure Agent.
The following image shows the GitRepoConnectApp properties:
When you view or edit a Secure Agent and select the GitRepoConnectApp service, the configuration properties appear in the System Configuration Details area. In this image, the service type is set to "All Types," and the LOG4J and GIT_REPO_CONNECT_APP_CONF properties are displayed.
You can configure the following service property:
Type
Name
Description
GIT_REPO_CONNECT_APP_CONF
git_local_repository_path
Base directory for the local Git repository on the Secure Agent machine.
The base directory is created in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/
Default is ../git_repository/. Therefore, the Secure Agent creates the local Git repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/git_repository/<client URL>/<organization ID>/<branch>/<remote repository name>
Note: Do not change the values of other GitRepoConnectApp properties unless Informatica Global Customer Support instructs you to do so.