Certification Project#

Contain Certification project data.

name | String required

String parameters

min_length | 1 max_length | 255

The owner provided name of the certification project.

org_id | Integer required read-only

Red Hat Org ID / account_id from Red Hat SSO. Also corresponds to company_org_id in Red Hat Connect.

project_status | String required

String parameters

enum active | archived

Status of the certification project.

type | String required

String parameters

enum Containers | Helm Chart | OpenShift-cnf | OpenStack-infra-container | OpenStack-infra-noncontainer | OpenStack-vnf | OpenStack-app-container | RHEL

Certification project type.

certification_date | DateTime nullableread-only

Value is derived from last_update_date field during when the certification project is published. Before it or if project is again unpublished, the value is null.

certification_level | String nullableread-only

String parameters

enum Certified | Vendor validated

The certification project can be certified on several levels. This field determines whether the content was certified by ISV partner who followed official Red Hat certification, or by vendor validation.

certification_status | String

String parameters

enum Started | Certification Checklist In Progress | Certification Completed | Certification Tests In Progress | In Progress | Published | Ready For Certification | Unpublished | Waiting for Container Image

Certification Status.

certification_user | Integer nullableread-only

Certification User.

contacts | List[CertProjectContacts]

Contacts for certification project.

container | CertProjectContainer

helm_chart | CertProjectHelmChart

Configuration specific to Helm Chart projects.

marketplace | CertProjectMarketplace

non_container | CertProjectNonContainer read-only

operator_distribution | String

String parameters

enum connect | marketplace | undistributed

Operator Distribution.

openstack | CertProjectOpenStack

Configuration specific to OpenStack projects.

product_listings | List[ObjectID] read-only

Unique identifier for the product listing.

published_by | String nullableread-only

String parameters

enum Red Hat | Partner

Who published the certification project.

redhat | CertProjectRedhat nullable

self_certification | CertProjectSelfCertification nullableread-only

badges | List[String] nullable

List parameters

max_items | 1 enum: cni | csi | cnf | vnf

Special certifications specific to the certification platform

_id | ObjectID read-only

MongoDB unique _id

creation_date | DateTime read-only

The date when the entry was created. Value is created automatically on creation.

last_update_date | DateTime read-only

The date when the entry was last updated.

created_on_behalf_of | String nullable

SSO username from the JWT - who created the entry or null if no JWT.

updated_on_behalf_of | String nullable

SSO username from the JWT - who updated the entry or null if no JWT.

vendor | RESTGetVendorByOrgId

URI to this project’s owner.

container.isv_pid_1

Fields
  • container.isv_pid: ASC

Parameters
  • unique: True

  • sparse: True

Description
This unique index is used to find certification project by isv_pid.

CertProject.unique_container.repository_name_and_org_id

Fields
  • container.repository_name: ASC

  • org_id: ASC

Parameters
  • unique: True

  • partialFilterExpression: {"project_status": {"$eq": "active"}, "container.repository_name": {"$type": "string"}, "org_id": {"$type": "int"}}

Description
This unique index is used to find certification project by container.repository_name and org_id.

certProject_helm_chart.chart_name_org_id

Fields
  • org_id: ASC

  • helm_chart.chart_name: ASC

Parameters
  • partialFilterExpression: {"project_status": {"$eq": "active"}, "helm_chart.chart_name": {"$exists": true}}

Description
This unique index is used to find certification project by helm_chart.chart_name and org_id.

certProject_helm_chart.chart_name

Fields
  • helm_chart.chart_name: ASC

Parameters
  • unique: True

  • partialFilterExpression: {"project_status": {"$eq": "active"}, "helm_chart.chart_name": {"$exists": true}}

Description
This index is used to ensure global uniqueness in helm_chart.chart_name

certProject_org_id_product_listings_project_status_type

Fields
  • org_id: ASC

  • product_listings: ASC

  • project_status: ASC

  • type: ASC

Description
This unique index is used to find certification project by org_id, product_listings, project_status and type.

certProject_project_status_certification_status

Fields
  • project_status: ASC

  • certification_status: ASC

Description
This unique index is used to find certification project by project_status and certification_status.

certProject_container.registry_credentials.username_creation_date

Fields
  • container.registry_credentials.username: ASC

  • creation_date: DESC

Description
This unique index is used to find certification project by container.registry_credentials.username and creation_date.

certProject_container.repository_container.registry

Fields
  • container.repository: ASC

  • container.registry: ASC

Description
This unique index is used to find certification project by container.repository and container.registry.

certProject_last_updated_by_last_update_date_type

Fields
  • last_updated_by: ASC

  • last_update_date: DESC

  • type: ASC

Description
This unique index is used to find certification project by last_updated_by, last_update_date and type.

edges.vendor | Container Vendor

Edge to related vendor.

Parent arguments: [‘org_id’]

Uses GQL query: get_vendor_by_org_id

Example queries
{
    get_repository_project_certification_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                vendor {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    find_vendor_certification_projects_by_org_id(org_id: 42, sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            edges {
                vendor {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_certification_project(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                vendor {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_certification_project_by_pid(pid: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                vendor {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    find_product_listing_certification_projects(id: "6304c560cbb2b2d2d4053b8e", sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            edges {
                vendor {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}

edges.product_listings | List[Product Listing]

Product listings associated with the certification project.

Parent arguments: [‘_id’]

Uses GQL query: find_certification_projects_product_listings

Example queries
{
    get_repository_project_certification_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    find_vendor_certification_projects_by_org_id(org_id: 42, sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            edges {
                product_listings {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_certification_project(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_certification_project_by_pid(pid: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    find_product_listing_certification_projects(id: "6304c560cbb2b2d2d4053b8e", sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            edges {
                product_listings {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}

edges.images | List[Container Image]

Images associated with the certification project.

Parent arguments: [‘_id’]

Uses GQL query: find_certification_projects_images

Example queries
{
    get_repository_project_certification_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                images {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    find_vendor_certification_projects_by_org_id(org_id: 42, sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            edges {
                images {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_certification_project(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                images {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_certification_project_by_pid(pid: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                images {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    find_product_listing_certification_projects(id: "6304c560cbb2b2d2d4053b8e", sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            edges {
                images {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}

container.edges.repository | Container Repository

Edge to a related repository.

Parent arguments: [‘registry’, ‘repository’]

Uses GQL query: get_repository_by_registry_path

Example queries
{
    get_repository_project_certification_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            container {
                edges {
                    repository {
                        error {
                            status
                            detail
                        }
                        data {
                            _id
                        }
                    }
                }
            }
        }
    }
}
{
    find_vendor_certification_projects_by_org_id(org_id: 42, sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            container {
                edges {
                    repository {
                        error {
                            status
                            detail
                        }
                        data {
                            _id
                        }
                    }
                }
            }
        }
    }
}
{
    get_certification_project(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            container {
                edges {
                    repository {
                        error {
                            status
                            detail
                        }
                        data {
                            _id
                        }
                    }
                }
            }
        }
    }
}
{
    get_certification_project_by_pid(pid: "example") {
        error {
            detail
            status
        }
        data {
            _id
            container {
                edges {
                    repository {
                        error {
                            status
                            detail
                        }
                        data {
                            _id
                        }
                    }
                }
            }
        }
    }
}
{
    find_product_listing_certification_projects(id: "6304c560cbb2b2d2d4053b8e", sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
        error {
            detail
            status
        }
        total # omit for better performance
        page_size
        page
        data {
            _id
            container {
                edges {
                    repository {
                        error {
                            status
                            detail
                        }
                        data {
                            _id
                        }
                    }
                }
            }
        }
    }
}