Skip to content

/AWS1/CL_CWSGROUPINGATTRDEFN

Defines how services should be grouped based on specific attributes. This allows logical organization of services in dashboards and service maps.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_groupingname TYPE /AWS1/CWSGROUPINGSTRING /AWS1/CWSGROUPINGSTRING

The name of the grouping attribute, such as "Environment", "Team", or "Application".

Optional arguments:

it_groupingsourcekeys TYPE /AWS1/CL_CWSGRINGSRCKEYSTRLS00=>TT_GROUPINGSOURCEKEYSTRINGLIST TT_GROUPINGSOURCEKEYSTRINGLIST

An array of source attribute keys that will be used to determine the grouping value for each service. These keys correspond to service metadata or tags.

iv_defaultgroupingvalue TYPE /AWS1/CWSGROUPINGSTRING /AWS1/CWSGROUPINGSTRING

The default value to use for grouping when a service doesn't have any of the specified source keys, such as "Unknown" or "Unassigned".


Queryable Attributes

GroupingName

The name of the grouping attribute, such as "Environment", "Team", or "Application".

Accessible with the following methods

Method Description
GET_GROUPINGNAME() Getter for GROUPINGNAME, with configurable default
ASK_GROUPINGNAME() Getter for GROUPINGNAME w/ exceptions if field has no value
HAS_GROUPINGNAME() Determine if GROUPINGNAME has a value

GroupingSourceKeys

An array of source attribute keys that will be used to determine the grouping value for each service. These keys correspond to service metadata or tags.

Accessible with the following methods

Method Description
GET_GROUPINGSOURCEKEYS() Getter for GROUPINGSOURCEKEYS, with configurable default
ASK_GROUPINGSOURCEKEYS() Getter for GROUPINGSOURCEKEYS w/ exceptions if field has no
HAS_GROUPINGSOURCEKEYS() Determine if GROUPINGSOURCEKEYS has a value

DefaultGroupingValue

The default value to use for grouping when a service doesn't have any of the specified source keys, such as "Unknown" or "Unassigned".

Accessible with the following methods

Method Description
GET_DEFAULTGROUPINGVALUE() Getter for DEFAULTGROUPINGVALUE, with configurable default
ASK_DEFAULTGROUPINGVALUE() Getter for DEFAULTGROUPINGVALUE w/ exceptions if field has n
HAS_DEFAULTGROUPINGVALUE() Determine if DEFAULTGROUPINGVALUE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_GROUPINGATTRIBUTEDEFNS

TYPES TT_GROUPINGATTRIBUTEDEFNS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWSGROUPINGATTRDEFN WITH DEFAULT KEY
.