Class DataProviderAPI
- java.lang.Object
-
- org.wso2.carbon.data.provider.internal.DataProviderAPI
-
- All Implemented Interfaces:
org.wso2.msf4j.Microservice
public class DataProviderAPI extends Object implements org.wso2.msf4j.Microservice
Data provider api service component.
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_CONTEXT_PATH
-
Constructor Summary
Constructors Constructor Description DataProviderAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedataProviderConfig(String providerName)javax.ws.rs.core.ResponsedataProviderList()javax.ws.rs.core.ResponsevalidateProviderConfig(com.google.gson.JsonElement dataProviderConfig, String providerName)
-
-
-
Field Detail
-
API_CONTEXT_PATH
public static final String API_CONTEXT_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
dataProviderList
@GET @Path("/list") @Produces("application/json") public javax.ws.rs.core.Response dataProviderList()
-
dataProviderConfig
@GET @Path("/{providerName}/config") @Produces("application/json") public javax.ws.rs.core.Response dataProviderConfig(@PathParam("providerName") String providerName)
-
validateProviderConfig
@POST @Path("/{providerName}/validate") @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response validateProviderConfig(com.google.gson.JsonElement dataProviderConfig, @PathParam("providerName") String providerName)
-
-