Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Governance Registry contains the capability of interacting directly with external file systems and a variety of version control systems which supports Maven. Enabling support on Maven SCM plugin has fulfilled the mentioned aspect in GREG. Now a user can integrate Governance Registry with a variety of version control systems which are listed out at http://maven.apache.org/scm/matrix.html .

With the SCM support on Governance Registry users are able to fulfill following scenarios. 

  • Capability of directly managing a resource resides at a version control system from the Registry. The user can browse Resources/Collections and do operations such as add,update or delete resources from Registry end so it will get effect on the version control system as well.
  • A user can add WSDL,Schemas like artifacts from the Registry end and store all its dependency structures in the mounted version control system. This would allow the user to use those dependencies with some other third party product as well e.g. - Build Systems.
  • If a user works with different types of multiple corporate repositories such as SVN, GIT, Perforce, VSS, and if the user wants to create a single view which allows to browse and manage the resources it is possible to use the registry for this aspect by enabling SCM support.

The Governance Registry can be easily mount with an external version control system by following the steps given below.

Configuration to enable SCM support 

 In order to create a SCM mounting in Governance Registry user has to uncomment the following configuration from the <CARBON_HOME>/repository/conf/registry.xml and properly configure by providing correct values for the parameters. This has to be done while the server is in shutdown mode, and has to restart after enabling the following configuration. 

Code Block
    <scm>
        <connection checkOutURL="scm:svn:http://svn.wso2.org/repos/wso2" workingDir="/valid/filesystem/path" mountPoint="/_system/foo" checkInURL="" readOnly="" updateFrequency=""/>
 
      <username>admin</username>
    
   <password>admin</password>
   
</scm>

The attributes of the given above configuration can be defined as below.

...