Certification Project Artifact#
Contains the logs from the preflight test results from operator pipelines project
content | Base64EncodedString required
Base64 encoded the cert project artifact content.
content_type | String required
The content type associated with the content type.
filename | String required
The file name associated with the content test results.
file_size | Int64 required
File size in bytes.
cert_project | ObjectID read-only
Cert Project Identifier.
version | String
Content version.
operator_package_name | String
The operator package name of the cert project artifact.
certification_hash | String
The cert project hashed content.
image_id | ObjectID
Identifier of container image collection.
pull_request_url | URI
URL to the Github pull request associated with with cert project.
_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.
org_id | Integer read-only
Red Hat Org ID / account_id from Red Hat SSO. Also corresponds to company_org_id in Red Hat Connect.
cert_project | RESTGetCertProjectById
URI to this certification project.
container_image | RESTGetImage
URI to the container image being tagged.
cert_project_1_filename_1_org_id_1
- Fields
cert_project: ASCfilename: ASCorg_id: ASC
- Description
- Index for certProjectArtifacts based on the cert_project, filename and org_id fields
image_id_1
- Fields
image_id: ASC
- Description
- Index for certProjectArtifact based on the image_id field
edges.cert_project | Certification Project
Edge to related certification project.
Parent arguments: [‘cert_project’]
Uses GQL query: get_certification_project
Example queries
{
get_cert_project_artifact(id: "6304c560cbb2b2d2d4053b8e") {
error {
detail
status
}
data {
_id
edges {
cert_project {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
{
get_cert_project_artifacts(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 {
cert_project {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
{
get_certification_artifacts_by_image_id(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 {
cert_project {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
edges.container_image | Container Image
Edge to related container image.
Parent arguments: [‘image_id’]
Uses GQL query: get_image
Example queries
{
get_cert_project_artifact(id: "6304c560cbb2b2d2d4053b8e") {
error {
detail
status
}
data {
_id
edges {
container_image {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
{
get_cert_project_artifacts(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 {
container_image {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
{
get_certification_artifacts_by_image_id(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 {
container_image {
error {
status
detail
}
data {
_id
}
}
}
}
}
}