Red Hat Training

A Red Hat training course is available for Red Hat Fuse

4.3. Application Views

SwitchYard contributes a page to the Runtime Operations section of the JBoss EAP Management Console, which provides views detailing various aspects of SwitchYard applications running on the system. These views may be accessed by clicking Runtime > Runtime Operations > SwitchYard.
Note
For Domain mode, select the server by clicking the Change Server button.
The following views are provided:
  • Applications: lists all SwitchYard applications deployed on the server
    For each application there is an Application Details panel. This panel contains information for each deployed SwitchYard application, and will show the details when the application is selected in the Applications list.
  • Services: lists all Services provided by the applications deployed on the server
  • References: lists all service References used by applications deployed on the server
  • Artifacts: lists all artifacts referenced by applications deployed on the server

Figure 4.3. JBoss EAP Management Console Runtime Operations page

Screenshot of EAP 6.0 Runtime Operations SwitchYard page

4.3.1. Applications

The main Applications tab displays all the applications deployed on the server. Select an application from the list to populate the Application Details section below. The following details are provided:

Table 4.1. JBoss EAP Management Console operations available for SwitchYard Applications page

Operation Name Function
Services
Services provided by the application. Select a service to open the Services tab which will display details for the service.
References
References used by the application. Select a reference to open the References tab which will display details for the reference.
Properties
Properties defined in the application. The properties may also be edited within this view.
Artifacts
Artifacts referenced by the application. Select an artifact to open the main Artifacts tab, which displays details for the artifact
Transformers
Transformers configured in the application.
Validators
Validators configured in the application.
The Services tab displays information about the services provided by the application. This information includes the services provided by the application and the component services used to implement the services.

Table 4.2. SwitchYard Applications page, Services Tab, Services Table.

Operation Name Function
Name
The name of the component service
Promoted Service
The name of the component service providing the implementation for the service.
Select an item in the Name column of the Services table to open the main Services tab, which displays details for that service.
When you select an item in the Promoted Service column, the corresponding item in the Component Services table is highlighted. The Component Services table displays the component services defined in the application. This table provides the following details:

Table 4.3. SwitchYard Applications page, Services Tab, Component Services Table.

Operation Name Function
Name
The name of the component service
Interface
The name of the component service providing the implementation for the service.
Implementation
Provides a link for viewing the implementation details of the component
Click on the View Details... button in the Implementation column to open a pop-up detailing the component's implementation. The Implementation Details dialog provides the following information:
  • The technology used to implement the component (For example, Camel).
  • A list of references required by the component.
  • The raw configuration for the implementation.
The References tab lists all the composite references used by the application.
The Properties tab provides a list of properties defined in the application. In addition to viewing the properties, use this page to update the values for individual properties.
The Artifacts tab provides information about the artifacts referenced by the application and is comprised of a table providing the following details:

Table 4.4. SwitchYard Applications page, Artifacts Tab, Artifact References Table.

Operation Name Function
Name
The name of the referenced artifact
URL
The location of the artifact.
The Transformers tab provides details about the transformers deployed by the application, providing the following details:

Table 4.5. SwitchYard Applications page, Transformers Tab

Operation Name Function
From
The from type supported by the transformer.
To
The to type supported by the transformer.
Type
The implementation technology used by the transformer (For example Java and XSLT).
The Validators tab provides details about the validators deployed by the application, providing the following details:

Table 4.6. SwitchYard Applications page, Validators Tab

Operation Name Function
Name
The name of the validator.
Type
The type of the validator.

4.3.2. Services

The main Services tab contains the Services table, which displays all services provided by the deployed applications. Select a service to populate the Service Details section below the list. The Services table shows:

Table 4.7. JBoss EAP Management Console operations available for SwitchYard Services page

Operation Name Function
Name
The service name
Target Namespace
The namespace that the service is defined in.
The Service Details section shows the following details for the service selected in the Services table:

Table 4.8. SwitchYard Services page, Service Details section

Operation Name Function
Name
The service name
Target Namespace
The namespace that the service is defined in.
Application
The application providing the service (this links to the main Applications tab)
Interface
The interface provided by the service.
Promoted Service
The component service implementing the service
Gateways
Lists the gateways providing access to the service
Throttling
Throttling configuration for the service
The Gateways tab in the details section provides the following information for each of the gateways provided for the service:

Table 4.9. SwitchYard Services page, Service Details section, Gateways Tab

Operation Name Function
Name
The name pf the gateway.
Type
The type of the gateway (For example, SOAP and HornetQ)
Status
The status of the gateway (For example, started, stopped)
Start/Stop
Click the button to start or stop the gateway.
Configuration
The component service implementing the service
Gateways
Click the View Configuration... button to open a dialog that displays the raw configuration for the gateway
The Throttling tab in the details section allows the user to view throttling details for the service.

Table 4.10. SwitchYard Services page, Service Details section, Throttling Tab

Operation Name Function
Edit
Switch to edit mode, allowing the user to change the throttling configuration.
Enable
Enable/disable throttling for the service
Status
The status of the gateway (For example, started, stopped)
Start/Stop
Click the button to start or stop the gateway.
Maximum Requests
The maximum number of requests per period before throttling occurs
Time Period
The time period over which requests are counted (cannot be edited)

4.3.3. References

The main References tab displays all service references used by the deployed applications. Select a reference from the References table to populate the Reference Details section. The References table contains:

Table 4.11. JBoss EAP Management Console operations available for SwitchYard References page

Operation Name Function
Name
The name of the reference
Namespace
The namespace that the reference is defined in.
The Reference Details contain:

Table 4.12. SwitchYard References page, Reference Details section

Operation Name Function
Name
The name of the reference
Namespace
The namespace that the reference is defined in.
Application
The application containing the reference (this links to the main Applications tab)
Interface
The interface provided by the reference.
The Gateways section provides the following information for each of the gateways configured for the reference:

Table 4.13. SwitchYard References page, Gateways table

Operation Name Function
Name
The name of the gateway
Type
The type of the gateway (For example, SOAP, HornetQ)
Status
The status of the gateway (For example, started, stopped)
Start/Stop
Click the button to start or stop the gateway
Configuration
Click the View Configuration... button to open a dialog displaying the raw configuration for the gateway

4.3.4. Artifacts

The main Artifacts tab displays all artifacts referenced by applications deployed to the system. Selecting a specific artifact reference will populate the Applications Using Artifact table. Selecting an application in the applications table will navigate to the main Applications tab.