Configuring Git Version Control for Model Repository Service in 10.2 HotFix 1

Configuring Git Version Control for Model Repository Service in 10.2 HotFix 1

Configuring a Model Repository Service for Git Version Control System

Configuring a Model Repository Service for Git Version Control System

In an Informatica domain, you can configure the Git version control system for only one Model Repository Service.
  1. In Informatica Administrator, navigate to the
    Manage
    Services and Nodes
    Domain Navigator
    section.
  2. In the
    Domain Navigator
    section, select the Model Repository Service.
  3. In the
    Properties
    Versioning Properties
    section, click the
    Edit
    icon.
  4. In the
    Edit Versioning Properties
    dialog box, set the following options:
    • Select the
      Enable Version Control System
      option.
    • In the
      Version control system type
      field, choose
      GIT
      .
    • In the
      URL
      field, enter the URL for the remote Git repository.
    • In the
      Username
      field, enter the user name for the remote Git repository.
    • In the
      Password
      field, enter the password of the remote Git repository user.
    • To test the connection, click
      Test Connection
      .
    The following image shows a sample
    Edit Versioning Properties
    dialog box:
    The image shows a sample edit versioning properties dialog box.
  5. In the
    Edit Versioning Properties
    dialog box, click
    OK
    .
    The configured properties appears in the
    Versioning Properties
    section.
  6. In the
    Properties
    Custom Properties
    section, click
    Edit
    .
  7. In the
    Edit Custom Properties
    dialog box, click
    New
    .
  8. In the
    New Custom Property
    , enter the following details:
    • In the
      Name
      field, enter
      git_local_repository_path
      .
    • In the
      Value
      field, enter the file path of the local Git repository.
  9. In the
    New Custom Property
    dialog box, click
    OK
    .
  10. In the
    Edit Custom Properties
    dialog box, click
    OK
    .
  11. Recycle the Model repository.
    Before you recycle the service, ask Model repository users to close all editable objects. When the Model repository restarts, it checks whether the version control system is in use by another Model repository. If the version control system is connected to a different Model repository, the Model Repository Service cannot restart. You must configure the versioning properties to connect to a version control system that has not been integrated with another Model repository.
  12. To synchronize the Model repository contents to the version control system, perform one of the following tasks:
    • In Informatica Administrator, select the Model repository, and click
      Actions
      Synchronize With Version Control System
      , and click
      OK
      .
    • Run the
      infacmd mrs PopulateVCS
      command.
    When you synchronize the content, the Model repository populates the local Git repository and remote Git repository with Model repository objects. After the synchronization is complete, versioning is active for Model repository objects. All Model repository objects are checked in to the version control system. Users can check out, check in, view version history, and restore historical versions of objects.


Updated October 24, 2019