Class CODAController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.CODAController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class CODAController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setRemoteProvisioningEnabledPublished
(boolean enable) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
validatePearlPublished
(String pearlCode, boolean rulesShouldExists)
-
Constructor Details
-
CODAController
public CODAController()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
setRemoteProvisioningEnabledPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/setRemoteProvisioningEnabled", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setRemoteProvisioningEnabledPublished(@RequestParam("enable") boolean enable) throws IOException - Throws:
IOException
-
listConverterContractsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/listConverterContracts", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> listConverterContractsPublished() -
isRemoteProvisioningEnabledPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/isRemoteProvisioningEnabled", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Boolean>> isRemoteProvisioningEnabledPublished() throws IOException- Throws:
IOException
-
validatePearlPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/CODA/validatePearl", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> validatePearlPublished(@RequestParam("pearlCode") String pearlCode, @RequestParam(value="rulesShouldExists",required=false,defaultValue="true") boolean rulesShouldExists)
-