This sample demonstrates the use of custom datasources in a data service, using WSO2 DSSEI. Table of Contents maxLevel 3 minLevel 3
...
- org.wso2.carbon.dataservices.core.custom.datasource.InMemoryDataSource (custom tabular datasource) implemented using the org.wso2.carbon.dataservices.core.custom.datasource.TabularDataBasedDS interface.
- org.wso2.carbon.dataservices.core.custom.datasource.EchoDataSource(custom query datasource) implemented using the org.wso2.carbon.dataservices.core.custom.datasource.CustomQueryBasedDS interface.
...
- .
Building the sample
The sample data service InMemoryDSSample should be deployed using the instructions in Samples Setup section.
Running the sample
The sample service can be run using the TryIt tool, which is bundled with the WSO2 Data Services ServerEI, or a code-generated java client sample as discussed in the Data Services Clients section.
Follow the steps below to demonstrate this functionality using the TryIt tool:
...