Repository

Deploy & Import Repository

Estimated reading: 4 minutes 2163 views

Repository deployment in Visual Guard refers to the process of deploying security configurations, such as roles, permissions, and user profiles, from a central repository to target environments. This deployment ensures consistency and synchronicity of security settings across different environments, such as development, testing, and production.

Visual Guard allows you to deploy the created repository. With this option you can make a copy of the whole repository to use it in the same system or the other system.

To deploy a repository, follow the steps below:

Step 1: Login to the Repository. 


Step 2: Click “Next >”  to continue the wizard or click “Cancel” to cancel the wizard.


Step 3: On clicking “Next >”  the screen below will be displayed.Choose either A – Export data in a deployment configuration file or B – Deploy in an existing repository


If you choose A – Export data in a deployment configuration file follow the below steps. You get the below options

  • Deploy Application
  • Deploy the Repository
  • Deploy parameters of the Repository

This option will deploy the full content of the selected application

Step 1: Select Deploy Application –> select the application –> click Next

Step 2: Choose the Overwrite option and Deployment mode from the dropdown list provided.

Overwrite Option: Specify the options for deploying the application.

  • Do not overwrite an existing application: The process do not overwrite the application when it already exists in target repository
  • Overwrite when deployed version is more recent than existing application: The process overwrites the application only when its version is greater thann eixsting application in target repository
  • Overwrite when deployed version is equal to the existing application: The process overwrites the application only when its version is equal to the existing application’s version in target repository
  • Overwrite when deployed version is equal or more than the existing application: The process overwrites the application only when its version is equal to or more recent than the existing application’s version in target repository
  • Always overwrite an existing application: Always overwrites an application in target repository

Deployment Mode: Select the mode you would like to move forward with.

  • Refresh
  • Replace
  • Merge

Refresh: The process uses the deployed items to replace existing items and add any new deployed items. Existing items that are not included in the deployment remain unchanged, making this mode suitable for applying incremental updates.

Replace: The process removes all existing items from the target application before deploying all items from the deployed application. This mode ensures that the target application is an exact replica of the deployed configuration.

Merge: The process uses the deployed items to replace existing items, add new deployed items, and preserve all other existing items. This mode is ideal for updating specific configurations while retaining any custom or previously configured items in the target application. new deployed items and preserve all other existing items.

This option will deploy full content of the repository (users, roles, applications, permissions and much more)

Step 1: Select Deploy the repository

Step 2: Choose your prefered overwrite option weather you want to overwrite the existing repository or not

Step 3: Click on Finish to complete the deployment

Note: Once you click Finish you will get a notification to choose the path of where the file will be saved.

This option will only deploy parameters of the repository.

Step 1: Select Deploy parameters of the repository

Step 2: Choose weather you want to deploy all respository information or Select informaion to deploy (you can select which parameter you would like to deploy manual from each category.

Step 3: Click on Finish to complete the deployment

Note: Once you click Finish you will get a notification to choose the path of where the file will be saved.



If you choose B – Deploy in an existing repository follow the below steps.

Step 1: Click deploy in an existing respository –> select the Repository and click Next

Step 2: Refer to the Option A steps further


Import Deployment Configuration Files

Importing deployment configuration files refers to the process of loading external files containing predefined settings and configurations related to the deployment of software or applications. These files typically include details such as environment-specific configurations, deployment targets, versioning information, and other parameters necessary for deploying the software effectively. Importing deployment configuration files streamlines the deployment process by providing a standardized way to configure deployment settings, ensuring consistency and accuracy across different environments and deployment scenarios.


To import the configuration files follow the below steps

Step 1: Login to the repository and click on Import deployment configuration file


Step 2: Select the path of where your configuration files are saved by clicking on the 3 dots and click OK


Step 3: Once the configuration is successfull you will receive a popup notifying the same