Skip to content

Latest commit

 

History

History
181 lines (116 loc) · 13.8 KB

File metadata and controls

181 lines (116 loc) · 13.8 KB
graph LR
    BitbucketUnifiedClient["BitbucketUnifiedClient"]
    BitbucketBaseComponent["BitbucketBaseComponent"]
    BitbucketCloudBaseComponent["BitbucketCloudBaseComponent"]
    AtlassianRESTAPIClient["AtlassianRESTAPIClient"]
    BitbucketServerGlobalPermissionsManager["BitbucketServerGlobalPermissionsManager"]
    BitbucketServerProjectManagement["BitbucketServerProjectManagement"]
    BitbucketServerCommonPermissionsManager["BitbucketServerCommonPermissionsManager"]
    BitbucketCloudWorkspaceManagement["BitbucketCloudWorkspaceManagement"]
    BitbucketCloudProjectManagement["BitbucketCloudProjectManagement"]
    BitbucketCloudPermissionManagement["BitbucketCloudPermissionManagement"]
    BitbucketCloudMemberManagement["BitbucketCloudMemberManagement"]
    BitbucketCloudCommonDataModels["BitbucketCloudCommonDataModels"]
    BitbucketUnifiedClient -- "inherits from" --> BitbucketBaseComponent
    BitbucketCloudBaseComponent -- "inherits from" --> BitbucketBaseComponent
    BitbucketUnifiedClient -- "uses" --> BitbucketCloudBaseComponent
    BitbucketServerGlobalPermissionsManager -- "inherits from" --> BitbucketBaseComponent
    BitbucketServerProjectManagement -- "inherits from" --> BitbucketBaseComponent
    BitbucketServerCommonPermissionsManager -- "inherits from" --> BitbucketBaseComponent
    BitbucketCloudWorkspaceManagement -- "inherits from" --> BitbucketCloudBaseComponent
    BitbucketCloudProjectManagement -- "inherits from" --> BitbucketCloudBaseComponent
    BitbucketCloudPermissionManagement -- "inherits from" --> BitbucketCloudBaseComponent
    BitbucketCloudMemberManagement -- "inherits from" --> BitbucketCloudBaseComponent
    BitbucketCloudCommonDataModels -- "inherits from" --> BitbucketCloudBaseComponent
    BitbucketBaseComponent -- "uses" --> AtlassianRESTAPIClient
    BitbucketUnifiedClient -- "uses" --> AtlassianRESTAPIClient
    BitbucketUnifiedClient -- "manages" --> BitbucketServerGlobalPermissionsManager
    BitbucketUnifiedClient -- "manages" --> BitbucketServerProjectManagement
    BitbucketUnifiedClient -- "uses" --> BitbucketCloudWorkspaceManagement
    BitbucketCloudBaseComponent -- "uses" --> AtlassianRESTAPIClient
    BitbucketServerGlobalPermissionsManager -- "uses" --> AtlassianRESTAPIClient
    BitbucketServerProjectManagement -- "uses" --> AtlassianRESTAPIClient
    BitbucketServerCommonPermissionsManager -- "uses" --> AtlassianRESTAPIClient
    BitbucketCloudWorkspaceManagement -- "uses" --> AtlassianRESTAPIClient
    BitbucketCloudWorkspaceManagement -- "manages" --> BitbucketCloudProjectManagement
    BitbucketCloudWorkspaceManagement -- "manages" --> BitbucketCloudPermissionManagement
    BitbucketCloudWorkspaceManagement -- "manages" --> BitbucketCloudMemberManagement
    BitbucketCloudProjectManagement -- "uses" --> AtlassianRESTAPIClient
    BitbucketCloudPermissionManagement -- "uses" --> AtlassianRESTAPIClient
    BitbucketCloudMemberManagement -- "uses" --> AtlassianRESTAPIClient
    BitbucketCloudCommonDataModels -- "uses" --> AtlassianRESTAPIClient
Loading

CodeBoardingDemoContact

Component Details

This graph illustrates the architecture of the Bitbucket API Client subsystem, which provides a unified interface for interacting with both Bitbucket Server and Bitbucket Cloud APIs. It details the core client, base components for common and platform-specific functionalities, and specialized managers for global permissions, project management, workspace management, and common data models, all relying on a low-level REST API client for communication.

BitbucketUnifiedClient

Provides a unified interface for interacting with both Bitbucket Server and Bitbucket Cloud APIs, covering functionalities related to projects, repositories, branches, tags, pull requests, webhooks, users, groups, and various administrative and permission management tasks across both Bitbucket platforms.

Related Classes/Methods:

  • atlassian.bitbucket.Bitbucket (full file reference)
  • atlassian.bitbucket.server.Server (full file reference)
  • atlassian.bitbucket.cloud.Cloud (full file reference)

BitbucketBaseComponent

This foundational component provides common functionalities and attributes shared across different Bitbucket API clients, such as data updating, time format checking, and generic paged data retrieval. It serves as a base class for more specific Bitbucket implementations.

Related Classes/Methods:

BitbucketCloudBaseComponent

This component extends the core Bitbucket base functionalities with features specific to the Bitbucket Cloud environment, such as handling cloud-specific links and paged data structures.

Related Classes/Methods:

AtlassianRESTAPIClient

A fundamental utility component responsible for executing all HTTP requests (GET, POST, PUT, DELETE) to Atlassian APIs and handling URL construction. It acts as the low-level communication layer for all higher-level API clients.

Related Classes/Methods:

BitbucketServerGlobalPermissionsManager

Manages global-level permissions for Bitbucket Server, allowing administrators to define and control access rights for users and groups across the entire Bitbucket instance.

Related Classes/Methods:

BitbucketServerProjectManagement

Provides functionalities for managing projects within Bitbucket Server, including operations such as creating, retrieving, updating, and deleting projects, as well as handling project-specific permissions.

Related Classes/Methods:

  • atlassian.bitbucket.server.projects.Projects (full file reference)
  • atlassian.bitbucket.server.projects.Project (full file reference)

BitbucketServerCommonPermissionsManager

Offers a shared set of functionalities for managing permissions in Bitbucket Server, applicable to both projects and repositories, enabling the assignment and revocation of read, write, and administrative access.

Related Classes/Methods:

BitbucketCloudWorkspaceManagement

Manages workspaces in Bitbucket Cloud, providing methods to list, retrieve, and check the existence of workspaces. It also serves as an entry point for managing projects, members, and permissions associated with a specific workspace.

Related Classes/Methods:

  • atlassian.bitbucket.cloud.workspaces.Workspaces (full file reference)
  • atlassian.bitbucket.cloud.workspaces.Workspace (full file reference)

BitbucketCloudProjectManagement

Focuses on project-related operations within Bitbucket Cloud workspaces, allowing for the creation, retrieval, updating, and deletion of projects.

Related Classes/Methods:

BitbucketCloudPermissionManagement

Handles the administration of permissions for Bitbucket Cloud workspaces and repositories, enabling the assignment and management of access rights for users and groups.

Related Classes/Methods:

BitbucketCloudMemberManagement

Manages members within Bitbucket Cloud workspaces, providing functionalities to list and retrieve details of workspace members.

Related Classes/Methods:

BitbucketCloudCommonDataModels

Defines the data structures for common entities in Bitbucket Cloud, such as users, participants in pull requests, build statuses, and comments, facilitating consistent data representation across the API.

Related Classes/Methods: