WSO DSS 3.5.0 Quality of Service Configuration Panel empty - wso2

Kinda new to WSO products. Installed WSO DSS 3.5.0 and created a simple test data service following all the instructions on WSO documentation. it is working fine except I can not find out how to implement the security for data service as mentioned in the documentation :
https://docs.wso2.com/display/DSS350/Filtering+Content+to+Specific+User+Roles
The problem is that Quality Of Service Configuration Panel is empty in my web console and no menu exists there for security or anything else except the edit data service menu as you can see :
Spending a full day reading docs searching googling etc for the solution I have not found any..
Anyone else facing this same issue? should I activate it in features somehow or is there another product needed to be installed together with DSS for this to work?

WSO2 DSS 3.5.0 is carbon kernel 4.4.x based product. From kernel 4.4.x on wards QoS features are removed from the kernel.
You have to use WSO2 Developer Studio to implemnet QoS for the requirement.

Related

WSO2 Application server Security option

I'm trying to build an application with a WSO2 Application server and Identity server.
the soap server which is based on Axis2 Framework needs to have WS-Trust based Authentication. For learning, I'm following this blog http://www.vitharana.org/2015/01/how-ws-trust-sts-works-in-wso2-identity.html
At the 14th steps, I have to click on security but In latest WSO2 Application server I'm not able to find how to enable the Security feature.
I'm using 5.3.0 Version of Application Server
As you can see there is no link on Unsecured for HelloWorld Service.
I'm I missing anything?
All the WSO2 products based on carbon kernel 4.4.x doesn't contain QoS features. WSO2 AS 5.3.0 is based on kernel version 4.4.x and therefore it is not supported. You can use WSO2 Developer Studio in order to apply QoS features

Accessing WSO2 BPS and ESB registry from code

I am trying to access the registry of WSO2 BPS and WSO2 ESB from Java in order to automatically fill the registry based on the data I provide.
I have already found a number of resources about the required Java code and dependencies, this being the most helpful one: [WSO2 Governance Registry]Using WSRegistryServiceClient. However, the approach described in these resources depends on the WSRegistryService service. This service is included in Governance Registry by default, but not in the other WSO2 products. I have verified that my code works for the Governance Registry. For any other WSO2 product on my machine, I get this error:
The service cannot be found for the endpoint reference (EPR) https://localhost:9445/services/WSRegistryService
I found an old thread suggesting that it should be possible to install the WSRegistryService on other WSO2 products as well, but I have not been able to find out how to do so. I can't seem to find it within the features I can install from the web console of the products. I have also tried manually copying the relevant jar from the plugins directory of Governance Registry into the plugins directory of other products, but that doesn't seem to be sufficient.
Note that my application for filling the registry will not be running on the carbon server whose registry I want to access, so using CarbonContext.getThreadLocalCarbonContext() (an approach I found in some other articles) is not an option.
I think your referring to how to install features to WSO2 products,
Please find this documentation.

wso2 retail bank example app - add server inside Eclipse?

I'm trying to follow the wso2 retail banking sample, as outlined at http://docs.wso2.org/display/DVS310/Retail+Banking+Sample
I've got to the stage 'Deploy the Carbon Application Project into the WSO2 App Server' and I don't understand how to create a server.
When I follow the instructions then in Eclipse I get a 'New Server' form appear. If I enter the WSO2 App Server folder address into 'Carbon home' text box then a warning error appears at the top of the form:
Missing classpath entry C:\jlibs\wso2\wso2as-5.2.0\lib\api
Am I supposed to setup class path entries for each of the WSO2 server products? The 'next' and 'Finish' buttons are disabled.
Any suggestions?
You encounter this error when you select the incorrect Carbon Server family from the list of Servers in the Dev Studio servers view. If you are running App Server 5.2.0, you need to select either WSO2 Carbon 4.2 based Server (only available in Dev Studio 3.5.0) or WSO2 Carbon 4.0 based Server in older Dev Studio versions.
Please follow the instructions in 1 on how to add a Carbon Server to Developer Studio.
Also please find the webinar conducted on the same scenario from 2. It will help you to solve all the other issues you encounter.
1. http://docs.wso2.org/display/DVS320/Deploying+and+Debugging#DeployingandDebugging-DeployingaC-ApptoarunningserverinsideEclipse
2. http://wso2.com/library/webinars/2012/05/enterprise-use-case-application-development-using-wso2-developer-studio/
Thanks and Regards,
Harshana

