com.cedarsoftware.ncube.rules.RulesController.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of n-cube Show documentation
Show all versions of n-cube Show documentation
Multi-dimensional Rule Engine
package com.cedarsoftware.ncube.rules
import com.cedarsoftware.ncube.ApplicationID
import com.cedarsoftware.ncube.NCube
import groovy.transform.CompileStatic
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.RestController
import static com.cedarsoftware.ncube.NCubeAppContext.getNcubeRuntime
import static com.cedarsoftware.ncube.NCubeConstants._OR_
import static org.springframework.http.HttpStatus.OK
@RestController
@CompileStatic
class RulesController
{
private final RulesConfiguration rulesConfiguration
RulesController(RulesConfiguration rulesConfiguration)
{
this.rulesConfiguration = rulesConfiguration
}
@GetMapping(path = ['ui/rulesInfo'])
ResponseEntity
© 2015 - 2024 Weber Informatics LLC | Privacy Policy