Known limitations

List of known limitations related to the YAML configuration.

3 minute read

Policy Studio

There is no support for YAML configurations in Policy Studio.

API Gateway Manager web UI

Deployment of YAML configurations via API Gateway Manager web UI is not supported.

Team development

  • Support of Team development using yamles import command, where you must import each project one at a time.
  • No explicit support for project dependencies.
  • No explicit support to look for merge conflicts. You must use _fragment.yaml directives to manage it.

For more information, see Team development with YAML configuration.

ES Explorer

Support of ES Explorer is limited to viewing and editing YAML configurations.

When an entity store is edited via ES Explorer or the entity store API, some fields in other entities might get reordered, creating more diffs than what was really modified.

Config fragment

  • You can convert an XML configuration fragment to YAML.
  • You can view and edit the YAML configuration fragment in ES Explorer.
  • It is not yet possible to import or export YAML configuration fragments in ES Explorer, this can only be done using the yamles CLI.

Import and export of environmentalized YAML configuration

When you import a YAML configuration fragment into a YAML configuration using yamles import, or when you export a YAML configuration fragment from a YAML configuration using yamles export, the environmentalization settings (for example, {{db.host}}) in entity YAML files are replaced with their resolved values if they can be resolved, or invalid field, if they cannot be resolved.

We do not recommend you to import into or export from a YAML configuration that uses environmentalization.

API Gateway group instance

An API Gateway instance cannot be added to a group when the group has a YAML configuration deployed to it.

Certificate

  • Private keys are in external files in DER format.
  • Certificates are in external files in PEM format. The PEM header and footer lines removed.

There is no support for either DER or PEM formats.

API Manager

The YAML format supports API Manager. However, is not possible to run setup-apimanager on an API Gateway instance that has a YAML configuration deployed to it. To workaround this limitation:

  1. Run setup-apimanager after deploying an XML federated configuration to your group.

  2. When API Manager is setup, you can create a new project in Policy Studio by downloading the current configuration from the running API Gateway.

  3. If the configuration is downloaded to ~/apiprojects/apimanager you can convert this XML federated configuration to YAML and build a .tar.gz as follows:

    yamles fed2yaml federated:file:/home/user/apiprojects/configs.xml -o ~/yamlconfig --targz ~/yamlconfig.tar.gz
    
  4. Deploy the yamlconfig.tar.gz to the API Manager enabled instance using managedomain or projdeploy.

Encrypt or change the passphrase of YAML configuration that contains API Manager configuration

When the default factory API Manager configuration is included in the YAML configuration it cannot be encrypted or re-encrypted. This issue occurs because some fields in the factory configuration do not adhere to the cardinality defined in the Entity Store model.

This issue occurs when the encrypt or change-passphrase options are used in the yamles CLI tool, or when the group passphrase is changed through the managedomain --change_passphrase command.

To workaround this, add values or a /null value, for the missing fields.

Node Manager

YAML configuration for Node manager is not supported.

API Gateway Analytics

YAML configuration for Analytics is not supported.

YAML factory configuration

A YAML factory configuration is not provided out-of-the-box, but it can be created by converting the XML federated factory configuration using yamles fed2yaml.

Deployment archive

You can update the deployment archive package properties by choosing option 22 of the managedomain script. For more information, see Updating Deployment Archive Properties.