Skip to content

Commit

Permalink
Merge pull request #8746 from PasanT9/gw-run-430
Browse files Browse the repository at this point in the history
[4.3.0] Update Gateway runtime artifact configs
  • Loading branch information
ashera96 authored Nov 8, 2024
2 parents 2b98adb + 141b4b5 commit ac72662
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2 deletions.
62 changes: 61 additions & 1 deletion en/docs/reference/config-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,10 @@ https_endpoint = "https://localhost:${https.nio.port}"</code></pre>
<div class="superfences-content">
<div class="mb-config-example">
<pre><code class="toml">[apim.sync_runtime_artifacts.gateway]
gateway_labels = ["Default"]</code></pre>
gateway_labels = ["Default"]
deployment_retry_duration = 15000
max_retry_count = 5
retry_progression_factor = 2.0</code></pre>
</div>
</div>
<div class="doc-wrapper">
Expand Down Expand Up @@ -1558,6 +1561,63 @@ gateway_labels = ["Default"]</code></pre>
<p>Array of the labels that the gateway is going to subscribe to</p>
</div>
</div>
</div><div class="param">
<div class="param-name">
<span class="param-name-wrap"> <code>deployment_retry_duration</code> </span>
</div>
<div class="param-info">
<div>
<p>
<span class="param-type string"> int </span>

</p>
<div class="param-default">
<span class="param-default-value">Default: <code>15000</code></span>
</div>

</div>
<div class="param-description">
<p>The initial duration in milliseconds to wait before retrying a failed deployment</p>
</div>
</div>
</div><div class="param">
<div class="param-name">
<span class="param-name-wrap"> <code>max_retry_count</code> </span>
</div>
<div class="param-info">
<div>
<p>
<span class="param-type string"> int </span>

</p>
<div class="param-default">
<span class="param-default-value">Default: <code>5</code></span>
</div>

</div>
<div class="param-description">
<p>The maximum number of retry attempts for deploying artifacts in case of failures.</p>
</div>
</div>
</div><div class="param">
<div class="param-name">
<span class="param-name-wrap"> <code>retry_progression_factor</code> </span>
</div>
<div class="param-info">
<div>
<p>
<span class="param-type string"> float </span>

</p>
<div class="param-default">
<span class="param-default-value">Default: <code>2.0</code></span>
</div>

</div>
<div class="param-description">
<p>The factor by which the retry duration increases after each failed deployment attempt.</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[apim.sync_runtime_artifacts.gateway]
gateway_labels = ["Default"]
gateway_labels = ["Default"]
deployment_retry_duration = 15000
max_retry_count = 5
retry_progression_factor = 2.0
24 changes: 24 additions & 0 deletions en/tools/config-catalog-generator/data/configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,30 @@
"Default"
],
"description": "Array of the labels that the gateway is going to subscribe to"
},
{
"name": "deployment_retry_duration",
"type": "int",
"required": false,
"default": "15000",
"possible": "",
"description": "The initial duration in milliseconds to wait before retrying a failed deployment"
},
{
"name": "max_retry_count",
"type": "int",
"required": false,
"default": "5",
"possible": "",
"description": "The maximum number of retry attempts for deploying artifacts in case of failures."
},
{
"name": "retry_progression_factor",
"type": "float",
"required": false,
"default": "2.0",
"possible": "",
"description": "The factor by which the retry duration increases after each failed deployment attempt."
}
]
}
Expand Down

0 comments on commit ac72662

Please sign in to comment.