Skip to content

Commit c3c231d

Browse files
author
Alexey Lazarenko
committed
JE-65236
1 parent b96af3f commit c3c231d

26 files changed

+200
-200
lines changed

3rdparty/mkdocs-versioned/mkdocs_versioned/cli.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _build(cfg, pathspec, branches, versions, site_dir=None):
4646
'extra': {
4747
'current_version': pathspec,
4848
'all_versions': branches,
49-
'all_jel_versions': versions,
49+
'all_virt_versions': versions,
5050
}
5151
}
5252

@@ -133,25 +133,25 @@ def build_command(config_file, strict, site_dir, branches, default_branch, lates
133133
versions = default_config.get("extra").get("versions")
134134

135135
formatedCSVersions = {}
136-
jelasticVersions = []
136+
virtuozzoVersions = []
137137

138138
for version in versions:
139139
formatedCSVersions[unicode(version)] = versions[version]
140140

141141
if formatedCSVersions is not None:
142142
release_branches = formatedCSVersions.keys()
143-
jelasticVersions = formatedCSVersions.values()
143+
virtuozzoVersions = formatedCSVersions.values()
144144

145145
if release_branches is not None:
146146
release_branches = sorted(release_branches, key=functools.cmp_to_key(version_compare))
147-
jelasticVersions = sorted(jelasticVersions, key=functools.cmp_to_key(version_compare))
147+
virtuozzoVersions = sorted(virtuozzoVersions, key=functools.cmp_to_key(version_compare))
148148

149149
default_version = next(iter(release_branches), None)# release_branches[-1]
150150

151151
print("Default version %s", default_version)
152152
print("Building %s to /", default_version)
153153

154-
_build(default_config, default_version, release_branches, jelasticVersions)
154+
_build(default_config, default_version, release_branches, virtuozzoVersions)
155155

156156
for branch in release_branches:
157157
if branch in all_branch_names: #branch != default_version and
@@ -166,7 +166,7 @@ def build_command(config_file, strict, site_dir, branches, default_branch, lates
166166
site_dir = "{0}".format(branch)
167167
log.info("Building %s to /%s", branch, "site/" + site_dir)
168168
print("Building %s to /%s", branch, "site/" + site_dir)
169-
_build(_load_config(config_file, strict, site_dir), branch, release_branches, jelasticVersions, "site/" + site_dir)
169+
_build(_load_config(config_file, strict, site_dir), branch, release_branches, virtuozzoVersions, "site/" + site_dir)
170170

171171
# print("Selected Branches %s", default_config.get("versions").get("releases"))
172172

docs/creating-manifest/actions.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Any container operation can be performed using a [*cmd*](#cmd) action. Moreover,
5151

5252
### cmd
5353

54-
The *cmd* action executes *[commands](https://docs.jelastic.com/ssh-overview)* in synchronous and asynchronous modes. Within one container the *cmd* actions can be performed in synchronous mode only. Within one environment *cmd* actions can be performed asynchronously in case similar actions are required to be executed on different nodeGroups.
54+
The *cmd* action executes *[commands](https://www.virtuozzo.com/application-platform-docs/ssh-gate/)* in synchronous and asynchronous modes. Within one container the *cmd* actions can be performed in synchronous mode only. Within one environment *cmd* actions can be performed asynchronously in case similar actions are required to be executed on different nodeGroups.
5555
<!--Available for all nodes.-->
5656

5757
**Example**
@@ -93,7 +93,7 @@ cmd [tomcat6]: curl -fsSL http://example.com/script.sh | /bin/bash -s arg1 arg2
9393
```
9494
@@!
9595

96-
The same action can be performed asynchronously on all nodes of specific *[nodeGroup](https://docs.jelastic.com/paas-components-definition#layer)* or several ones provided as the list: [cp, bl].
96+
The same action can be performed asynchronously on all nodes of specific *[nodeGroup](https://www.virtuozzo.com/application-platform-docs/paas-components-definition/#layer)* or several ones provided as the list: [cp, bl].
9797
@@@
9898
```yaml
9999
cmd [cp, bl]: curl -fsSL http://example.com/script.sh | /bin/bash -s arg1 arg2
@@ -246,9 +246,9 @@ cmd [nginx]:
246246

247247
### api
248248

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

251-
There are a number of parameters required by Jelastic API that are defined automatically:
251+
There are a number of parameters required by Virtuozzo PaaS API that are defined automatically:
252252

253253
- *envName* - environment domain name where the API method is executed
254254

@@ -269,20 +269,20 @@ All of the nodes keywords and/or Node IDs can be passed as a list within one `ap
269269
Restarting all compute nodes in the environment.
270270
@@@
271271
```yaml
272-
api [cp]: jelastic.environment.control.RestartNodes
272+
api [cp]: api.environment.control.RestartNodes
273273
```
274274
``` json
275275
{
276-
"api [cp]" : "jelastic.environment.control.RestartNodes"
276+
"api [cp]" : "api.environment.control.RestartNodes"
277277
}
278278
```
279279
@@!
280280
where:
281281

282282
- `api [cp]` - target node group for the API method execution (*[cp]*)
283-
- *jelastic.environment.control.RestartNodes* - Jelastic API method for restarting nodes by group
283+
- *api.environment.control.RestartNodes* - Virtuozzo PaaS API method for restarting nodes by group
284284

285-
This method (*jelastic.environment.control.RestartNodes*) can be simplified like shown in the next example.
285+
This method (*api.environment.control.RestartNodes*) can be simplified like shown in the next example.
286286
@@@
287287
```yaml
288288
api [cp]: environment.control.RestartNodes
@@ -344,12 +344,12 @@ onInstall:
344344
Below, you can find one more approach to specify a target node group for the API method execution.
345345
@@@
346346
```yaml
347-
api: jelastic.environment.control.RestartNodes,
347+
api: api.environment.control.RestartNodes,
348348
nodeGroup: cp
349349
```
350350
``` json
351351
{
352-
"api" : "jelastic.environment.control.RestartNodes",
352+
"api" : "api.environment.control.RestartNodes",
353353
"nodeGroup" : "cp"
354354
}
355355
```
@@ -838,8 +838,8 @@ where:
838838
- `extip` *[optional]* - attaching the external IP address to a container. The default value is *'false'*.
839839
- `fixedCloudlets` *[optional]* - number of reserved cloudlets. The default value is *'0'*.
840840
- `flexibleCloudlets` *[optional]* - number of dynamic cloudlets. The default value is *'1'*.
841-
- `displayName` *[optional]* - node's display name (i.e. <a href="https://docs.jelastic.com/environment-aliases" target="_blank">alias</a>)
842-
The following parameters are required for <a href="https://docs.jelastic.com/dockers-overview" target="_blank">Docker</a> containers only:
841+
- `displayName` *[optional]* - node's display name (i.e. <a href="https://www.virtuozzo.com/application-platform-docs/environment-aliases/" target="_blank">alias</a>)
842+
The following parameters are required for <a href="https://www.virtuozzo.com/application-platform-docs/container-types/" target="_blank">Docker</a> containers only:
843843
- `dockerName` *[optional]* - name and tag of Docker image
844844
- `registryUrl` *[optional]* - custom Docker registry
845845
- `registryUser` *[optional]* - Docker registry username
@@ -870,7 +870,7 @@ setNodeDisplayName [nodeId, nodeGroup, nodeType]: string
870870
where:
871871

872872
- `nodeId`, `nodeGroup`, `nodeType` - parameters that determine target containers for the action execution (at least one of these parameters is required)
873-
- `string` - node’s display name (i.e. <a href="https://docs.jelastic.com/environment-aliases" target="_blank">alias</a>)
873+
- `string` - node’s display name (i.e. <a href="https://www.virtuozzo.com/application-platform-docs/environment-aliases/" target="_blank">alias</a>)
874874

875875
The action `setNodeDisplayName` has the default parameter called **displayName**. It is useful to set display name for few node layers in the same `action`. For example:
876876
@@@
@@ -1419,11 +1419,11 @@ script [cp, 12345]: |
14191419
```
14201420
@@!
14211421

1422-
The `script` action provides an ability to execute Jelastic API in custom scripts. Therefore, it is easy to manage Jelastic environments by `scripts`.
1423-
There are [ready-to-go solutions](/samples/#complex-ready-to-go-solutions) certified by Jelastic team.
1422+
The `script` action provides an ability to execute Virtuozzo PaaS API in custom scripts. Therefore, it is easy to manage Virtuozzo PaaS environments by `scripts`.
1423+
There are [ready-to-go solutions](/samples/#complex-ready-to-go-solutions) certified by Virtuozzo PaaS team.
14241424

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

14281428
### setGlobals
14291429

@@ -1924,7 +1924,7 @@ where:
19241924
- `jps` - URL to your custom JPS manifest
19251925
- `settings` - user custom parameters
19261926

1927-
The `nodeGroup` [filtering](../selecting-containers/#selector-types) can be applied to the `install` action in order to carry out addon installation on different [layers](https://docs.jelastic.com/paas-components-definition#layer) within one environment.
1927+
The `nodeGroup` [filtering](../selecting-containers/#selector-types) can be applied to the `install` action in order to carry out addon installation on different [layers](https://www.virtuozzo.com/application-platform-docs/paas-components-definition/#layer) within one environment.
19281928

19291929
@@@
19301930
```yaml
@@ -2392,7 +2392,7 @@ onInstall:
23922392

23932393
where:
23942394

2395-
- `region` - hardware node's [region](https://docs.jelastic.com/environment-regions)
2395+
- `region` - hardware node's [region](https://www.virtuozzo.com/application-platform-docs/environment-regions/)
23962396
- `envName` - short domain name of a new environment
23972397
- `name` - JPS name
23982398
- `nodes` - nodes description
@@ -2448,7 +2448,7 @@ where:
24482448

24492449
- `id` - identifier of a custom add-on
24502450

2451-
You can locate the installed add-ons within the **Add-ons** tab at the Jelastic dashboard.
2451+
You can locate the installed add-ons within the **Add-ons** tab at the Virtuozzo PaaS dashboard.
24522452

24532453
![new-addon](/img/new-addon.png)
24542454

@@ -2527,7 +2527,7 @@ onInstall:
25272527
```
25282528
@@!
25292529

2530-
The result window also returns the compute node's unique identifier at Jelastic Platform.
2530+
The result window also returns the compute node's unique identifier at Virtuozzo PaaS Platform.
25312531
![returnNodeId](/img/returnNodeId.jpg)
25322532

25332533
If the action returns an object, a response code can be redefined. So the *message* or *result* code parameters are required in the *return* object. Herewith, a zero (0) *result* code is not passed to the response code.

0 commit comments

Comments
 (0)