Services view


This section provides a detailed description of the Services view. This view essentially provides a means for you to configure your organization's IT environment, i.e. define database servers on which you have installed a CAST Analysis/Dashboard Service. You can define as many as you require - i.e. you can manage multi-homed services from one place

Notes

  • By default this view will display database servers and associated services automatically using the information defined during the installation process using CAST Server Manager - see the CAST Installation Guide for more information. However, you can add further database servers using the menus described below.

Key
Indicates a CAST Storage Service
Indicates an Oracle Server
Indicates a Microsoft SQL Server
Indicates a Dashboard Service component
Indicates an Analysis Service component
Indicates a Measurement Service component
Service view shortcut menus

The following shortcut menu items are available in the view:

Database Server component

Edit Use this option to modify the properties of your database server (name, description, RDBMS type, version, host name, port, instance etc.). The Database Server editor will be displayed.
Remove Use this option to delete a database server from your environment.

Please note that any services associated with the database server will also be removed. This will also impact items in your Delivery Unit associated to the services.

Verify This option will carry out a verification check on the selected item. This means that the CAST Management Studio will check that all dependent items are present - for instance a User Defined Module should have one Object Filter and an Application should have an Analysis Service, a Source Code Repository and a Technology).

In addition the validation check will also take into account the external context - for instance, for components that rely on files, a check will be made to ensure that the files exist and are valid (e.g.: Layers and Definition Rules files in the Architecture Model editor).

Results are displayed in the Verification view.

Notes

  • This check-up is similar to the check carried out automatically in the Validation view.
- Connection Test Connection Please see Test connection for more information.
  Services Discover Please see Discover for more information.
- Server Security Change 'operator' password Only for CAST Storage Service components. See Change Operator and Guest passwords.
Change 'guest' password

Dashboard Service component

Edit Use this option to modify the properties of your service. The Dashboard Service editor will be displayed.
Verify Please see Verify for more information.
Synchronize Please see Synchronize for more information.
Cleanup desynchronized applications This option enables you to cleanup any Applications that are no longer referenced in the CAST Management Service (and thus not visible in the Applications view), but which are still referenced in the current Dashboard Service. These Applications will have been deleted at some point in time:

Select the Applications you wish to cleanup and click Finish to remove them.

Remove database lock Use this option to remove any locks that may have been set on the snapshot computation engine on the Dashboard Service.

For example, if the connection between the client and server is lost for whatever reason during the snapshot generation process, then a lock will be set by the server preventing any further snapshot processing (you will see the error message: "Compute Metrics REJECTED: A snapshot is already being processed - the operation requested can not be completed now.").

The option is intended to reset this type of lock so that you can continue processing your snapshots.

- Before using the option, make sure that no connection is currently running a snapshot computation - running two concurrent computations on the same database will produce erratic results.

- In most circumstances, locks will be removed from the server automatically (indeed this is the recommended action), but this process can take a long time. This option is designed to override this automatic unlocking process.

- General Test Connection Please see Test connection for more information.
Portal Open URL Click this option to open the URL defined in the URL field defined in the Dashboard Service editor in your default browser.
Add URL to Measurement Service

The CAST Health Dashboard enables users to access directly the underlying CAST Engineering / Security Dashboard that provides detailed information about the top level data displayed in the CAST Health Dashboard.

If you have deployed the combined "Health / Engineering" WAR file then this URL is configured automatically, however if you have separate standalone deployments of the CAST-Health.war and CAST-Engineering.war files will then access to the CAST Engineering Dashboard (ED) is not implemented automatically and you will need to proceed as follows.

Although you can activate a Measurement Service to store all snapshot data for the current Management Service (see Measurement Service editor), users will not be able to drill down into the underlying CAST Engineering Dashboard unless you specifically add the URL of your CAST Engineering Dashboard into the Measurement Service.

This option allows you to do so. See Dashboard Service editor for more details.

Embedded Web Server Open  Dashboard When clicked, the CAST Management Studio will launch a temporary CAST Engineering / Security Dashboard. This is primarily for validating a Snapshot. The portal is run on a JVM launched by the CAST Management Studio, hence an additional "java.exe" process will be displayed in Windows Task Manager. The JVM is killed when the CAST Management Studio is closed.

Notes

  • When using the option you will be prompted for login credentials > admin/cast (case-sensitive): note that this user has the ADMIN role only.
  • CAST AIP schemas hosted in Microsoft SQL Server environment - please be aware that the CAST Engineering / Security Dashboard will fail to load if you carried out a combined installation in CAST Server Manager using a Trusted connection (i.e. using Windows authentication) and are still using the automatically configured connection profile in the CAST Management Studio.
