Skip to content

Commit

Permalink
Add Config Values to modify the read only property for governance and…
Browse files Browse the repository at this point in the history
… config registry. (Since the 'overwrite' config had a separate usecase, adding a new config called 'readonly')
  • Loading branch information
RusJaI committed Aug 18, 2024
1 parent eda491e commit 5c96844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@
"apim.auth_manager.service_url" : "https://localhost:${mgt.transport.https.port}${carbon.context}services/",
"config_data.overwrite": "true",
"governance_data.overwrite": "true",
"config_data.readonly": "false",
"governance_data.readonly": "false",
"static_configuration.versioning_properties.enable": false,
"static_configuration.versioning_comments.enable": false,
"static_configuration.versioning_tags.enable": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<id>gov</id>
<cacheId>{{governance_data.cache_id}}</cacheId>
<dbConfig>govregistry</dbConfig>
<readOnly>{{!governance_data.overwrite}}</readOnly>
<readOnly>{{governance_data.readonly}}</readOnly>
<enableCache>{{governance_data.enable_cache}}</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
Expand All @@ -53,7 +53,7 @@
<id>conf</id>
<cacheId>{{config_data.cache_id}}</cacheId>
<dbConfig>configregistry</dbConfig>
<readOnly>{{!config_data.overwrite}}</readOnly>
<readOnly>{{config_data.readonly}}</readOnly>
<enableCache>{{config_data.enable_cache}}</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
Expand Down

0 comments on commit 5c96844

Please sign in to comment.