wso2greg - How to change services storage location in wso2 governancy registry -


i have gone through wso2 doc: https://docs.wso2.com/display/governance460/changing+storage+location+of+services

when change location of services in regisrty.xml file.

<staticconfiguration>     <versioningproperties>true</versioningproperties>     <versioningcomments>true</versioningcomments>     <versioningtags>true</versioningtags>     <versioningratings>true</versioningratings>     <!-- location want add service , default location /services/ -->     <servicepath>/trunk/services/mylocation</servicepath> </staticconfiguration> 

when ever tried register service throwing following exception:

error {org.wso2.carbon.governance.api.common.governanceartifactmanager} - failed add artifact: artifact id: 153b122e-5b4f-4e8e-bbe0-e7934da571d0, path: /trunk/services/mylocation/sample/com/myservice. resource not exist @ path /_system/governance/trunk/services/sample/com org.wso2.carbon.registry.core.exceptions.resourcenotfoundexception: resource not exist @ path /_system/governance/trunk/services/sample/com

how resolve error

thanks in advance...

try in rxt level, go home > extensions > configure > artifact types > artifact source(select artifact type) , change storage path changing below line,

<storagepath>/trunk/services/@{namespace}/@{overview_version}/@{name}</storagepath> 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -