...
CL-runtime Rest Api supports **application/json**, **application/yaml** and **text/plain** Media Media Types. The configuration is implemented in CoderHttpMesageConverter.
...
JSON format is a standard for Rest Api. For the conversion from JSON to Object and vice-versa will be used **org.onap.policy.common.utils.coder.StandardCoder**.
application/yaml
YAML format is a standard for Control Loop Type Definition. For the conversion from YAML to Object and vice-versa will be used **org.onap.policy.common.utils.coder.StandardYamlCoder**.
text/plain
Text format is used by Prometheus. For the conversion from Object to String will be used **StringHttpMessageConverter**.
Note |
---|
This page is Work in Progress |
...