Skip to content

Commit 256b409

Browse files
authored
JE-68731 [Cloud Scripting] submitUnchanged":"true - doc update (#224)
* JE-68731 [Cloud Scripting] submitUnchanged":"true - doc update * JE-69690 link fixes * example links escaping
1 parent 0b7ecd6 commit 256b409

File tree

5 files changed

+12
-25
lines changed

5 files changed

+12
-25
lines changed

docs/creating-manifest/actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ cmd [nginx]:
246246

247247
### api
248248

249-
Executing actions available by means of [Virtuozzo Application Platform Cloud API](http://docs.jelastic.com/api).
249+
Executing actions available by means of [Virtuozzo Application Platform Cloud API](https://docs.jelastic.com/api/).
250250

251251
There are a number of parameters required by Virtuozzo Application Platform API that are defined automatically:
252252

@@ -1423,7 +1423,7 @@ The `script` action provides an ability to execute Virtuozzo Application Platfor
14231423
There are [ready-to-go solutions](/samples/#complex-ready-to-go-solutions) certified by Virtuozzo Application Platform team.
14241424

14251425
!!! note
1426-
Learn more about using <a href="http://docs.jelastic.com/api" target="_blank">Virtuozzo Application Platform Cloud API</a>.
1426+
Learn more about using <a href="https://docs.jelastic.com/api/" target="_blank">Virtuozzo Application Platform Cloud API</a>.
14271427

14281428
### setGlobals
14291429

docs/creating-manifest/basic-configs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,15 +374,15 @@ The *startService* flag works only for custom dockers and for dockerized templat
374374

375375
The service doesn’t start as it is not added to autoload in the following cases:
376376

377-
- the [RestartContainersByGroup](http://apidoc.devapps.jelastic.com/5.4-private/#!/api/environment.Control-method-RestartContainersByGroup) or [RestartContainer](http://apidoc.devapps.jelastic.com/5.4-private/#!/api/environment.Control-method-RestartContainer) methods are called through the API
377+
- the [RestartNodes](https://docs.jelastic.com/api/#!/api/environment.Control-method-RestartNodes) method is called through the API
378378

379379
- the environment is stopped/started
380380

381381
- the environment is cloned
382382

383383
- the environment is created with *startServiceOnCreation=false*
384384

385-
- the Restart button is pressed at the dashboard calling the [RestartContainersByGroup](http://apidoc.devapps.jelastic.com/5.4-private/#!/api/environment.Control-method-RestartContainersByGroup) and [RestartContainer](http://apidoc.devapps.jelastic.com/5.4-private/#!/api/environment.Control-method-RestartContainer) API methods (only for managed dockerized containers)
385+
- the Restart button is pressed at the dashboard calling the [RestartNodes](https://docs.jelastic.com/api/#!/api/environment.Control-method-RestartNodes) API method (only for managed dockerized containers)
386386

387387

388388
You can force adding the service to autoload by calling the *ExecDockerRunCmd* method
@@ -394,7 +394,7 @@ The service starts if:
394394

395395
- the container is scaled (starts at the newly added nodes)
396396

397-
- the Restart button is pressed at the dashboard calling the [RestartNodesByGroup](http://apidoc.devapps.jelastic.com/5.4-private/#!/api/environment.Control-method-RestartNodesByGroup) and [RestartNodeById](http://apidoc.devapps.jelastic.com/5.4-private/#!/api/environment.Control-method-RestartNodeById) API methods (only for native Docker containers)
397+
- the Restart button is pressed at the dashboard calling the [RestartNodes](https://docs.jelastic.com/api/#!/api/environment.Control-method-RestartNodes) API method (only for native Docker containers)
398398

399399
<!-- end of startService section -->
400400

@@ -1338,7 +1338,7 @@ success: text.txt
13381338
```
13391339
@@!
13401340

1341-
In the example above the text *text.txt* will be displayed in success email notification and in success window in Virtuozzo Application Platform dashboard when JPS installation will be finished. If URL **https://example.com/text.txt** has any content then that content will be displayed.
1341+
In the example above the text *text.txt* will be displayed in success email notification and in success window in Virtuozzo Application Platform dashboard when JPS installation will be finished. If URL `https://example.com/text.txt` has any content then that content will be displayed.
13421342

13431343
The Cloud Scripting engine also supports a `${baseUrl}` placeholder. It can be used throughout the users’ customs scripts (within the <a href="../actions/#cmd" target="_blank">*cmd*</a> and <a href="../actions/#script" target="_blank">*script*</a> actions).
13441344

docs/creating-manifest/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ The event is executed after swapping the external domain names between two envir
17181718
- `result` - result code. The successful action result is '0'
17191719

17201720
### onBeforeSwapExtIps
1721-
The event is executed before swapping the external IPs between two environments via [API](https://docs.jelastic.com/api/#!/api/environment.Binder-method-SwapExtIps) or [Jelastic CLI](https://docs.jelastic.com/cli-ip-swap).
1721+
The event is executed before swapping the external IPs between two environments via [API](https://docs.jelastic.com/api/#!/api/environment.Binder-method-SwapExtIps) or [Virtuozzo Application Platform CLI](https://www.virtuozzo.com/application-platform-docs/cli-ip-swap/).
17221722

17231723
**Event Placeholders:**
17241724

@@ -1734,7 +1734,7 @@ The event is executed before swapping the external IPs between two environments
17341734
- `source` - “string” error description
17351735

17361736
### onAfterSwapExtIps
1737-
The event is executed after swapping the external IPs between two environments via [API](https://docs.jelastic.com/api/#!/api/environment.Binder-method-SwapExtIps) or [Jelastic CLI](https://docs.jelastic.com/cli-ip-swap).
1737+
The event is executed after swapping the external IPs between two environments via [API](https://docs.jelastic.com/api/#!/api/environment.Binder-method-SwapExtIps) or [Virtuozzo Application Platform CLI](https://www.virtuozzo.com/application-platform-docs/cli-ip-swap/).
17381738

17391739
**Event Placeholders:**
17401740

docs/creating-manifest/visual-settings.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ You can use the parameters from the following example to fetch your input data.
2121
```yaml
2222
settings:
2323
prepopulate: URL
24+
submitUnchanged: boolean
2425
fields:
2526
- showIf: object
2627
type: string
@@ -45,6 +46,7 @@ settings:
4546
{
4647
"settings": {
4748
"prepopulate": "URL",
49+
"submitUnchanged": "boolean",
4850
"fields": [
4951
{
5052
"showIf": "object",
@@ -74,6 +76,7 @@ settings:
7476
where:
7577

7678
- `prepopulate` *[optional]* - link to a script, that will fetch default field values
79+
- `submitUnchanged` *[optional]* - allows (*true*) or forbids (*false*) the user to submit via the add-on’s input fields the same values as were provided the previous time. Default value is *'false'*
7780
- `fields` - array of fields that will be displayed in a custom form
7881
- `showIf` - shows/hides field by condition
7982
- `type` *[optional]* - input field type. The default value is *'string'*. Possible values:
@@ -3114,7 +3117,7 @@ Style 1 | Style 2
31143117
\# Heading 1 | Heading 1<br>\=\=\=\=\=\=\=\=\= | <h1 class='default'>Heading 1</h1>
31153118
\#\# Heading 2 | Heading 2<br>\-\-\-\-\-\-\-\-\-\-\-\- | <h2 class='default'>Heading 2</h2>
31163119
\[Link](https://virtuozzo.com) | [Link][1]<br>.<br>.<br>.<br>[1]: https://virtuozzo.com |[virtuozzo.com URL](https://virtuozzo.com)
3117-
\!\[Image](https://example.com/logo.png)| ![Image][1]<br>.<br>.<br>.<br>[1]: https://example.com/logo.png |![Image](https://jelastic.com/wp-content/themes/salient/assets/img/logo.png)
3120+
\!\[Image](https:<span>//</span>example.com/logo.png)| ![Image][1]<br>.<br>.<br>.<br>[1]: https:<span>//</span>example.com/logo.png |![Image](/img/favicon.ico)
31183121
\> Blockquote | |![blockquote](/img/markdown_blockquote.jpg) Blockquote
31193122
A paragraph.<br> <br>A paragraph after 1 blank line.| |A paragraph.<br><br>A paragraph after 1 blank line.
31203123
\* List<br>\* List| \- List<br>\- List |* List<br>* List

docs/samples.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,6 @@
112112
Add-on for advanced application security with automated firewall rules tuning
113113
</td>
114114
</tr>
115-
<tr>
116-
<td id="first-col">
117-
<a target="_blank" href="https://github.com/jelastic-jps/payara/tree/master/addons/haproxy-load-balancing">Managed Haproxy Load Balancer</a>
118-
</td>
119-
<td>
120-
Add-on to complement environment with auto-configured Docker Haproxy LB container
121-
</td>
122-
</tr>
123115
<tr>
124116
<td id="first-col">
125117
<a target="_blank" href="https://github.com/jelastic-jps/managecat">Managecat</a>
@@ -159,14 +151,6 @@
159151
Highly available GlassFish cluster on Docker containers with scalable Worker Nodes amount
160152
</td>
161153
</tr>
162-
<tr>
163-
<td id="first-col">
164-
<a target="_blank" href="https://github.com/jelastic-jps/payara">Payara Micro Cluster</a>
165-
</td>
166-
<td>
167-
Java-based app server cluster with autoscaling and session replication
168-
</td>
169-
</tr>
170154
<tr>
171155
<td id="first-col">
172156
<a target="_blank" href="https://github.com/jelastic-jps/git-push-deploy">CI from Git Repo</a>

0 commit comments

Comments
 (0)