Skip to content

Commit ea9db9c

Browse files
Removing the option of APM in edit stack (#349)
Currently when editing a stack the option to "Enable Application Performance Monitoring" is presented. The decision is made to hide the option while editing the stack. In this MR, we will be making changes to the terraform to present the option of APM only during the creation of stack. Testing - a.) Created the stack with APM enabled. Verified that the APM agent is added on all the servers and its being monitored by APM from dashboard. b.) Scaled up the nodes and verified that the APM agent was installed on the newly added server and that is being shown in the APM dashboard for monitoring. c.) Verified from the UI that the checkbox of APM is being disabled in the edit stack screen
1 parent aadcaa4 commit ea9db9c

File tree

4 files changed

+65
-37
lines changed

4 files changed

+65
-37
lines changed

terraform/schema.yaml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,12 +2440,15 @@ variables:
24402440
default: false
24412441
title: "Enable Application Performance Monitoring"
24422442
description: "Enable Application Performance Monitoring for WebLogic instances, which is required for automatic scaling of the stack. If you automatically scale the stack, you must not unselect the Enable Application Performance Monitoring option when editing the stack."
2443+
visible: ${orm_create_mode}
24432444

24442445
apm_domain_compartment_id:
24452446
visible:
2446-
-or:
2447-
- ${use_apm_service}
2448-
- ${use_autoscaling}
2447+
and:
2448+
- ${orm_create_mode}
2449+
- or:
2450+
- ${use_apm_service}
2451+
- ${use_autoscaling}
24492452
type: oci:identity:compartment:id
24502453
title: "Application Performance Monitoring Domain Compartment"
24512454
description: "The compartment where you have the Application Performance Monitoring domain to be used by this WebLogic instance"
@@ -2454,9 +2457,11 @@ variables:
24542457

24552458
apm_domain_id:
24562459
visible:
2457-
-or:
2458-
- ${use_apm_service}
2459-
- ${use_autoscaling}
2460+
and:
2461+
- ${orm_create_mode}
2462+
- or:
2463+
- ${use_apm_service}
2464+
- ${use_autoscaling}
24602465
type: oci:apm:domain:id
24612466
title: "Application Performance Monitoring Domain"
24622467
description: "The Application Performance Monitoring domain used by this WebLogic instance"
@@ -2466,9 +2471,11 @@ variables:
24662471

24672472
apm_private_data_key_name:
24682473
visible:
2469-
-or:
2470-
- ${use_apm_service}
2471-
- ${use_autoscaling}
2474+
and:
2475+
- ${orm_create_mode}
2476+
- or:
2477+
- ${use_apm_service}
2478+
- ${use_autoscaling}
24722479
type: string
24732480
title: "Application Performance Monitoring Private Data Key Name"
24742481
description: "The name of the private data key used by this WebLogic instance to push metrics to the Application Performance Monitoring domain"

terraform/schema_14110.yaml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,12 +1977,15 @@ variables:
19771977
default: false
19781978
title: "Enable Application Performance Monitoring"
19791979
description: "Enable Application Performance Monitoring for WebLogic instances, which is required for automatic scaling of the stack. If you automatically scale the stack, you must not unselect the Enable Application Performance Monitoring option when editing the stack."
1980+
visible: ${orm_create_mode}
19801981

19811982
apm_domain_compartment_id:
19821983
visible:
1983-
-or:
1984-
- ${use_apm_service}
1985-
- ${use_autoscaling}
1984+
and:
1985+
- ${orm_create_mode}
1986+
- or:
1987+
- ${use_apm_service}
1988+
- ${use_autoscaling}
19861989
type: oci:identity:compartment:id
19871990
title: "Application Performance Monitoring Domain Compartment"
19881991
description: "The compartment where you have the Application Performance Monitoring domain to be used by this WebLogic instance"
@@ -1991,9 +1994,11 @@ variables:
19911994

19921995
apm_domain_id:
19931996
visible:
1994-
-or:
1995-
- ${use_apm_service}
1996-
- ${use_autoscaling}
1997+
and:
1998+
- ${orm_create_mode}
1999+
- or:
2000+
- ${use_apm_service}
2001+
- ${use_autoscaling}
19972002
type: oci:apm:domain:id
19982003
title: "Application Performance Monitoring Domain"
19992004
description: "The Application Performance Monitoring domain used by this WebLogic instance"
@@ -2003,9 +2008,11 @@ variables:
20032008

