• Amy Troschinetz's avatar
    Add API for Group Deployment Frequency · 60dfc259
    Amy Troschinetz authored
    - **ee/changelogs/unreleased/
        group-level-deployment-frequency-api.yml:**
    
    Changelog.
    
    - **doc/api/dora4_group_analytics.md:**
    - **doc/user/group/index.md:**
    - **doc/user/analytics/ci_cd_analytics.md:**
    
    Docs.
    
    - **ee/app/models/license.rb:**
    - **ee/lib/api/analytics/group_deployment_frequency.rb:**
    - **ee/lib/ee/api/api.rb:**
    - **ee/spec/finders/analytics/deployments_finder_spec.rb:**
    
    Add support for groups.
    
    - **ee/spec/policies/group_policy_spec.rb:**
    - **ee/spec/requests/api/analytics/group_deployment_frequency_spec.rb:**
    - **app/finders/deployments_finder.rb:**
    
    **config/feature_flags/development/
      dora4_sorted_group_deployment_frequency.yml:**
    
    New feature flag to gate sorting deployments by finished_at for API
    response at the group scope.
    
    New tests.
    
    - **doc/api/dora4_project_analytics.md:**
    - **doc/api/project_analytics.md:**
    - **doc/user/project/index.md:**
    - **ee/app/helpers/ee/graph_helper.rb:**
    - **ee/app/policies/ee/group_policy.rb:**
    - **ee/app/policies/ee/project_policy.rb:**
    - **ee/lib/api/analytics/project_deployment_frequency.rb:**
    - **ee/spec/frontend/fixtures/analytics/project_analytics.rb:**
    - **ee/spec/helpers/ee/graph_helper_spec.rb:**
    - **ee/spec/policies/project_policy_spec.rb:**
    - **ee/spec/requests/api/analytics/
        project_deployment_frequency_spec.rb:**
    
    Updated name to prevent conflicts.
    
    - **config/feature_flags/development/
        dora4_sorted_group_deployment_frequency.yml:**
    
    New feature flag for potentially slow query.
    
    - **ee/lib/ee/api/entities/analytics/deployment_frequency.rb:**
    
    Updated to add proper datetime formatting.
    
    - **app/models/deployment.rb:**
    - **spec/models/deployment_spec.rb:**
    
    Added support for finished_between and finished_after.
    
    - **ee/app/services/analytics/deployments/frequency/
        aggregate_service.rb:**
    - **ee/spec/services/analytics/deployments/frequency/
        aggregate_service_spec.rb:**
    
    Adds a service to aggregate frequency deployments.
    
    - **locale/gitlab.pot:**
    
    Updated.
    60dfc259
project_analytics.rb 1.99 KB