Reputation: 71
I've created a Registry Resources Project on Developer Studio (WSO2) with my WSDLs, transformations and XSDs.
I'd like to upload the .CAR file (exported by this Registry Resources Project) on my ESB Registry. How can I do it?
I'm not using Governance Registry.
Upvotes: 1
Views: 814
Reputation: 317
Hope [1] will help you. It consists all the steps need for develop and deploy registry resources to esb using wso2 developer studio.
First create a registry resource project in developer studio and add your registry resources. Save your registry resource project and create a new composite application project. Add your previous registry resource project to it as a dependency along with your other esb artifact, connector exporter projects.
Make sure to change the registry role to the “EnterpriseServiceBus”. You can change the serve role by editing the POM file of the Carbon Application
Save the Editor and Export the C-App and generate the CAR file. Then you can upload the CAR file to your esb server instance.
Upvotes: -1
Reputation: 1146
The registry resources project and the ESB Config project should be bundled together in one Composite Application Project. Then the .car file is exported on your hard drive, anywhere you find appropriate. Then, opening the console management in the Browser, find Carbon Application -> Add, select your .car file and click on Upload.
Refresh the Carbon Application->List page until you see your project. If, by any chance, it is faulty, you would see a red sentence - you can click on it, see the error messages (part of them, at least) and remove it.
Here you can see a short explanation about uploading the .car file into your ESB.
When you click on the Application from the Carbon Applications list, you can see whether there are any registry resources uploaded as well:
Upvotes: 1
Reputation: 579
You need to change the registry role to the "EnterpriseServiceBus". You can change the serve role by editing the POM file of the Carbon Application.
Open the pom.xml file of the C-App project with "Carbon Application Pom Editor". If you haven't installed Eclipse M2E in your Eclipse, pom.xml will open by default with that editor. Otherwise use "Open With" option and select the "Carbon Application Pom Editor". You will see the set of C-App artifacts in your workspace in this editor and you will see the Server Role field in the editor. Expand the name of the Registry Resource Editor and click on the drop down list in Server Role and select EnterpriseServiceBus from the list. Save the Editor and Export the C-App and generate the CAR file.
Upvotes: 4