Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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**.

...


Warning

This page is not updated for Istanbul, the information below this point may or may not be correct for Istanbul.

...