- Snapshots Take a snapshot for each application Please see Generate a Snapshot for more information.
- Check consistency of snapshot results This option checks the integrity of the data, metrics and results stored on the Dashboard Service:

General Checks

  • Info: Lists the status number for the existing snapshots
  • Info: Lists the status number for the next snapshot
  • Info: Lists the ADG procedures that are not referenced in the metrics
  • Warning: A metric whose name does not match its technology category

Check Objects Consistency

  • Error: Checks that only one CORPORATE object exists
  • Error: Checks the coherence of the technological objects via parent objects
  • Error: Checks the direction of the links - Corporate > System > Application > Module and Organization > Team > Dev > Module

Check Metrics Consistency

  • Error: Checks all references in the metric tree
  • Error: Searches for orphans
  • Warning: Searches for business/technical criteria without any contributions
  • Error: Checks that all the metrics calculate a value
  • Warning: Checks that all the parameters have a value
  • Error: Checks that all the parameter values are defined
  • Warning: Checks that the count operator for a Quality Rule is distinct
  • Error: Checks that UA languages have the necessary configuration
  • Error: Checks that the thresholds are only ascending or descending
  • Error: Checks for the absence of obsolete metric groups (7, 8 and 9)
  • Error: Checks the coherence of the metric execution locations
    Group = 1, 4, 5, 10, 13 > Type = 3
    Group = 2 > Type = 2
  • Warning: For types that equal 0 (deactivated)
  • Error: Metrics without a description in the metric tree
  • Warning: Checks for metrics whose description is identical to the name*
  • Error: Tests the existence of metric procedures (only on the Central Site)
  • Error: Tests that the metric procedures have four NUMBER parameters

Check Results Consistency

  • Error: Checks that all the snapshots are consolidated, except, possibly the last one
  • Warning: Checks for any repetitions in the RESULTS
  • Checks for the Quality Rule 'Total' result impose 'Detail' result
  • Quality Rule: 'Total' result impose 'Grade' result
  • Distribution: 'Category' result impose 'Grade' result
  • Distribution (5.6+): no flat distribution
  • Measure: 'Measure' result impose 'Grade' result
  • Quality Rule non-regression: number of executed Quality Rules
  • Quality Rule: ratio of executed Quality Rules per technology
  • Quality Rule: 'Grade' results for module impose 'Grade' results for containers

Check Status Consistency

  • Checks for the absence of status on deleted snapshots
  • Error: Checks for the absence of repetitions in the STATUS
  • Error: Checks that the status of the object correctly reflects the last change of status
  • Error: Check the consistency of the object IDs

Analysis Service component

Edit Use this option to modify the properties of your service. The Analysis Service editor will be displayed.
Verify Please see Verify for more information.
Synchronize Please see Synchronize for more information.
Upload Source Code for viewing in CAST Dashboard Please see Upload Source Code for viewing in CAST Dashboard for more information.
Remove database lock Use this option to remove any locks that may have been set on the snapshot computation engine on the Analysis Service.

For example, if the connection between the client and server is lost for whatever reason during the snapshot generation process, then a lock will be set by the server preventing any further snapshot processing (you will see the error message: "Compute Metrics REJECTED: A snapshot is already being processed - the operation requested can not be completed now.").

The Remove database lock option is intended to reset this type of lock so that you can continue processing your snapshots.

- Before using the option, make sure that no connection is currently running a snapshot computation - running two concurrent computations on the same database will produce erratic results.

- In most circumstances, locks will be removed from the server automatically (indeed this is the recommended action), but this process can take a long time. This option is designed to override this automatic unlocking process.

Review Dynamic Links Please see Reviewing Dynamic Links.
- General Test Connection Please see Test connection for more information.
Portal Open URL Click this option to open the URL defined in the URL field defined in the Analysis Service editor in your default browser.
- Environment Profile - Manage Please see Using the Environment Profile Manager for more information.
- Import Please see Importing/Exporting Environment Profiles.
- Export

Measurement Service component

Edit Use this option to modify the properties of your service. The Measurement Service editor will be displayed.
- General Test Connection Please see Test connection for more information.

No item selected

Various add buttons Add new Database Server Use these options to add a new Database Server component. A component called My <database server type> will be displayed in the view and the corresponding Database server editor will be displayed enabling you to modify its properties.
Service view buttons

The following buttons are available in the view:

Various add buttons Add > Use this option to add a new Database Server. A component called My <database server type> will then be displayed in the view:

The corresponding Database Server editor will be displayed allowing you to edit the details.

View Menu > Alternative method for accessing toolbar buttons
Minimize > Minimize the entire window
Maximize > Maximize the entire window
See Also

Database Server editor | Dashboard Service editor | Analysis Service editor | Measurement Service editor


CAST Website