confused with the relationship between WSO2's products

After study WSO2 products, seems I got the following concepts, all of them are only my understanding, I don't know whether is correct or not, please advice:
All the products are running in Carbon which is a 'container' of the wso2 products, something like JSP like stuffs running in tomcat. am I right?
if No.1 is correct, so 'Enterprise Service Bus', 'Identity Server', 'Data Service Server', 'Governance Reistry' etc are all running in Carbon Server, actually I downloaded all the products, and I found they are all released with carbon together, which mean I can use command to start the management console directly, and each of them can running themselves, they have there own management console. right?
after I read Carbon user guide, it says 'all the products of wso2 are the components of Carbon', so I think 'Enterprise Service Bus', 'Identity Server', 'Data Service Server', 'Governance Reistry' can be put into one management console, which mean they can be integrated together, after I started Carbon server, all the features are running together?
I'm sorry ask such kind a stupid question, but after read many articles I still cant find out the structure between them, please advice, thanks in advance.
WSO2 middleware products come with a bunch of components. These are based on Java OSGi. So every product comes with a set of OSGi bundles (in OSGi terminology). Carbon is a core framework that's common to every product. This is again a bunch of OSGi components. Carbon core (which is also reffered to as just Carbon) contains a set of must have bundles. Logging, clustering, security etc... Carbon is a separate download also which you can run. Running carbon itself by its own is not very interesting unless you're doing something specific and you know what you're doing.
Now, coming back to the products .. each product have carbon core plus some more OSGi components. These additional components reflect product specific functionality. For example if you take the ESB, it's carbon core plus additional components that makes it an "ESB". Likewise for other products.
You can take the carbon server and install all these additional features. Feature installation is done via the same technology Eclipse is using to install plugins. Since everything is an OSGi bundle there has to be an OSGi container that all these run on. Carbon is running on top of Equinox OSGi container.
So Tomcat is also a separate OSGi bundle. You can install these components into any running carbon server and instantly add webapp hosting capability.
Yes. All WSO2 products are running inside WSO2 Carbon which is mainly a OSGi based framework.
Yes. A WSO2 Product (e.g., ESB) is a specialized Carbon framework. Management console is a part of Carbon where you can install external features to the product / uninstall existing features in the product to customize the product.
Yes theoretically. If the Carbon concept is correctly implemented in all the components of WSO2, they (ESB, IS, DSS as you said) should be installable in a single Carbon server without any problem using the WSO2 Feature Manager. But due to some dependency conflicts and version conflicts sometimes it may not be possible if you try to do it. But still you can resolve these OSGi conflicts in code level and make it possible to make them compatible, if you want.
Actually all the WSO2 products share the WSO2 components seamlessly among their products already. And in some instances we recommend to install multiple products in a single Carbon server. For example CEP feature is asked to be installed in BAM product when the user wants to use CEP as a realtime data processing solution with the BAM. For most other product combinations we have not yet tested well so the conflicts can occur. Thats why I said this theoretical.

WSO2 ESB - Adding databases through Admin Console Feature

I am new to WSO2 ESB and then I've started by following the initial steps described on WSO2 ESB product documentaion page. After the first samples succesfully run, I've got myself stuck trying to exercise the Database mechanism.
According to WSO2 ESB documentation - http://docs.wso2.org/wiki/display/ESB460/Databases - Admin Console feature must be installed to add a new database. So, I've tried to add that feature to my ESB installation by creating several repositories (http://dist.wso2.org/p2/carbon/releases/3.0.0 up to 4.0.5 and even the local version of 4.0.5 p2-repo.zip) , but after all I had no success in finding the Admin Console Feature, so no Database option for me. Even after adding the Datasources Feature, the Database option did not show up.
What am I missing here ? Is the documentation outdated ?
Thanks.
Otmar, That particular database provisioning feature that you are referring to as admin console feature was renamed to "rss manager". Please lookup for the feature with that name in the p2 feature repository.