Is it possible to upload artifacts in a specific folder structure like :/common/schemas/sample/
For instance allow an xsd that is uploaded to conform to a specific location for when it is downloaded and used in a different project it can follow the same folder naming and location standard.
For instance I want sample.xsd to be available under:
common/schemas/sample/sample.xsd
I want this xsd to be downloaded in this structure by default without having to create this.Thanks.
I hope you are using WSO2 Governance Registry 5.x release. There you can change the artifact storage patch using the RXT configuration. More information can be found via "Customizing the Storage Path for Configurable Governance Artifacts" doc.
Related
I have published my project .jar to artifact registry. I'm not sure how to refer to it, to use as a dependency in another project (with gradle). Thank you in advance.
As described in this page, you have to register your project through this form and then to configurer your Gradle repositories as described
Is it possible to provide path attribute as an http/https url link from where we download the respective precompiled jar/war in cloudfoundry manifest and how?
The "path" flag and manifest attributes only take a local filepath.
The V3 CC API has been designed in a way to be open to future enhancements like a accepting a remote file path (so CC could download the app directly from there, as opposed to the indirect way of the work-around suggested in the comment to download it locally first and then have it uploaded again), but I don't believe there is any timeline for such feature yet.
In sitecore 8. when I publish my VS solution. I get an error like license key not found. while I have placed the license key of sitecore and of active commerce at proper folder i.e sandbox/data.Need help. Any suggestion?
I have seen this occur when the VS solution has the Web.config with the default /data value (or a hard-coded value) that is not valid for the local installation. If you used the Sitecore installer, it often updates the Web.config with the value for the Data folder that is applicable to that local installation.
Instead, you should be using a patch include to specify the data folder. Sitecore Instance Manager will do this for you when you use it to install.
In this way, the proper data folder for your installation will be preserved no matter how many times you deploy.
I have created few proxies, sequences and endpoints in wso2 esb in my system. I want to transfer these proxies, sequences and endpoints to another esb hosted at server. How to do this successfully?
Looking forward to your answers. Thanks in advance.
Lets say you have your first ESB located at ESB01_HOME directory and it contains all your defined proxy services, endpoints and other configurations. Now you took another fresh copy of the WSO2 ESB and extract that to a folder called ESB02_HOME.
You can copy the configuration files which were stored in ESB01_HOME/repository/deployment/server/synapse-configs/default (entire folder) in to the same directory in the ESB02 (ESB02_HOME/repository/deployment/server/synapse-configs/default). Now you can start the ESB02 and you can observe that all the configurations are installed in the ESB02.
If you are starting both the servers (ESB01 and ESB02), then you need to change the Offset parameter of the ESB02 carbon.xml configuration file which is located in the (ESB02_HOME/repository/conf/carbon.xml)
If you are copying the configurations from an older version of WSO2 ESB (3.x.x) then these configurations are located at ESB01_HOME/repository/conf/synapse-configs folder.
If both are in a clustered setup you can use deployment synchronizer/registry based synchronizer..If both are separate instances, copy the synapse-config folder(inside that, you can find proxy/seq/endpoint folders) to another home directpry
you can use the checkin-client tool inside the GREG.
With this tool you can move information from registry in ESB1 to registry in ESB2. information like dynamic sequences and endpoints for example.
I am trying to upload a carbon archive in the registry. Everything seems to be OK when I add a new application, but the log show the following error:
An error occurred while determining the latest version of the resource at the given path:
/_system/governance/trunk/wsdls/.... (path to the wsld deployed)
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: -1
I log with the admin user and everything that should be upload is in the registry.
Any help?
Thanks,
I tried to reproduce this with WSO2 G-Reg 4.1.1 but unable to reproduce it.
Please indicate the G-Reg version you have tried out this scenario.
When you upload the CAR file from Management Console, make sure to remove the previous version of the same CAR file before you upload the newer version.
This error seems to be related versioning.
Since you remove the previous version of the CAR file, the aforementioned suggestion will solve your problem.
Thanks and Regards,
Harshana
WSDLs are stored in the /_system/governance/../trunk/wsdl/.. location if you upload them via management console or upload the resource from Developer Studio Registry Browser.
But when you deploy a WSDL via a C-App, when creating the registry resource from Developer Studio, you specify a location to deploy. Hence the WSDLs deployed via C-Apps are deployed to this specified location but not the other location.
Therefore from your proxy service, you should refer the location you have mentioned to deploy your WSDL but not the default location.
Once you fix this, your Proxy service will work fine.
Thanks and Regards,
Harshana