Reference for DevOps

This guide lists the predefined objects in Resource Analytics for DevOps. You can find information about views, entity relationships, subject areas, and sample queries.

Views

This section provides information about views within Resource Analytics DevOps and their columns, data types, keys, and the referred view and column names. The following views are available:

DevOps Views
NameDescription
DEVOPS_PROJECT_DIM_V This view stores information on DevOps projects.
DEVOPS_REPOSITORY_DIM_V This view stores information on source code repositories.
DEVOPS_CONNECTION_DIM_V This view stores information on connections to external repositories.
DEVOPS_BUILD_PIPELINE_DIM_V This view stores information on build pipelines.
DEVOPS_BUILD_PIPELINE_STAGE_DIM_V This view stores information on build pipeline stages.
DEVOPS_DEPLOY_ARTIFACT_DIM_V This view stores information on deployment artifacts used in pipeline stages.
DEVOPS_DEPLOY_ENVIRONMENT_DIM_V This view stores information on deployment environments.
DEVOPS_DEPLOY_PIPELINE_DIM_V This view stores information on deploy pipelines.
DEVOPS_DEPLOY_STAGE_DIM_V This view stores information on deploy stages in a pipeline.
DEVOPS_DEPLOYMENT_DIM_V This view stores information on deployment executions (pipeline runs).
DEVOPS_TRIGGER_DIM_V This view stores information on triggers for deployment pipelines.
DEVOPS_DEPLOYMENT_FACT_V Fact table for DevOps deployments.

The suffixes in the view names specify the view type:

  • FACT_V: Fact
  • DIM_V: Dimension

Relationship Diagram

This section provides diagrams that define the logical relationship of a fact table with different dimension tables.

The contents of each view and their relationships are listed in the following file: DevOps views.

This diagram shows the relationship of the DevOps fact view with different dimension views.

DEVOPS_DEPLOYMENT_FACT_V
Relationship diagram showing the fact table, DEVOPS_DEPLOYMENT_FACT_V.

Relationships exist among dimensions. Dimensions can be joined directly to each other. These diagrams show the relationship between dimension views.

DEVOPS_BUILD_PIPELINE_DIM_V
Relationship diagram showing the dimension table, DEVOPS_BUILD_PIPELINE_DIM_V.

DEVOPS_DEPLOY_ARTIFACT_DIM_V
Relationship diagram showing the dimension table, DEVOPS_DEPLOY_ARTIFACT_DIM_V.

DEVOPS_DEPLOY_STAGE_DIM_V
Relationship diagram showing the dimension table, DEVOPS_DEPLOY_STAGE_DIM_V.

DEVOPS_DEPLOYMENT_DIM_V
Relationship diagram showing the dimension table, DEVOPS_DEPLOYMENT_DIM_V.

DEVOPS_TRIGGER_DIM_V
Relationship diagram showing the dimension table, DEVOPS_TRIGGER_DIM_V.

Sample Queries

Sample queries for DevOps.

Show the number of stages and artifacts for successful deployments:
SELECT
    DEPLOYMENT_ID,
    PROJECT_ID,
    REPOSITORY_ID,
    LIFECYCLE_STATE,
    DISPLAY_NAME,
    DEPLOY_STAGE_COUNT,
    DEPLOY_ARTIFACT_COUNT
FROM
    OCIRA.DEVOPS_DEPLOYMENT_FACT_V
WHERE
    LIFECYCLE_STATE = 'SUCCEEDED';
List all active projects in a specific compartment:
SELECT
    ID,
    NAME,
    COMPARTMENT_ID,
    LIFECYCLE_STATE,
    TIME_CREATED,
    TIME_UPDATED
FROM
    OCIRA.DEVOPS_PROJECT_DIM_V
WHERE
    COMPARTMENT_ID = '<YOUR_COMPARTMENT_OCID>'   -- replace with the target compartment OCID
    AND LIFECYCLE_STATE = 'ACTIVE';

Data Lineage

The Customer Experience Semantic Model Lineage spreadsheet and Metric Calculation Logic spreadsheet for DevOps provides an end-to-end data lineage summary report for physical and logical relationships in your data.

For more information, see Data Lineage.

Subject Areas

This section provides information on the subject areas with data you maintain in DevOps. These subject areas, with their corresponding data, are available for you to use when creating and editing analyses and reports. The information for each subject area includes:

  • Description of the subject area.

  • Business questions that can be answered by data in the subject area, with a link to more detailed information about each business question.

  • Job-specific groups and duty roles that can be used to secure access to the subject area, with a link to more detailed information about each job role and duty role.

  • Primary navigation to the work area that's represented by the subject area.

  • Time reporting considerations in using the subject area, such as whether the subject area reports historical data or only the current data. Historical reporting refers to reporting on historical transactional data in a subject area. With a few exceptions, all dimensional data are current as of the primary transaction dates or system date.

  • The lowest grain of transactional data in a subject area. The lowest transactional data grain decides how data are joined in a report.

  • Special considerations, tips, and things to look out for in using the subject area to create analyses and reports.

The subject area is: