Skip to content

[APIM 4.5.0] Missing J2 template configurations in TM distribution #4935

@nadeepoornima

Description

@nadeepoornima

Description

The following J2 entries are missing in the registry.xml.j2 file of the TM distribution.

    <remoteInstance url="https://{{server.hostname}}">
        <id>gov</id>
        <cacheId>{{governance_data.cache_id}}</cacheId>
        <dbConfig>govregistry</dbConfig>
        <readOnly>false</readOnly>
        <enableCache>{{governance_data.enable_cache}}</enableCache>
        <registryRoot>/</registryRoot>
    </remoteInstance>

    <remoteInstance url="https://{{server.hostname}}">
        <id>conf</id>
        <cacheId>{{config_data.cache_id}}</cacheId>
        <dbConfig>configregistry</dbConfig>
        <readOnly>false</readOnly>
        <enableCache>{{config_data.enable_cache}}</enableCache>
        <registryRoot>/</registryRoot>
    </remoteInstance>

Therefore, the following configuration cannot be applied via the TOML file to prevent registry overwriting.

[config_data]
overwrite = false

[governance_data]
overwrite = false

Steps to Reproduce

  • Get the APIM 4.5.0 TM profile
  • Put the below config in the toml file
[config_data]
overwrite = false

[governance_data]
overwrite = false
  • Restart the server and verify that the "registry.xml" file change doesn't reflect

Version

APIM 4.5.0

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions