INTERFACE

RepositoryEndpoint

Represents an endpoint that can be used access one or more repositories. Eg. gitlab.eng.vmware.com Example providers (gitlab, github). Concrete implementation would also add other details like credentials to this as applicable.

link GraphQL Schema definition

  • interface RepositoryEndpoint {
  • # CSP user who created Assessment
  • createdBy: User!
  • # Timestamp at which Assessment is created. Expressed in UTC ISO-8601 format
  • creationTime: DateTime!
  • # Project scoping for this endpoint
  • cspProjectEntity: [Entity!]
  • # Global opaque identifier to meet Node contract
  • id: ID!
  • # Repository endpoint name
  • name: String!
  • # Repositories associated with this repository endpoint
  • #
  • # 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
  • # filter: [Not documented]
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # repositoryId: Optionally filter by repository ids
  • # repositoryName: Optionally filter by repository name, this
  • # shall support wildcards
  • # sort: Sort by one or more attributes, default sort : Sort by
  • # creationTime descending
  • queryRepositories(
  • after: String,
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • repositoryId: [String!],
  • repositoryName: [String!],
  • sort: [QuerySort!]
  • ): RepositoryConnection!
  • # Domain-specific repository endpoint instance identifier
  • repositoryEndpointId: String!
  • # Repository endpoint url
  • repositoryEndpointUrl: String!
  • }