...
This sample demonstrates the use of custom data source feature in DSS. It uses custom datasource org.wso2.carbon.dataservices.core.custom.datasource.InMemoryDataSource which uses the interface org.wso2.carbon.dataservices.core.custom.datasource.TabularDataBasedDS and org.wso2.carbon.dataservices.core.custom.datasource.EchoDataSource which uses org.wso2.carbon.dataservices.core.custom.datasource.CustomQueryBasedDS.
Building the sample
The sample data service InMemoryDSSample should be deployed using the instructions in Samples Setup section.
...
The sample service can be run using the TryIt tool, which is bundled with the WSO2 Data Services Server, or a code-generated java client sample as discussed in the Data Services Clients section.
Service description
The service contains the following operations:
- "addVehicle": This operation adds a new vehicle to the datasource.
...