20042009
apm_private_data_key_name:
20052010
visible:
2006-
-or:
2007-
- ${use_apm_service}
2008-
- ${use_autoscaling}
2011+
and:
2012+
- ${orm_create_mode}
2013+
- or:
2014+
- ${use_apm_service}
2015+
- ${use_autoscaling}
20092016
type: string
20102017
title: "Application Performance Monitoring Private Data Key Name"
20112018
description: "The name of the private data key used by this WebLogic instance to push metrics to the Application Performance Monitoring domain"

terraform/schema_14120.yaml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,12 +2449,15 @@ variables:
24492449
default: false
24502450
title: "Enable Application Performance Monitoring"
24512451
description: "Enable Application Performance Monitoring for WebLogic instances, which is required for automatic scaling of the stack. If you automatically scale the stack, you must not unselect the Enable Application Performance Monitoring option when editing the stack."
2452+
visible: ${orm_create_mode}
24522453

24532454
apm_domain_compartment_id:
24542455
visible:
2455-
-or:
2456-
- ${use_apm_service}
2457-
- ${use_autoscaling}
2456+
and:
2457+
- ${orm_create_mode}
2458+
- or:
2459+
- ${use_apm_service}
2460+
- ${use_autoscaling}
24582461
type: oci:identity:compartment:id
24592462
title: "Application Performance Monitoring Domain Compartment"
24602463
description: "The compartment where you have the Application Performance Monitoring domain to be used by this WebLogic instance"
@@ -2463,9 +2466,11 @@ variables:
24632466

24642467
apm_domain_id:
24652468
visible:
2466-
-or:
2467-
- ${use_apm_service}
2468-
- ${use_autoscaling}
2469+
and:
2470+
- ${orm_create_mode}
2471+
- or:
2472+
- ${use_apm_service}
2473+
- ${use_autoscaling}
24692474
type: oci:apm:domain:id
24702475
title: "Application Performance Monitoring Domain"
24712476
description: "The Application Performance Monitoring domain used by this WebLogic instance"
@@ -2475,9 +2480,11 @@ variables:
24752480

24762481
apm_private_data_key_name:
24772482
visible:
2478-
-or:
2479-
- ${use_apm_service}
2480-
- ${use_autoscaling}
2483+
and:
2484+
- ${orm_create_mode}
2485+
- or:
2486+
- ${use_apm_service}
2487+
- ${use_autoscaling}
24812488
type: string
24822489
title: "Application Performance Monitoring Private Data Key Name"
24832490
description: "The name of the private data key used by this WebLogic instance to push metrics to the Application Performance Monitoring domain"

terraform/schema_15110.yaml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,12 +1977,15 @@ variables:
19771977
default: false
19781978
title: "Enable Application Performance Monitoring"
19791979
description: "Enable Application Performance Monitoring for WebLogic instances, which is required for automatic scaling of the stack. If you automatically scale the stack, you must not unselect the Enable Application Performance Monitoring option when editing the stack."
1980-
1980+
visible: ${orm_create_mode}
1981+
19811982
apm_domain_compartment_id:
19821983
visible:
1983-
-or:
1984-
- ${use_apm_service}
1985-
- ${use_autoscaling}
1984+
and:
1985+
- ${orm_create_mode}
1986+
- or:
1987+
- ${use_apm_service}
1988+
- ${use_autoscaling}
19861989
type: oci:identity:compartment:id
19871990
title: "Application Performance Monitoring Domain Compartment"
19881991
description: "The compartment where you have the Application Performance Monitoring domain to be used by this WebLogic instance"
@@ -1991,9 +1994,11 @@ variables:
19911994

19921995
apm_domain_id:
19931996
visible:
1994-
-or:
1995-
- ${use_apm_service}
1996-
- ${use_autoscaling}
1997+
and:
1998+
- ${orm_create_mode}
1999+
- or:
2000+
- ${use_apm_service}
2001+
- ${use_autoscaling}
19972002
type: oci:apm:domain:id
19982003
title: "Application Performance Monitoring Domain"
19992004
description: "The Application Performance Monitoring domain used by this WebLogic instance"
@@ -2003,9 +2008,11 @@ variables:
20032008

20042009
apm_private_data_key_name:
20052010
visible:
2006-
-or:
2007-
- ${use_apm_service}
2008-
- ${use_autoscaling}
2011+
and:
2012+
- ${orm_create_mode}
2013+
- or:
2014+
- ${use_apm_service}
2015+
- ${use_autoscaling}
20092016
type: string
20102017
title: "Application Performance Monitoring Private Data Key Name"
20112018
description: "The name of the private data key used by this WebLogic instance to push metrics to the Application Performance Monitoring domain"

0 commit comments

Comments
 (0)