OBJECT

SpringArtifactRepository

Repository can be a git repository or just folder structure where source code is present. User will be generating the SBOM or library libraryDependency file from the source code repository.

link GraphQL Schema definition

  • type SpringArtifactRepository implements Node, Repository {
  • # It shows whether is continouse monitoring is enabled on this repository
  • continuousMonitor: Boolean
  • # Timestamp at which Assessment is created. Expressed in UTC ISO-8601 format
  • creationTime: DateTime!
  • # Repository endpoint for this repository
  • endpoint: SpringArtifactRepositoryEndpoint!
  • # Global opaque identifier to meet Node contract
  • id: ID!
  • # latest SpringArtifactMetadataVersion based on the last creation time
  • latestArtifactMetadataVersion: SpringArtifactMetadataVersion
  • # latest repository version based on committed timestamp
  • latestVersion: SpringArtifactRepositoryVersion
  • # Name of repository
  • # Eg. for https://gitlab.eng.vmware.com/cmbu/guardrails-service , We can have name
  • # as guardrails-service
  • name: String!
  • # repository project/sub directory/module path
  • # Eg. for https://gitlab.eng.vmware.com/cmbu/guardrails-service , path will be
  • # cmbu/guardrails-service
  • path: String!
  • # Unique identifier for the Repository
  • repositoryId: String!
  • # Repository Status
  • repositoryStatus: SpringArtifactRepositoryStatus!
  • # repositoryVersions associated with this repository
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # branch: Optionally filter by repository branch
  • # filter: [Not documented]
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # repositoryVersionId: Optionally filter by repository version
  • # ids
  • # sort: Sort by one or more attributes, default sort : Sort by
  • # creationTime descending
  • repositoryVersions(
  • after: String,
  • before: String,
  • branch: [String!],
  • filter: QueryFilter,
  • first: Int,
  • repositoryVersionId: [String!],
  • sort: [QuerySort!]
  • ): SpringArtifactRepositoryVersionConnection!
  • }