Hi Sanaka,
My User Case is :
I want to upload the WSDL and XSDs from G-Reg UI and those should be
checked In to SVN and my CI can check out those files in build system.
I have installed G-Registry 4.5.0 and configured the SCM in
registry.xml as below.
<scm>
<connection checkOutURL="" workingDir="D:/wso2/svn"
mountPoint="/_system/governance/trunk/wsdls"
checkInURL="scm:svn:http://svn.company.com/dev/projects/registry"
readOnly="false" updateFrequency="">
<username>user</username>
<password>pwd</password>
</connection>
</scm>
and when I try to add the WSDL and XSD in Zip file from G-Reg UI,
it's not showing in WSDL List at all and am getting the below error.
And I can only see wsdl , not XSD in workingDir (i.e : D:/wso2/svn ).
Your help will be appreciated.
Regards
Subhash
ERROR
{org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImp
l} - A path is not associated with the artifact.
{org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImp
l}
TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,051] ERROR
{org.wso2.carbon.governance.api.util.GovernanceUtils} - Error in
retrieving governance artifact by path. path:
/trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.
{org.wso2.carbon.governance.api.util.GovernanceUtils}
org.wso2.carbon.governance.api.exception.GovernanceException: A path is
not associated with the artifact.
at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl
.checkRegistryResourceAssociation(GovernanceArtifactImpl.java:617)
at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.loadWsdlDetail
s(WsdlImpl.java:244)
at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.<init>(WsdlImp
l.java:67)
at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:701)
at
org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager
.java:401)
at
org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(Filt
erWSDL.java:51)
at
org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTena
ntArtifactCache(ArtifactPopulator.java:56)
at
org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchT
ask.java:70)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJ
obAdapter.java:71)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java
:557)
TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,052] ERROR
{org.wso2.carbon.governance.list.util.task.PreFetchTask} - Error
occurred while populating the cache
{org.wso2.carbon.governance.list.util.task.PreFetchTask}
org.wso2.carbon.governance.api.exception.GovernanceException: Error in
retrieving governance artifact by path. path:
/trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.
at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:807)
at
org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager
.java:401)
at
org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(Filt
erWSDL.java:51)
at
org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTena
ntArtifactCache(ArtifactPopulator.java:56)
at
org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchT
ask.java:70)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJ
obAdapter.java:71)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java
:557)
Caused by: org.wso2.carbon.governance.api.exception.GovernanceException:
A path is not associated with the artifact.
at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl
.checkRegistryResourceAssociation(GovernanceArtifactImpl.java:617)
at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.loadWsdlDetail
s(WsdlImpl.java:244)
at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.<init>(WsdlImp
l.java:67)
at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:701)
... 7 more
From: Ajith Vitharana [mailto:[email protected]]
Sent: Monday, September 03, 2012 12:19 PM
To: Senaka Fernando
Cc: Padala, Subhash; [email protected]
Subject: Re: [Dev] maven plugin for G-Reg
On Fri, Aug 31, 2012 at 9:33 PM, Senaka Fernando <[email protected]>
wrote:
Hi Subash,
Yes, but only in 4.5.0. And, the docs should explain how to achieve this
(search for SCM) too.
Hi Ajith,
Do we have any preview builds in a publicly accessible location.
Please find the latest packs at [1]. (Non-released version)
[1]https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-09-03
Thanks
Ajith
________________________________________________________
This e-mail is confidential and intended solely for the use of the
individual(s) to whom it is addressed. If you are not the intended recipient,
be advised that you have received this e-mail in error and that any use,
dissemination, forwarding, printing, copying of, or any action taken in
reliance upon it, is strictly prohibited and may be illegal.
Catlin Underwriting Agencies Limited and Catlin Insurance Company (UK) Ltd. are
authorised and regulated by the Financial Services Authority.
The registered office of Catlin Underwriting Agencies Limited (incorporated and
registered in England and Wales with company number 1815126) and Catlin
Insurance Company (UK) Ltd. (incorporated and registered in England and Wales
with company number 5328622) is 20 Gracechurch Street, London, EC3V 0BG.
Catlin Risk Solutions Limited is an Appointed Representative of Catlin
Underwriting Agencies Limited.
_______________________________________________________________________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev