This documentation is for WSO2 App Factory 1.0.0. View documentation for the latest release.
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

<RepositoryProviderConfig> tag used to add our repository providers.  Default App Factory is shipped with SVN and GIT repositories. 

New repository types can be added to the configurations as follows. (Note that, you need to extend the AbstractRepositoryProvider class and provide the extended class as a Property)

<RepositoryProviderConfig name="git" enabled="true">
	<Property name="Class">org.wso2.carbon.appfactory.git.repository.provider.GITBlitBasedGITRepositoryProvider</Property>
	<Property name="BaseURL"></Property>
	<Property name="GitblitAdminUserName"></Property>
	<Property name="GitblitAdminPassword">admin123</Property>
	<Property name="ReadWritePermission">/permission/admin/appfactory/repository/readwrite</Property>
	<Property name="DisplayName">Git</Property> 
	<Property name="Provider">git</Property> 
Property NameDescription
RepositoryProviderConfignameName of Repository Provider.
 enabledDefine whether Repository Provider is enabled or not.

The following table contains detail descriptions of each property.

Property NameDescription
ClassJava Class for you repository provider manager implementation for git.
BaseURLThe BaseURL which pointing back to the your repository service.
GitblitAdminUserNameAdmin user name of repository.
GitblitAdminPasswordAdmin password of repository.
DisplayNameDisplay name of repository provider.
ProviderRepository provider type.



  • No labels