Skip to content

Commit 77bb3ce

Browse files
himani2411Himani Deshpande
and
Himani Deshpande
authored
Renaming NICE to Amazon DCV (#6573)
Co-authored-by: Himani Deshpande <himanidp@amazon.com>
1 parent a9b92ca commit 77bb3ce

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

cli/src/pcluster/cli/commands/dcv_connect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class DcvConnectCommand(CliCommand):
180180

181181
# CLI
182182
name = "dcv-connect"
183-
help = "Permits connection to the head or login nodes through an interactive session by using NICE DCV."
183+
help = "Permits connection to the head or login nodes through an interactive session by using Amazon DCV."
184184
description = help
185185

186186
def __init__(self, subparsers):

cli/src/pcluster/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class Feature(Enum):
231231
"""
232232

233233
BATCH = "AWS Batch scheduler"
234-
DCV = "NICE DCV"
234+
DCV = "Amazon DCV"
235235
FSX_LUSTRE = "FSx Lustre"
236236
FILE_CACHE = "FileCache"
237237
FSX_ONTAP = "FSx ONTAP"

cli/src/pcluster/templates/cw_dashboard_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def _add_cw_log(self):
689689
],
690690
),
691691
SectionWidgets(
692-
"NICE DCV integration logs",
692+
"Amazon DCV integration logs",
693693
[
694694
self._new_cw_log_widget(
695695
title="dcv-ext-authenticator",

cli/src/pcluster/validators/cluster_validators.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ def _validate(self, instance_type, dcv_enabled, allowed_ips, port, os, architect
10371037
allowed_oses = get_supported_dcv_os(architecture)
10381038
if os not in allowed_oses:
10391039
self._add_failure(
1040-
f"NICE DCV can be used with one of the following operating systems "
1040+
f"Amazon DCV can be used with one of the following operating systems "
10411041
f"when using {architecture} architecture: {allowed_oses}. "
10421042
"Please double check the os configuration.",
10431043
FailureLevel.ERROR,
@@ -1046,7 +1046,7 @@ def _validate(self, instance_type, dcv_enabled, allowed_ips, port, os, architect
10461046
if re.search(r"(micro)|(nano)", instance_type):
10471047
self._add_failure(
10481048
"The packages required for desktop virtualization in the selected instance type '{0}' "
1049-
"may cause instability of the instance. If you want to use NICE DCV it is recommended "
1049+
"may cause instability of the instance. If you want to use Amazon DCV it is recommended "
10501050
"to use an instance type with at least 1.7 GB of memory.".format(instance_type),
10511051
FailureLevel.WARNING,
10521052
)

cli/tests/pcluster/cli/test_dcv_connect/TestDcvConnectCommand/test_helper/pcluster-help.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ usage: pcluster dcv-connect [-h] [--debug] [-r REGION] -n CLUSTER_NAME
33
[--login-node-ip LOGIN_NODE_IP]
44

55
Permits connection to the head or login nodes through an interactive session
6-
by using NICE DCV.
6+
by using Amazon DCV.
77

88
options:
99
-h, --help show this help message and exit

cli/tests/pcluster/cli/test_entrypoint/TestParallelClusterCli/test_helper/pcluster-help.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ COMMANDS:
5050
List Official ParallelCluster AMIs.
5151
configure Start the AWS ParallelCluster configuration.
5252
dcv-connect Permits connection to the head or login nodes through
53-
an interactive session by using NICE DCV.
53+
an interactive session by using Amazon DCV.
5454
export-cluster-logs
5555
Export the logs of the cluster to a local tar.gz
5656
archive by passing through an Amazon S3 Bucket.

cli/tests/pcluster/templates/test_cw_dashboard_builder.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def _verify_head_node_logs_conditions(cluster_config, output_yaml):
210210

211211
# conditional DCV logs
212212
if cluster_config.head_node.dcv and cluster_config.head_node.dcv.enabled:
213-
assert_that(output_yaml).contains("NICE DCV integration logs")
213+
assert_that(output_yaml).contains("Amazon DCV integration logs")
214214
assert_that(output_yaml).contains("dcv-ext-authenticator")
215215
assert_that(output_yaml).contains("dcv-authenticator")
216216
assert_that(output_yaml).contains("dcv-agent")
@@ -219,7 +219,7 @@ def _verify_head_node_logs_conditions(cluster_config, output_yaml):
219219
assert_that(output_yaml).contains("dcv-session-launcher")
220220
assert_that(output_yaml).contains("Xdcv")
221221
else:
222-
assert_that(output_yaml).does_not_contain("NICE DCV integration logs")
222+
assert_that(output_yaml).does_not_contain("Amazon DCV integration logs")
223223

224224
# Conditional System logs
225225
if cluster_config.image.os in ["alinux2", "rhel8"]:

cli/tests/pcluster/validators/test_feature_validators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
(Feature.BATCH, True, None),
2525
(Feature.BATCH, False, "AWS Batch scheduler is not supported in region 'WHATEVER-REGION'"),
2626
(Feature.DCV, True, None),
27-
(Feature.DCV, False, "NICE DCV is not supported in region 'WHATEVER-REGION'"),
27+
(Feature.DCV, False, "Amazon DCV is not supported in region 'WHATEVER-REGION'"),
2828
(Feature.FSX_LUSTRE, True, None),
2929
(Feature.FSX_LUSTRE, False, "FSx Lustre is not supported in region 'WHATEVER-REGION'"),
3030
(Feature.FSX_ONTAP, True, None),

0 commit comments

Comments
 (0)